franckysolo's avatar

Homestead hangs

Homestead hangs after updating vagrant to 2.0.3


host os: Ubuntu 16.04.4 LTS
kernel: 4.4.0-116-generic
Vagrant: 2.0.3
Provider: Virtualbox
Homestead: 5.2.0

Vagrant up load but i can't access to the api page on browser... I have a 504 Gateway Time-out!

Is someone already had this issue?

0 likes
3 replies
franckysolo's avatar

hello thanks for reply

yes i tried lots of things

i have already problem connexion with 2.0.2, response was really slow that why i update vagrant to 2.0.3

my yaml config:

---
ip: "192.168.10.10"
memory: 2048
cpus: 2
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
      # Laravel project
    - map: ~/projects/dev
      to: /home/vagrant/projects
      type: "nfs"
      options:
        linux__nfs_options: ['async','rw','no_subtree_check','all_squash']

    - map: ~/workspace
      to: /home/vagrant/works

      # Vuejs project
    - map: ~/workatom
      to: /home/vagrant/lab

sites:
    - map: phpmyadmin.test
      to: /usr/share/phpmyadmin

    - map: local.dev
      to: /home/vagrant/works

    - map: spiruleyre.test
      to: /home/vagrant/projects/spiruleyre/public
      schedule: true

    - map: test.spiruleyre.test
      to: /home/vagrant/projects/spiruleyre/tests/logs/report

    - map: diabnote.test
      to: /home/vagrant/projects/diabnote/public

    - map: test.diabnote.test
      to: /home/vagrant/projects/diabnote/tests/logs/report

    - map: synope.dev
      to: /home/vagrant/projects/synope/public

    - map: test.synope.dev
      to: /home/vagrant/projects/synope/tests/logs/report

    - map: laravel56.test
      to: /home/vagrant/projects/laravel56/public

    - map: lemarson.test
      to: /home/vagrant/projects/lemarson/public

    - map: wawasurf.test
      to: /home/vagrant/projects/wawasurf/public

    - map: catnat.test
      to: /home/vagrant/projects/catnat/public
      schedule: true

databases:
    - diabnote
    - synope
    - spiruleyre
    - lemarson
    - wawasurf
    - catnat

# blackfire:
#     - id: foo
#       token: bar
#       client-id: foo
#       client-token: bar

ports:
     - send: 1080
       to: 1080
     - send: 10081
       to: 10081
#     - send: 7777
#       to: 777
#       protocol: udp

i have to reboot pc 3 times to get it work slow take time to connect ssh on boot vm take time to load composer update with flag --provision very strange last week everything work fine

franckysolo's avatar
franckysolo
OP
Best Answer
Level 3

re-install virtualbox and homestead seems to solve the problem!

Please or to participate in this conversation.