tl;dr instructions to fix if you run into this. ssh into the vagrant instance, run sudo mkdir -p /vagrant/cache/apt/partial, and then run vagrant reload.
Steps to reproduce:
- start with an old vagrant installation (haven't had time yet to try and reproduce on a new one)
- update mediawiki-vagrant to current master
- run setup.sh
- run vagrant reload
vagrant reload will exit with this message:
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=id -u www-data,gid=getent group www-data | cut -d: -f3 /vagrant/logs /vagrant/logs
mount -t vboxsf -o uid=id -u www-data,gid=id -g www-data /vagrant/logs /vagrant/logs
Running the command manually just yields "mount: Protocol error". Googling suggests that this is caused by virtualbox-guest-dkms not being present (it isn't). Running apt-get install virtualbox-guest-dkms will give this error:
E: Archives directory /vagrant/apt-cache/partial is missing. - Acquire (2: No such file or directory)
After creating the directory, the install and then the mount works, but running vagrant reload again resets to the bad state (virtualbox-guest-dkms not installed, /vagrant/apt-cache/partial missing).