Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Homestead Update 404 Error

I tried updating my Homestead box on from Vagrant and received a 404 error message and I did some searching but not sure what the issue is on why I can update it.

➜  Homestead git:(master) ✗ vagrant box update
==> default: Checking for updates to 'laravel/homestead'
    default: Latest installed version: 2.0.0
    default: Version constraints: >= 0
    default: Provider: virtualbox
There was an error while downloading the metadata for this box.
The error message is shown below:

The requested URL returned error: 404 Not Found
like image 376
user3732216 Avatar asked Feb 07 '18 19:02

user3732216


2 Answers

Open the file ~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead/metadata_url using a text editor and change it's content to https://vagrantcloud.com/laravel/homestead

like image 193
joepferguson Avatar answered Oct 26 '22 07:10

joepferguson


For me, changing the file data didn't solved the problem. I used an extra param in the command.

vagrant box add laravel/homestead https://vagrantcloud.com/laravel/homestead

So the URL was pass in the command

like image 43
EduLopez Avatar answered Oct 26 '22 05:10

EduLopez