Any help would be greatly appreciated. I see the other 502 but they don't seem to fit my issue.
I had an older version 2016 of vagrant and Laravel/Homestead. I uninstalled everything including Vagrant and tried starting from scratch following the directions here:
https://laravel.com/docs/7.x/homestead
Not sure if I did not clearly remove the old Homestead and Vagrant.
I have tried to reinstall three times with minor changes. But every time I get the 502.
Using the latest Vagrant and virtual box
==> homestead: Checking if box 'laravel/homestead' version '9.5.1' is up to date...
I did make these changes to Homestead.yaml (map file is there)
folders:
- map: C:\code
to: /home/vagrant/code
sites:
- map: homestead.test
to: /home/vagrant/code/laravel/public
I added this to my host file
192.168.10.10 homestead.test
I can ping the server and SSH in.
Here's my Vagrant Up
$ vagrant reload --provision
==> homestead: Attempting graceful shutdown of VM...
==> homestead: Checking if box 'laravel/homestead' version '9.5.1' is up to date...
==> homestead: Clearing any previously set forwarded ports...
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
homestead: 80 (guest) => 8000 (host) (adapter 1)
homestead: 443 (guest) => 44300 (host) (adapter 1)
homestead: 3306 (guest) => 33060 (host) (adapter 1)
homestead: 4040 (guest) => 4040 (host) (adapter 1)
homestead: 5432 (guest) => 54320 (host) (adapter 1)
homestead: 8025 (guest) => 8025 (host) (adapter 1)
homestead: 9600 (guest) => 9600 (host) (adapter 1)
homestead: 27017 (guest) => 27017 (host) (adapter 1)
homestead: 22 (guest) => 2222 (host) (adapter 1)
==> homestead: Running 'pre-boot' VM customizations...
==> homestead: Booting VM...
==> homestead: Waiting for machine to boot. This may take a few minutes...
homestead: SSH address: 127.0.0.1:2222
homestead: SSH username: vagrant
homestead: SSH auth method: private key
homestead: Warning: Connection reset. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Connection aborted. Retrying...
homestead: Warning: Connection aborted. Retrying...
==> homestead: Machine booted and ready!
==> homestead: Checking for guest additions in VM...
==> homestead: Setting hostname...
==> homestead: Configuring and enabling network interfaces...
==> homestead: Mounting shared folders...
homestead: /vagrant => C:/Users/Rich/Homestead
homestead: /home/vagrant/code => C:/code
==> homestead: Running provisioner: file...
homestead: C:/Users/Rich/Homestead/aliases => /tmp/bash_aliases
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: mariadb because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: ohmyzsh because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: inline script
homestead: Ignoring feature: webdriver because it is set to false
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/Rich/AppData/Local/Temp/vagrant-shell20200430-21924-j5jgxm.sh
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/Rich/AppData/Local/Temp/vagrant-shell20200430-21924-1nnxe2z.sh
==> homestead: Running provisioner: Creating Certificate: homestead.test (shell)...
homestead: Running: script: Creating Certificate: homestead.test
==> homestead: Running provisioner: Creating Site: homestead.test (shell)...
homestead: Running: script: Creating Site: homestead.test
==> homestead: Running provisioner: shell...
homestead: Running: inline script
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/Rich/AppData/Local/Temp/vagrant-shell20200430-21924-1udyye8.sh
==> homestead: Running provisioner: Checking for old Schedule (shell)...
homestead: Running: script: Checking for old Schedule
==> homestead: Running provisioner: Clear Variables (shell)...
homestead: Running: script: Clear Variables
==> homestead: Running provisioner: Restarting Cron (shell)...
homestead: Running: script: Restarting Cron
==> homestead: Running provisioner: Restart Webserver (shell)...
homestead: Running: script: Restart Webserver
==> homestead: Running provisioner: Creating MySQL Database: homestead (shell)...
homestead: Running: script: Creating MySQL Database: homestead
==> homestead: Running provisioner: Creating Postgres Database: homestead (shell)...
homestead: Running: script: Creating Postgres Database: homestead
==> homestead: Running provisioner: Update Composer (shell)...
homestead: Running: script: Update Composer
homestead: You are already using composer version 1.10.5 (stable channel).
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/Rich/AppData/Local/Temp/vagrant-shell20200430-21924-pye1st.sh
==> homestead: Running provisioner: Update motd (shell)...
homestead: Running: script: Update motd
==> homestead: Running provisioner: shell...
homestead: Running: C:/Users/Rich/AppData/Local/Temp/vagrant-shell20200430-21924-1lgvlw7.sh