What version of the Homestead box do you use? You can see that by running vagrant box list. If you see multiple versions of the same box you might need to remove them to make sure you don't have a conflict!
Can't reach any of my sites.
I can ping any site, but can't reach any of them via curl or a browser. These sites all worked until recently. I think an update to the box caused the issue, but I've tried:
vagrant box remove laravel/homestead then: vagrant box add laravel/homestead and then:
Chriss-MacBook-Pro:Homestead myusername$ vagrant reload --provision ==> default: Attempting graceful shutdown of VM... ==> default: Checking if box 'laravel/homestead' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 80 (guest) => 8000 (host) (adapter 1) default: 443 (guest) => 44300 (host) (adapter 1) default: 3306 (guest) => 33060 (host) (adapter 1) default: 5432 (guest) => 54320 (host) (adapter 1) default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: Warning: Connection reset. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Connection reset. Retrying... default: Warning: Remote connection disconnect. Retrying... default: Warning: Connection reset. Retrying... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... default: The guest additions on this VM do not match the installed version of default: VirtualBox! In most cases this is fine, but in rare cases it can default: prevent things such as shared folders from working properly. If you see default: shared folder errors, please make sure the guest additions within the default: virtual machine match the version of VirtualBox you have installed on default: your host and reload your VM. default: default: Guest Additions Version: 5.0.18_Ubuntu r106667 default: VirtualBox Version: 5.2 ==> default: Setting hostname... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => /Users/myusername/Homestead default: /home/vagrant/bands => /Users/myusername/Homestead/bands default: /home/vagrant/Code/rlp => /Applications/MAMP/htdocs default: /home/vagrant/Code/dems => /Users/myusername/Homestead/dems default: /home/vagrant/Code/epos => /Users/myusername/epos default: /home/vagrant/Code/ltrp => /Users/myusername/Homestead/ltrp default: /home/vagrant/Code/mypi => /Users/myusername/mypi default: /home/vagrant/Code/mag1 => /Users/myusername/Homestead/mag1 default: /home/vagrant/Code/isbn => /Users/myusername/Homestead/isbn default: /home/vagrant/Code/testing => /Users/myusername/testing default: /home/vagrant/Code/tangelo2 => /Users/myusername/Homestead/tangelo2 default: /home/vagrant/Code/campaign => /Users/myusername/Homestead/campaign default: /home/vagrant/Code/testsymfony => /Users/myusername/Homestead/testsymfony default: /home/vagrant/Code/straightphp => /Users/myusername/Homestead/straightphp default: /home/vagrant/Code/adamswp_diverted => /Users/myusername/Homestead/adamswp ==> default: Running provisioner: file... ==> default: Running provisioner: shell... default: Running: inline script ==> default: Running provisioner: shell... default: Running: inline script ==> default: Running provisioner: shell... default: Running: inline script default: Failed to restart php5-fpm.service: Unit php5-fpm.service not found. The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong.
Chriss-MacBook-Pro:Homestead username$ ping straightphp.test PING straightphp.test (192.168.10.10): 56 data bytes 64 bytes from 192.168.10.10: icmp_seq=0 ttl=64 time=0.314 ms 64 bytes from 192.168.10.10: icmp_seq=1 ttl=64 time=0.280 ms 64 bytes from 192.168.10.10: icmp_seq=2 ttl=64 time=0.301 ms ^C --- straightphp.test ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.280/0.298/0.314/0.014 ms Chriss-MacBook-Pro:Homestead username$ curl straightphp.test 502 Bad Gateway
502 Bad Gateway
nginx/1.13.6If the box requires php5, why doesn't it have it? Why aren't the sites responding?
Please or to participate in this conversation.