Chassis / MailHog

Catch all the emails WordPress sends while you're developing using Chassis!
6 stars 3 forks source link

Doesn't provision #7

Closed paulgibbs closed 6 years ago

paulgibbs commented 6 years ago
iMac:chassis paulgibbs$ vagrant up --provision
Cloning into '/Users/paulgibbs/Sites/scca/chassis/extensions/MailHog'...
Vagrant hasn't been able to verify your usage of 'vagrant-vmware-fusion' in
over two weeks. Please connect to the internet to allow Vagrant to verify
your license. If you don't verify the license within 4 to 6 weeks, you will
be locked out.
remote: Counting objects: 76, done.
remote: Total 76 (delta 0), reused 0 (delta 0), pack-reused 76
Receiving objects: 100% (76/76), 9.45 KiB | 9.45 MiB/s, done.
Resolving deltas: 100% (15/15), done.
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'bento/ubuntu-16.04' is up to date...
==> default: There was a problem while downloading the metadata for your box
==> default: to check for updates. This is not an error, since it is usually due
==> default: to temporary network problems. This is just a warning. The problem
==> default: encountered was:
==> default:
==> default: Illegal characters found in URL
==> default:
==> default: If you want to check for box updates, verify your network connection
==> default: is valid and try again.
==> 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: 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: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /chassis => /Users/paulgibbs/Sites/scca
    default: /vagrant => /Users/paulgibbs/Sites/scca/chassis
==> default: Detected mount owner ID within mount options. (uid: 1000 guestpath: /vagrant)
==> default: Detected mount group ID within mount options. (gid: 1000 guestpath: /vagrant)
    default: /var/log/php => /Users/paulgibbs/Sites/scca/chassis/logs/php
==> default: Detected mount owner ID within mount options. (uid: 1000 guestpath: /var/log/php)
==> default: Detected mount group ID within mount options. (gid: 1000 guestpath: /var/log/php)
    default: /var/log/nginx => /Users/paulgibbs/Sites/scca/chassis/logs/nginx
==> default: Detected mount owner ID within mount options. (uid: 1000 guestpath: /var/log/nginx)
==> default: Detected mount group ID within mount options. (gid: 1000 guestpath: /var/log/nginx)
    default: /tmp/vagrant-puppet/manifests-846018e2aa141a5eb79a64b4015fc5f3 => /Users/paulgibbs/Sites/scca/chassis/puppet/manifests
==> default: Running provisioner: shell...
    default: Running: /var/folders/tr/1zvk31cs3_bds22b4gbwfdc40000gn/T/vagrant-shell20180301-4081-w0ceii.sh
==> default: Running provisioner: puppet...
==> default: Running Puppet with development.pp...
==> default: Notice: Compiled catalog for scca.local in environment production in 5.15 seconds
==> default: Error: Could not find dependency Class[Sennza::Php] for Class[Mailcatcher::Php] at /vagrant/extensions/mailcatcher/chassis.pp:4
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.
BronsonQuick commented 6 years ago

Looking at the output you've got both mailcatcher and mailhog extensions trying to be installed. If you delete the mailcatcher folder and/or config and run vagrant provision it should provision correctly with Mailhog and everything should be all good.

We deprecated Mailcatcher https://github.com/Chassis/mailcatcher#this-extension-is-now-deprecated-and-no-longer-maintained-please-use-our-mailhog-extension-instead.

Feel free to open this issue if I'm incorrect about you trying to install both the extensions. Thanks!