Support the ongoing development of Laravel.io →
Installation Configuration Packages
Last updated 2 years ago.
0

Get the versions from https://atlas.hashicorp.com/laravel/boxes/homestead

most current is 0.2.6, then change out the version part of this path to the download.

https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.2.6/providers/virtualbox.box

Then to add to vagrant,

vagrant box add laravel/homestead (path to downloaded file)

wabualela liked this reply

1

Thanks @TerrePorter you saved many of us!

0

An error occurred while downloading the remote file. The error message, if any, is reproduced below. Please fix this error and try again. http://prntscr.com/9qnjxr

0

Hi guys,

Getting error while adding the box with the above steps, I have downloaded the file and trying to use following commad:

    vagrant box add laravel/homestead Downloads/hc-download  
    ==> box: Box file was not detected as metadata. Adding it directly...  
    ==> box: Adding box 'laravel/homestead' (v0) for provider:   
    box: Unpacking necessary files from: file:///Users/yogesh/Downloads/hc-download  
    The box failed to unpackage properly. Please verify that the box  
    file you're trying to add is not corrupted and try again. The  
    output from attempting to unpackage (if any):  

    x ./box-disk1.vmdk: gzip decompression failed  
    bsdtar: Error exit delayed from previous errors.

Please help me to resolve.

Last updated 8 years ago.
0

It sounds like the .box file didnt download correctly.

Yo u can open it 7zip, it should contain one file named homestead. It might be a good idea to check and make sure it downloaded ok.

0

Yes I tested in 7zip, it gives data error, I think I need to download it again.

Thanks @TerrePorter

0

You can download homestead box by following this link:

// You can change the version if there is an updated one.

https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box

You'll get a file named hc-download just rename it to something like virtualbox.box or whatever you want after the download.

NOTE: Don't forget the .box extension.

After that, you can now add homestead box to vagrant like this:

// You can change the DRIVE: to C or D or whatever Drive you store the box
// Same for the YOURUSERNAME and YOURBOX.BOX

vagrant box add laravel/homestead file:///DRIVE:/Users/YOURUSERNAME/Downloads/YOURBOX.BOX

After that, you create a file called metadata_url

NOTE: There is no extension for metadata_url

Then add this link and save the file

https://atlas.hashicorp.com/laravel/homestead

Copy metadata_url file to:

.vagrant.d\boxes\laravel-VAGRANTSLASH-homestead

Then rename the folder named 0 to the version of the homestead box you just added in this case 0.5.0

DONE!

Last updated 8 years ago.
0

Thanks @yaeykay. It work like charm :O

0

@Stpham You're welcome I just get that information to my friend.

https://gist.github.com/idecardo/deec25b8fa54976edb496d7ce7d320a7

Last updated 8 years ago.
0

The metadat_url was causing so much problem for me. The box was getting re downloaded after offline installation. Thanks to @yaeykay for mentioning that step. It saved me at the end of the day. I have covered my frustration with virtualbox and the manual installation Here : https://abbasharoon.me/laravel-homestead-windows-extremely-easy/ in hope to save others.

Last updated 8 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

hayahay hayahay Joined 3 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.