Vagrant 在升级后停止同步文件夹
Vagrant stopped synching folders after upgrades
我最近将 Vagrant 升级到 1.8.4 并将 VirtualBox 升级到 5.0.22(不确定是否相关)但是 Vagrant 停止同步我的文件夹。我尝试降级并销毁并重新创建盒子,但问题仍然存在。
当我 运行 vagrant rsync-auto
我得到以下响应:
There are no paths to watch! This is either because you have no
synced folders using rsync, or any rsync synced folders you have
have specified `rsync_auto` to be false.
这是我的 config.yml:
...
vagrant_synced_folders:
# The first synced folder will be used for the default Drupal installation, if
# build_makefile: is 'true'.
- local_path: ~/vagrant/xmd8/www
destination: /var/www
type: nfs
create: true
...
我在 vag运行t 盒子上降级到 Vag运行t 1.8.1 和 运行 vagrant reload
并解决了我的问题。
我相信我在 Vag运行t 上尝试过 vagrant reload
到 1.8.4,但我可能错了。
我曾经使用过 1.9.3(我认为)并且 rsync-auto 工作,但是一些本机同步不适用于从 Windows 移植的代码库。所以我们不得不为此使用 rsync。
我最近尝试了 1.9.7,但 rsync-auto 不再有效,本机同步仍然无效。
1.8.6 为来自 windows 的代码库提供了正常运行的本机 vagrant 同步。这是我们尝试过的唯一一个真正适用于特定代码库的版本(本机同步且不必使用 rsync)
添加这个以最终帮助某人(当我的计算机再次崩溃并且我需要设置另一个新计算机时,这可能是未来的我)。
我最近将 Vagrant 升级到 1.8.4 并将 VirtualBox 升级到 5.0.22(不确定是否相关)但是 Vagrant 停止同步我的文件夹。我尝试降级并销毁并重新创建盒子,但问题仍然存在。
当我 运行 vagrant rsync-auto
我得到以下响应:
There are no paths to watch! This is either because you have no
synced folders using rsync, or any rsync synced folders you have
have specified `rsync_auto` to be false.
这是我的 config.yml:
...
vagrant_synced_folders:
# The first synced folder will be used for the default Drupal installation, if
# build_makefile: is 'true'.
- local_path: ~/vagrant/xmd8/www
destination: /var/www
type: nfs
create: true
...
我在 vag运行t 盒子上降级到 Vag运行t 1.8.1 和 运行 vagrant reload
并解决了我的问题。
我相信我在 Vag运行t 上尝试过 vagrant reload
到 1.8.4,但我可能错了。
我曾经使用过 1.9.3(我认为)并且 rsync-auto 工作,但是一些本机同步不适用于从 Windows 移植的代码库。所以我们不得不为此使用 rsync。
我最近尝试了 1.9.7,但 rsync-auto 不再有效,本机同步仍然无效。
1.8.6 为来自 windows 的代码库提供了正常运行的本机 vagrant 同步。这是我们尝试过的唯一一个真正适用于特定代码库的版本(本机同步且不必使用 rsync)
添加这个以最终帮助某人(当我的计算机再次崩溃并且我需要设置另一个新计算机时,这可能是未来的我)。