New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSH command responded with a non-zero exit status #1090
Comments
Possibly a bad box download? Not sure. This is a very nonspecific error. Try removing the box and add it again? Anyone else able to replicate? I'm not able to:
|
This is happening for me as well, but using Linux for the host OS. |
Looks like it could possibly be related to the vagrant-vbguest plugin judging from this issue: dotless-de/vagrant-vbguest#278 |
Can you confirm removing the plugin resolves the issue? |
Yes, removing the plugin resolves the issue for me. |
Thanks! @yabasha can you confirm removing the plugin resolves the issue for you as well? |
I had this issue last night. I had to downgrade to VirtualBox 5.2.28, but I did not have to uninstall For context, I'm running Homestead v8.3.1 and Vagrant v2.2.4, both of which are at the time of writing the most recent releases for each tool. My host is Windows 10 1709 (v10.0.16299). Per @gadkrumholz from dotless-de/vagrant-vbguest#278:
|
IMHO removing the Vagrant plugin is a better option than downgrading VirtualBox. |
My memory of last night's debugging is foggy, but I thought the core issue was with |
@svpernova09 Per the log you shared above, it looks like your
Apologies if I'm off-base here, but I'm guessing that if you try to upgrade your Guest Additions manually, you may run into the same issue. Might be a good litmus test to see if |
@svpernova09 yes by removing the plugin it resolved the issue for me too. Thanx, |
I've always been under the impression that if you have to upgrade guest tools in your VM you're "doing something wrong". I often ran into this when running the same VM instance for long periods of time. An example here would be the VM that I keep on my MacOS system that runs Windows (And MacOS), these systems are never rebuilt from scratch like vagrant boxes are. Over time I'd expect to have to update the guest additions to these VMs. For Vagrant, the end user shouldn't have to ever be concerned about guest additions because we ship new base boxes near monthly. Which means we should rarely run into a situation where we're shipping "Stale" images. The reason we're still using 5.x extensions is that our upstream image provider (https://github.com/chef/bento) still uses 5. We made the jump to VirtualBox 6 once we had the all-clear from several users who were guinea pigs to upgrade VirtualBox. All of that to say you shouldn't need to upgrade the guest additions in Homestead. If you want to, you might run into unintended issues or conflicts like this. My advice to Homestead users is to not mess with VirtualBox extensions unless you're running into hard errors that are easily attributed to guest versions. |
@svpernova09 Thank you for the advice! This is good to know moving forward. |
With Windows guests, a popup is shown if the guest additions detect an available upgrade. So at least, there, the upstream developers want users to keep them in sync. However, it was only in much earlier versions of VirtualBox that I've seen serious issues with version mismatches. The 5.x extensions continue to work fine for me on 6.x, at least for Vagrant / headless use. Does it make sense to add a "troubleshooting" section to the docs? There's some bits of advice here that seem like they could be surfaced. |
There is PR for the issue here: dotless-de/vagrant-vbguest#334 |
Roll your VirtualBox back to 6.0.4... I just have the same exact "setup" failure, tried everything from expunging all plugins, to reloading and provisioning 10 times... |
Versions
Host operating system
Windows 10 x64
Homestead.yaml
Vagrant destroy & up output
link to a GitHub Gist containing the complete output of
vagrant destroy && vagrant up
.Expected behavior
What should have happened? After cloning the repo (homestead: https://github.com/laravel/homestead.git) and run
vagrant up
afterinit.bat
it works fine, and runvagrant halt
as normal; but when runvagrant up
after the first time it produce the following error:Actual behavior
What actually happened? clone the repo for a new local project and run
vagrant up
Steps to reproduce
References
Are there any other GitHub issues (open or closed) that should be linked here?
For example:
More info
I am using homestead since
version 4
for all of my local projects, but this issue happened after yesterday update.The text was updated successfully, but these errors were encountered: