-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Homestead Box Settler v13.0.0 can't be detected/found by Vagrant Box Add or Update #1907
Comments
Can you try this command to add a box...
|
@JustinRR the command works, any idea how we can fix this when running |
@JustinRR FYI, after running
too weird, well the password is still the same but still |
@ducconit apparently, it's still the same with vagrant version 2.3.7 though. any other ideas as to why that's the issue? |
You're talking about which error? Homestead not found? Well, I noticed the error was due to Vagrant's API v2 not finding information about the box. I encountered this issue when using Vagrant version 2.4.x. I reinstalled Vagrant 2.3.x, and the error disappeared. The approach JustinRR mentioned is to specify the exact path to retrieve Homestead information. Still an issue with entering the password. I believe the SSH key hasn't been added to the Vagrant box, so you're required to enter a password to log in. By adding the public key to the authorized_keys, you may not need to enter a password anymore. |
@ducconit already done it, double checked the keys and everything else. even setup openssh manually like any other ubuntu servers on the cloud, it's having issue I can't seem to figure it out, I even checked the firewalls and ports too. also when you said |
Sorry, a typing error. It's 2.4.x and 2.3.x. I fixed it. |
@ducconit sorry I just destroyed the box, will try again with a clean slate maybe that would fix things, but there's something I noticed when I tried to ssh into the vm when I tried to run this maybe you would encounter this issue also if you would try if I still get the same errors, I'll downgrade to |
Also encountered this, installed Vagrant v2.4.0 - had the password prompt when trying ssh in. Plus had PHP Bad Gateway issues. What worked for me:
Everything is working normally, no PHP Gateway issues and no password prompts with ssh |
@andrewvink I forgot to mention, I had the same issue with
pretty sure there's more issue we haven't found with I also did what you did just a few hours ago, everything is back to normal with |
@svpernova09 hey Joe, maybe you can give me a hint or a guide on where to look for these issues? I would be willing to patch it up for others, but I don't know where to look regarding this issues |
I've figured out the reason for being prompted for a password when using vagrant ssh. Starting from version 2.3.8, Vagrant will use a different private_key, so what we need to do is replace the private_key of Homestead in the path/to/homestead/.vagrant\machines\homestead\virtualbox directory. Please replace it with the private_key here and reload Homestead. I've tried it, and it works on |
@ducconit I don't know what keys to copy, I'm assuming it's all with the how about the |
Vagrant changing the private key will be fixed with a new base box release. I've been preparing for a new base box to be released later this month once PHP 8.3 has been released to the PPA. |
A way around the vagrant key being incorrect in the base box would be to point this configuration in your
|
@svpernova09 oh man, thank you for this good news. do let me know if you need any help on upgrading certain packages, or things or testing. I would be happy to help in any way. cheers |
I've confirmed Vagrant 2.4.0 |
You are right. |
Please note that the Homestead issue tracker is reserved for bug reports and enhancements. We are not always able to debug Vagrant, Provider or Operating System issues, but will do our best to help. Thank you!
Versions
Host operating system
Windows 11 fully updated
Vagrant destroy & up output
vagrant up output - https://gist.github.com/skeeith/4a1232f4e1a9e79daed3365cec553b82
Expected behavior
What should have happened? Please include as much detail as possible.
Vagrant should be able to find laravel/homestead box v13.0.0
Actual behavior
What actually happened? Please include as much detail as possible.
Steps to reproduce
vagrant up
References
Is it me or
laravel/homestead
box versionv13.0.0
does not supportVirtual Box
provider? I found this changes here onVagrant file
laravel/settler@v12.2.0...v13.0.0 fromvirtualbox
toparallels
Other information
I tried running
vagrant box update
, this also has this output, it can't findv13.0.0
The text was updated successfully, but these errors were encountered: