-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Missing '-b 20.04' in Homestead installation guide #109
Comments
Q: Adjusting the Short A: Looks like the UF install directions for Homestead are generally outdated. Long A:
I'm not a dev on any of these projects, so I'm not 100% sure on the best solution @notjoshjames Did the non-20.04 VM cause actual issues setting up UF, or did it just waste time because of the unexpected software/versions? (I remember having to jump through hoops and do extra research to get UF running from scratch last time I tried. That was only my second UF install, and I don't recall the details now 😦 Some of my difficulties were because I'm noob at DevOps, but possibly the 20.04 branch would have made following the directions easier.) |
For Laravel Homestead, end-users should be using the If you want to offer Homestead as a foundation, pick a major version and know that version will always be a specific Ubuntu LTS: IE Homestead repo version 13.x will always be Ubuntu 20.04. Soon™️Homestead 14.x will be released supporting Ubuntu 22.04. If you want to target a specific LTS this should give you enough information to plan your upgrades. Note: I don't go back and rebuild old base boxes. Eventually, things like mirrors and certificates will become outdated and ultimately will be unusable. If you'd like more info using/abusing Homestead feel free to join the Laravel DIscord (https://discord.gg/mPZNm7A) and say hello in the |
@StrykeSlammerII The real answer is probably somewhere in between. Homestead box moves faster than UF does. So best solution would indeed to "fix" UF integration, but at the same time chose a (newer) stable box and stick to it as @svpernova09 suggested. In any case, PR are welcomed to fix this :) |
@StrykeSlammerII you're right, seems like there's a lot of other improvements needed in the Homestead section. I ran into separate issues with both VMs; I loosely remember three separate challenges:
I'm <2 weeks into UserFrosting, and I'm afraid I didn't take detailed notes to reproduce as after sinking a few hours into this and Lando, I opted to just spin up a VPS so I can take control of the Apache config. From my perspective, I think the skeleton of the Homestead docs is good, but there may be a number of dependencies affecting its accuracy. I'll check on this in a few weeks when I'm more familiar with the codebase and have a few hours to spare. Thanks for the input, everyone. |
That's a PHP 8.1 "feature" (https://stackoverflow.com/a/71133750/445757). PHP Version should be fixed to 8.0 short term. |
In the Get Started section, the user is directed to clone the Homestead repository with the following command:
git clone https://github.com/laravel/homestead.git vagrant/Homestead
However, this does not match the command in the vagrant/README.md which is:
git clone https://github.com/laravel/homestead.git vagrant/Homestead -b 20.04
The critical difference is the latter option is using -b to specify the specific branch, 20.04. This results in an entirely different virtual machine.
I originally used the clone command in the Learn documentation, and just spent an hour trying to identify why PHP and other dependencies differed from what was specified. This should be updated!
The text was updated successfully, but these errors were encountered: