mohatt / dashbrew

Vagrant build for developing PHP projects on different PHP versions and configurations
492 stars 38 forks source link

SSH Command failed #48

Closed Karklik closed 8 years ago

Karklik commented 8 years ago

Win7 Ultimate x64 gitbash

$ vagrant reload

This is ended with:

==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'mdkholy/dashbrew' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Remote connection disconnect. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.3.18
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /var/www => F:/work/vagrant/dashbrew/public
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

chown `id -u vagrant`:`id -g vagrant` /var/www

Stdout from the command:

Stderr from the command:

stdin: is not a tty
chown: changing ownership of ‘/var/www’: Not a directory
frdmn commented 8 years ago

Which Vagrant version do you use?

Karklik commented 8 years ago

1.8.1

frdmn commented 8 years ago

I just found this:

https://github.com/mitchellh/vagrant/issues/5933#issuecomment-183902459

Karklik commented 8 years ago

Thank you.

frdmn commented 8 years ago

You're welcome. Please don't hesitate to let us know how you've fixed this issue (if you did so), in case other people might run into the same problem in the future. :)

Karklik commented 8 years ago

I updated VirtualBox to version 5.0.14