mohatt / dashbrew

Vagrant build for developing PHP projects on different PHP versions and configurations
490 stars 38 forks source link

Cannot access dashboard. #47

Closed tskorupka closed 8 years ago

tskorupka commented 8 years ago

MacOSX El Capitan 10.11.3

Tomaszs-MacBook-Pro:dashbrew tomaszskorupka$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'mdkholy/dashbrew'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'mdkholy/dashbrew' is up to date...
==> default: Setting the name of the VM: dashbrew_default_1455662612565_76584
==> 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: 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:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> 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: 4.3.18
    default: VirtualBox Version: 5.0
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /var/www => /Users/tomaszskorupka/Work/vagrant/dashbrew/public
    default: /vagrant => /Users/tomaszskorupka/Work/vagrant/dashbrew
==> default: Running provisioner: shell...
    default: Running: /var/folders/xp/4jt5wwms0zg_0zrqhqj3nx080000gn/T/vagrant-shell20160216-2836-gyegpq.sh
==> default: stdin: is not a tty
==> default: [Info] An update patch is available for your box. Updating...
==> default: [Info] Update patch has been applied successfully
==> default: [Info] Provisioning without environment.yaml config file
==> default: [Info] Removing config file '/vagrant/config/home/.zcompdump'
==> default: [Info] Removing config file '/vagrant/config/home/.zcompdump-dashbrew-5.0.2'
==> default: [Info] Removing config file '/vagrant/config/home/.zsh-update'
==> default: [Info] Removing config file '/vagrant/config/home/.zsh_history'
==> default: [Info] Finding projects
==> default: [Info] Writing apache vhost file for 'local.dev'
==> default: [Info] Writing apache ssl vhost file for 'local.dev'
==> default: [Info] Writing apache vhost file for 'monit.dev'
==> default: [Info] Writing apache vhost file for 'phpmyadmin.dev'
==> default: [Info] Writing apache vhost file for 'mailcatcher.dev'
==> default: [Info] Writing apache vhost file for 'dashbrew.dev'
==> default: [Info] Writing apache ssl vhost file for 'dashbrew.dev'
==> default: [Info] Restarting services
==> default: [Info] Finished in 4.99s
frdmn commented 8 years ago

Can you give me the output of:

$ ping dashbrew.dev
$ curl -IL dashbrew.dev
tskorupka commented 8 years ago
Tomaszs-MacBook-Pro:~ tomaszskorupka$ ping dashbrew.dev
PING dashbrew.dev (127.0.53.53): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Request timeout for icmp_seq 4
Request timeout for icmp_seq 5
Request timeout for icmp_seq 6
Request timeout for icmp_seq 7
Request timeout for icmp_seq 8
Request timeout for icmp_seq 9
Request timeout for icmp_seq 10
^C
--- dashbrew.dev ping statistics ---
12 packets transmitted, 0 packets received, 100.0% packet loss
tskorupka commented 8 years ago
Tomaszs-MacBook-Pro:~ tomaszskorupka$ curl -IL dashbrew.dev

Provides no output for 1 min.

frdmn commented 8 years ago

Looks like the vagrant-hosts-provisioner is not installed, thus Dashbrew didn't setup your /etc/hosts file.

try:

$ vagrant plugin install vagrant-hosts-provisioner
$ vagrant provision
tskorupka commented 8 years ago

Works perfectly without

vagrant provision

Just used vagrant up

frdmn commented 8 years ago

Great :)

Please close this issue if it is resolved now.

tskorupka commented 8 years ago

Thank you :)