Tips
Vagrant troubleshooting
Vagrant can be a hard tool, especially when it doesn't want to start. To make working with Vagrant a little easier, we prepared some tips:
- Make sure you have the Vagrant plugin to always load the latest guest additions:
- Vagrant plugin install vagrant-vbguest
- On Windows make sure you have the NFS plugin for speed:
- Vagrant plugin install vagrant-winnfdsd
- On Windows switching boxes might give you in trouble with winnfsd, especially when you forget to halt a box. To solve this problem halt all your boxes and kill winnfsd.exe in the task manager (details tab).
- Windows defender wants to be sure you are safe, but this has a major performance impact for Vagrant. Go to your Windows Defender settings, and exclude the VBoxHeadless.exe and winnfsd.exe processes.
- If you keep having problems:
- Make sure you use the latest Virtualbox version
- Make sure you use the latest Vagrant version
- Run: vagrant plugin update
- Reboot your system
- Destroy your box, and run it again
- When using a default Symfony installation (instead of the Integrated one) firephp and chromephp are enabled in the default config_dev.yml. You need to remove them if you want to use the integrated-puphpet package, otherwise your pages will not load in dev mode (this seems to be because of too much header data).
- If your Vagrant won't boot in Windows 10 your VirtualBox Host-Only Network might be corrupt. Fix it by going to your network connections (click the start button and start typing "network con.."). Right click the VirtualBox Host-Only Network adapter and choose Properties. "VirtualBox NDIS6 Bridget Networking Driver" is unchecked. Check it again to solve the problem.