Thanks for helping out.
However, even when using 1.8.12 it hits a “brick wall” at the installation of dependencies.
This time I only have composer
and johnpbloch
folders in vendor
.
I’m thinking that it might be Trellis-related, rather than Bedrock…but I don’t know where to look.
I ran this install clean, I destroyed the previous box and made a new one. Still same result.
Here’s the output:
PS D:\websites\goodfriends.website\trellis> vagrant up
Bringing machine ‘default’ up with ‘virtualbox’ provider…
==> default: Importing base box ‘bento/ubuntu-16.04’…
==> default: Matching MAC address for NAT networking…
==> default: Checking if box ‘bento/ubuntu-16.04’ is up to date…
==> default: Setting the name of the VM: demo.tld
==> 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] GuestAdditions versions on your host (5.2.22) and guest (5.2.18) do not match.
Reading package lists…
Building dependency tree…
Reading state information…
dkms is already the newest version (2.2.0.3-2ubuntu11.5).
The following NEW packages will be installed:
linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.7 MB of archives.
After this operation, 78.2 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-116 all 4.4.0-116.140 [9,922 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-headers-4.4.0-116-generic amd64 4.4.0-116.140 [774 kB]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 10.7 MB in 12s (840 kB/s)
Selecting previously unselected package linux-headers-4.4.0-116.
(Reading database … 38378 files and directories currently installed.)
Preparing to unpack …/linux-headers-4.4.0-116_4.4.0-116.140_all.deb …
Unpacking linux-headers-4.4.0-116 (4.4.0-116.140) …
Selecting previously unselected package linux-headers-4.4.0-116-generic.
Preparing to unpack …/linux-headers-4.4.0-116-generic_4.4.0-116.140_amd64.deb …
Unpacking linux-headers-4.4.0-116-generic (4.4.0-116.140) …
Setting up linux-headers-4.4.0-116 (4.4.0-116.140) …
Setting up linux-headers-4.4.0-116-generic (4.4.0-116.140) …
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/dkms 4.4.0-116-generic /boot/vmlinuz-4.4.0-116-generic
Copy iso file C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso into the box /tmp/VBoxGuestAdditions.iso
Mounting Virtualbox Guest Additions ISO to: /mnt
mount: /dev/loop0 is write-protected, mounting read-only
Installing Virtualbox Guest Additions 5.2.22 - guest version is 5.2.18
Verifying archive integrity… All good.
Uncompressing VirtualBox 5.2.22 Guest Additions for Linux…
VirtualBox Guest Additions installer
Removing installed version 5.2.18 of VirtualBox Guest Additions…
Copying additional installer modules …
Installing additional modules …
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. This may take a while.
update-initramfs: Generating /boot/initrd.img-4.4.0-116-generic
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
An error occurred during installation of VirtualBox Guest Additions 5.2.22. Some functionality may not work as intended.
In most cases it is OK that the “Window System drivers” installation failed.
Unmounting Virtualbox Guest Additions ISO from: /mnt
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims: 5.2.18
VBoxService inside the vm claims: 5.2.22
Going on, assuming VBoxService is correct…
Got different reports about installed GuestAdditions version:
Virtualbox on your host claims: 5.2.18
VBoxService inside the vm claims: 5.2.22
Going on, assuming VBoxService is correct…
==> default: Checking for guest additions in VM…
==> default: [vagrant-hostsupdater] Checking for host entries
==> default: [vagrant-hostsupdater] Skipping adding host entries (config.vm.network hostsupdater: “skip” is set)
==> default: Setting hostname…
==> default: Configuring and enabling network interfaces…
==> default: Automatic installation for Landrush IP not enabled
==> default: Exporting NFS shared folders…
==> default: Preparing to edit nfs mounting file.
[NFS] Status: halted
[NFS] Start: started
==> default: Mounting NFS shared folders…
==> default: Mounting shared folders…
default: /vagrant => D:/websites/goodfriends.website/trellis
==> default: Checking for bindfs in VM…
default: Package manager detected: apt-get
default: Fuse kernel module is installed
default: Fuse kernel module is loaded
==> default: Bindfs seems to not be installed on the virtual machine, installing now
default: Bindfs 1.12.6 is installed
==> default: Machine is ready to use bindfs!
==> default: Creating bind mounts after synced_folders…
default: /vagrant-nfs-demo => /srv/www/demo/current
default: /ansible-nfs => /home/vagrant/trellis
default: /home/vagrant/trellis/bin => /home/vagrant/trellis/bin
==> default: [vagrant-hostmanager:guests] Updating hosts file on active guest virtual machines…
==> default: [vagrant-hostmanager:host] Updating hosts file on your workstation (password may be required)…
==> default: Running provisioner: ansible_local…
default: Installing Ansible…
default: Installing pip… (for Ansible installation)
default: Running ansible-galaxy…
PLAY [WordPress Server: Install LEMP Stack with PHP 7.2 and MariaDB MySQL] *****
TASK [Gathering Facts] *********************************************************
ok: [default]
TASK [common : Load wordpress_sites.yml vars into _sites vars] ************
skipping: [default] => (item=development)
TASK [common : Fail if there are duplicate site keys within host’s wordpress_sites] ***
TASK [common : Validate wordpress_sites] ***************************************
skipping: [default]
TASK [common : Validate format of site_hosts] **********************************
skipping: [default] => (item=demo)
TASK [common : Verify dict format for apt package component variables] *********
skipping: [default]
TASK [common : Verify dict format for apt package combined variables] **********
skipping: [default]
TASK [common : Validate Ubuntu version] ****************************************
skipping: [default]
TASK [common : Check whether passlib is needed] ********************************
skipping: [default]
TASK [common : Retrieve local SSH client’s settings per host] ******************
ok: [default]
TASK [common : Validate compatible settings between SSH client and server] *****
ok: [default] => {
“changed”: false,
“msg”: “All assertions passed”
}
TASK [common : Checking essentials] ********************************************
changed: [default] => (item=python-software-properties)
ok: [default] => (item=build-essential)
ok: [default] => (item=git)
changed: [default] => (item=python-mysqldb)
changed: [default] => (item=libnss-myhostname)
ok: [default] => (item=dbus)
ok: [default] => (item=python-pycurl)
ok: [default] => (item=curl)
TASK [common : Validate timezone variable] *************************************
ok: [default]
TASK [common : Explain timezone error] *****************************************
skipping: [default]
TASK [common : Add myhostname to nsswitch.conf to ensure resolvable hostname] ***
ok: [default]
TASK [common : Generate SSH key for vagrant user] ******************************
changed: [default]
TASK [common : Retrieve SSH client IP] *****************************************
skipping: [default]
TASK [fail2ban : ensure fail2ban is installed] *********************************
changed: [default]
TASK [fail2ban : ensure fail2ban is configured] ********************************
changed: [default] => (item=jail.local)
changed: [default] => (item=fail2ban.local)
TASK [fail2ban : ensure fail2ban starts on a fresh reboot] *********************
ok: [default]
TASK [ferm : ensure ferm status is in debconf] *********************************
changed: [default]
TASK [ferm : ensure ferm is installed] *****************************************
changed: [default]
TASK [ferm : ensure configuration directories exist] ***************************
changed: [default] => (item=/etc/ferm/ferm.d)
changed: [default] => (item=/etc/ferm/filter-input.d)
TASK [ferm : ensure firewall is configured] ************************************
changed: [default] => (item=etc/default/ferm)
changed: [default] => (item=etc/ferm/ferm.conf)
TASK [ferm : ensure iptables INPUT rules are removed] **************************
skipping: [default] => (item={u’dport’: [u’http’, u’https’], u’type’: u’dport_accept’, u’filename’: u’nginx_accept’})
skipping: [default] => (item={u’dport’: [u’ssh’], u’type’: u’dport_accept’, u’saddr’: [u’10.0.2.2’]})
skipping: [default] => (item={u’dport’: [u’ssh’], u’seconds’: 300, u’hits’: 20, u’type’: u’dport_limit’})
TASK [ferm : ensure iptables INPUT rules are added] ****************************
changed: [default] => (item={u’dport’: [u’http’, u’https’], u’type’: u’dport_accept’, u’filename’: u’nginx_accept’})
changed: [default] => (item={u’dport’: [u’ssh’], u’type’: u’dport_accept’, u’saddr’: [u’10.0.2.2’]})
changed: [default] => (item={u’dport’: [u’ssh’], u’seconds’: 300, u’hits’: 20, u’type’: u’dport_limit’})
TASK [ferm : ensure iptables rules are enabled] ********************************
skipping: [default]
TASK [ferm : ensure iptables rules are disabled] *******************************
ok: [default]
TASK [ntp : Include OS-specific variables.] ************************************
ok: [default]
TASK [ntp : Ensure NTP-related packages are installed.] ************************
changed: [default]
TASK [ntp : Ensure tzdata package is installed (Linux).] ***********************
ok: [default]
TASK [ntp : include_tasks] *****************************************************
skipping: [default]
TASK [ntp : Set timezone] ******************************************************
changed: [default]
TASK [ntp : Ensure NTP is running and enabled as configured.] ******************
ok: [default]
TASK [ntp : Ensure NTP is stopped and disabled as configured.] *****************
skipping: [default]
TASK [ntp : Generate ntp.conf file] ********************************************
changed: [default]
TASK [sshd : Ensure latest SSH server and client are installed] ****************
changed: [default] => (item=openssh-server)
ok: [default] => (item=openssh-client)
TASK [sshd : Create a secure sshd_config] **************************************
changed: [default]
TASK [sshd : Create a secure ssh_config] ***************************************
changed: [default]
TASK [sshd : Remove Diffie-Hellman moduli of size < 2000] **********************
changed: [default]
TASK [mariadb : Add MariaDB APT key] *******************************************
changed: [default]
TASK [mariadb : Add MariaDB PPA] ***********************************************
changed: [default]
TASK [mariadb : Install MySQL client] ******************************************
changed: [default]
TASK [mariadb : Install MySQL server] ******************************************
changed: [default]
TASK [mariadb : Disable MariaDB binary logging] ********************************
changed: [default]
TASK [mariadb : Set root user password] ****************************************
changed: [default] => (item=default)
changed: [default] => (item=127.0.0.1)
changed: [default] => (item=::1)
changed: [default] => (item=localhost)
TASK [mariadb : Copy .my.cnf file with root password credentials.] *************
changed: [default]
TASK [mariadb : Delete anonymous MySQL server users] ***************************
ok: [default] => (item=localhost)
ok: [default] => (item=default)
ok: [default] => (item=demo)
TASK [mariadb : Remove the test database] **************************************
ok: [default]
TASK [geerlingguy.daemonize : Download daemonize archive.] *********************
changed: [default]
TASK [geerlingguy.daemonize : Expand daemonize archive.] ***********************
changed: [default]
TASK [geerlingguy.daemonize : Check if daemonize is installed.] ****************
ok: [default]
TASK [geerlingguy.daemonize : Build daemonize.] ********************************
changed: [default] => (item=./configure --prefix=/usr)
changed: [default] => (item=make)
changed: [default] => (item=make install)
TASK [mailhog : Ensure mailhog install directory exists.] **********************
changed: [default]
TASK [mailhog : Download MailHog and mhsendmail binaries.] *********************
changed: [default] => (item={u’url’: u’https://github.com/mailhog/MailHog/releases/download/v0.2.1/MailHog_linux_amd64’, u’dest’: u’/opt/mailhog/mailhog’})
changed: [default] => (item={u’url’: u’https://github.com/mailhog/mhsendmail/releases/download/v0.2.0/mhsendmail_linux_amd64’, u’dest’: u’/opt/mailhog/mhsendmail’})
TASK [mailhog : Copy mailhog init script into place.] **************************
skipping: [default]
TASK [mailhog : Copy mailhog systemd unit file into place (for systemd systems).] ***
changed: [default]
TASK [mailhog : Ensure mailhog is enabled and will start on boot.] *************
changed: [default]
TASK [php : Add PHP 7.2 PPA] ***************************************************
changed: [default]
TASK [php : Install PHP 7.2] ***************************************************
changed: [default] => (item=php7.2-fpm)
ok: [default] => (item=php7.2-cli)
changed: [default] => (item=php7.2-mysql)
changed: [default] => (item=php7.2-xml)
changed: [default] => (item=php7.2-curl)
changed: [default] => (item=php7.2-dev)
changed: [default] => (item=php7.2-xmlrpc)
ok: [default] => (item=php7.2-opcache)
changed: [default] => (item=php7.2-gd)
ok: [default] => (item=php7.2-common)
changed: [default] => (item=php7.2-mbstring)
changed: [default] => (item=php7.2-zip)
TASK [php : Start php7.2-fpm service] ******************************************
ok: [default]
TASK [php : Check for existing php7.1-fpm service] *****************************
ok: [default]
TASK [php : Stop php7.1-fpm service if it exists] ******************************
skipping: [default]
TASK [php : PHP configuration file] ********************************************
changed: [default]
TASK [xdebug : Install Xdebug] *************************************************
changed: [default]
TASK [xdebug : Template the Xdebug configuration file] *************************
changed: [default]
TASK [xdebug : Ensure 20-xdebug.ini is present] ********************************
ok: [default]
TASK [xdebug : Disable Xdebug] *************************************************
skipping: [default]
TASK [xdebug : Disable Xdebug CLI] *********************************************
changed: [default]
TASK [memcached : Install memcached] *******************************************
changed: [default] => (item=memcached)
changed: [default] => (item=php-memcached)
TASK [memcached : Copy the client configuration file] **************************
changed: [default]
TASK [memcached : Set the max open file descriptors] ***************************
changed: [default]
TASK [memcached : Start the memcached service] *********************************
ok: [default]
TASK [nginx : Add Nginx PPA] ***************************************************
changed: [default]
TASK [nginx : Install Nginx] ***************************************************
changed: [default]
TASK [nginx : Create SSL directory] ********************************************
changed: [default]
TASK [nginx : Generate strong unique Diffie-Hellman group.] ********************
skipping: [default]
TASK [nginx : Copy h5bp configs] ***********************************************
changed: [default]
TASK [nginx : Create nginx.conf] ***********************************************
changed: [default]
TASK [nginx : Disable default server] ******************************************
changed: [default]
TASK [nginx : Enable Nginx to start on boot] ***********************************
changed: [default]
TASK [logrotate : nickhammond.logrotate | Install logrotate] *******************
ok: [default]
TASK [logrotate : nickhammond.logrotate | Setup logrotate.d scripts] ***********
changed: [default] => (item={u’path’: u’/srv/www/**/logs/*.log’, u’options’: [u’weekly’, u’maxsize 50M’, u’missingok’, u’rotate 8’, u’compress’, u’delaycompress’, u’notifempty’, u’create 0640 vagrant www-data’, u’sharedscripts’], u’name’: u’wordpress-sites’, u’scripts’: {u’postrotate’: u’service nginx rotate’, u’prerotate’: u’if [ -d /etc/logrotate.d/httpd-prerotate ]; then \\n run-parts /etc/logrotate.d/httpd-prerotate; \\n fi \\n’}})
TASK [composer : Set php_executable variable to a default if not defined.] *****
ok: [default]
TASK [composer : Check if Composer is installed.] ******************************
ok: [default]
TASK [composer : Download Composer installer.] *********************************
changed: [default]
TASK [composer : Run Composer installer.] **************************************
changed: [default]
TASK [composer : Move Composer into globally-accessible location.] *************
changed: [default]
TASK [composer : Update Composer to latest version (if configured).] ***********
ok: [default]
TASK [composer : Ensure composer directory exists.] ****************************
ok: [default]
TASK [composer : Add GitHub OAuth token for Composer (if configured).] *********
skipping: [default]
TASK [composer : include_tasks] ************************************************
included: /home/vagrant/trellis/vendor/roles/composer/tasks/global-require.yml for default
TASK [composer : Install configured globally-required packages.] ***************
changed: [default] => (item={u’name’: u’hirak/prestissimo’})
TASK [composer : Add composer_home_path bin directory to global $PATH.] ********
changed: [default]
TASK [composer : include_tasks] ************************************************
skipping: [default]
TASK [wp-cli : Ensure gpg2 is installed] ***************************************
changed: [default]
TASK [wp-cli : Download WP-CLI Phar] *******************************************
changed: [default]
TASK [wp-cli : Download WP-CLI Phar Signature] *********************************
changed: [default]
TASK [wp-cli : Copy WP-CLI release team public key] ****************************
changed: [default]
TASK [wp-cli : Verify WP-CLI Phar Signature] ***********************************
ok: [default]
TASK [wp-cli : Install WP-CLI] *************************************************
changed: [default]
TASK [wp-cli : Retrieve WP-CLI tab completions] ********************************
changed: [default]
TASK [wp-cli : Install WP-CLI tab completions] *********************************
changed: [default]
TASK [wp-cli : Install WP-CLI packages] ****************************************
TASK [wordpress-setup : Create databases for sites] ****************************
changed: [default] => (item=demo)
TASK [wordpress-setup : Create/assign database user to db and grant permissions] ***
changed: [default] => (item=demo)
TASK [wordpress-setup : Generate self-signed certificates] *********************
skipping: [default] => (item=demo)
skipping: [default] => (item=no_default)
TASK [wordpress-setup : Download client cert] **********************************
skipping: [default] => (item=demo)
TASK [wordpress-setup : Create web root] ***************************************
changed: [default]
TASK [wordpress-setup : Create logs folder of sites] ***************************
changed: [default] => (item=demo)
TASK [wordpress-setup : Create WordPress php-fpm configuration file] ***********
changed: [default]
TASK [wordpress-setup : Disable default PHP-FPM pool] **************************
changed: [default]
TASK [wordpress-setup : Build list of Nginx includes templates] ****************
ok: [default]
TASK [wordpress-setup : Warn about deprecated Nginx includes directory] ********
skipping: [default]
TASK [wordpress-setup : Create includes.d directories] *************************
TASK [wordpress-setup : Template files out to includes.d] **********************
TASK [wordpress-setup : Retrieve list of existing files in includes.d] *********
ok: [default]
TASK [wordpress-setup : Remove unmanaged files from includes.d] ****************
TASK [wordpress-setup : Copy SSL cert] *****************************************
skipping: [default] => (item=demo)
TASK [wordpress-setup : Copy SSL key] ******************************************
skipping: [default] => (item=demo)
TASK [wordpress-setup : disable temporary challenge sites] *********************
ok: [default] => (item=demo)
TASK [wordpress-setup : Create Nginx available sites] **************************
changed: [default] => (item={u’src’: u’no-default.conf.j2’})
skipping: [default] => (item={u’src’: u’ssl.no-default.conf.j2’, u’enabled’: False})
TASK [wordpress-setup : Enable or disable Nginx sites] *************************
changed: [default] => (item={u’src’: u’no-default.conf.j2’})
ok: [default] => (item={u’src’: u’ssl.no-default.conf.j2’, u’enabled’: False})
TASK [wordpress-setup : Create Nginx conf for challenges location] *************
changed: [default]
TASK [wordpress-setup : Create WordPress configuration for Nginx] **************
changed: [default] => (item=demo)
TASK [wordpress-setup : Enable WordPress site] *********************************
changed: [default] => (item=demo)
TASK [wordpress-setup : Setup WP system cron] **********************************
changed: [default] => (item=demo)
TASK [wordpress-setup : Setup WP Multisite system cron] ************************
ok: [default] => (item=demo)
TASK [wordpress-install : Create web root of sites] ****************************
ok: [default] => (item=demo)
TASK [wordpress-install : Create shared folder of sites] ***********************
changed: [default] => (item=demo)
TASK [wordpress-install : Change site owner to user] ***************************
changed: [default] => (item=demo)
TASK [wordpress-install : Create .env file] ************************************
changed: [default] => (item=demo)
TASK [wordpress-install : Copy .env file into web root] ************************
changed: [default] => (item=demo)
TASK [wordpress-install : Add known_hosts] *************************************
changed: [default] => (item=github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==)
changed: [default] => (item=bitbucket.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAubiN81eDcafrgMeLzaFPsw2kNvEcqTKl/VqLat/MaB33pZy0y3rJZtnqwR2qOOvbwKZYKiEO1O6VqNEBxKvJJelCq0dTXWT5pbO2gDXC6h6QDXCaHo6pOHGPUy+YBaGQRGuSusMEASYiWunYN0vCAI8QaXnWMXNMdFP3jHAJH0eDsoiGnLPBlBp4TNm6rYI74nMzgz3B9IikW4WVK+dc8KZJZWYjAuORU3jc1c/NPskD2ASinf8v3xnfXeukU0sJ5N6m5E8VLjObPEO+mN2t/FZTMZLiFqPWc/ALSqnMnnhwrNi2rbfg/rd/IpL8Le3pSBne8+seeFVBoGqzHM9yXw==)
changed: [default] => (item=gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf)
changed: [default] => (item=gitlab.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCsj2bNKTBSpIYDEGk9KxsGh3mySTRgMtXL583qmBpzeQ+jqCMRgBqB98u3z++J1sKlXHWfM9dyhSevkMwSbhoR8XIq/U0tCNyokEi/ueaBMCvbcTHhO7FcwzY92WK4Yt0aGROY5qX2UKSeOvuP4D6TPqKF1onrSzH9bx9XUf2lEdWT/ia1NEKjunUqu1xOB/StKDHMoX4/OKyIzuS0q/T1zOATthvasJFoPrAjkohTyaDUz2LN5JoH839hViyEG82yB+MjcFV5MU3N1l1QL3cVUCh93xSaua1N85qivl+siMkPGbO5xR/En4iEY6K2XPASUEMaieWVNTRCtJ4S8H+9)
TASK [wordpress-install : Setup packagist.com authentication] ******************
skipping: [default] => (item=None)
TASK [wordpress-install : Install Dependencies with Composer] ******************