This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ trellis git:(master) 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: A newer version of the box 'bento/ubuntu-16.04' is available! You currently | |
==> default: have version '2.2.9'. The latest is version '2.3.8'. Run | |
==> default: `vagrant box update` to update. | |
==> default: Setting the name of the VM: thewaitstaffteam.dev | |
==> default: Clearing any previously set network interfaces... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
➜ trellis git:(master) ✗ vagrant destroy | |
default: Are you sure you want to destroy the 'default' VM? [y/N] y | |
==> default: Forcing shutdown of VM... | |
==> default: Destroying VM and associated drives... | |
==> default: Pruning invalid NFS exports. Administrator privileges will be required... | |
Password: | |
==> 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)... | |
➜ trellis git:(master) ✗ vagrant up | |
Bringing machine 'default' up with 'virtualbox' provider... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x86_64-linux-gnu-gcc -pthread -fwrapv -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -fdebug-prefix-map=/build/python2.7-ZZaKJ6/python2.7-2.7.13=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=c99 -O3 -fomit-frame-pointer -Isrc/ -I/usr/include/python2.7 -c src/MD2.c -o build/temp.linux-x86_64-2.7/src/MD2.o | |
src/MD2.c:31:20: fatal error: Python.h: No such file or directory | |
#include "Python.h" | |
^ | |
compilation terminated. | |
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 | |
---------------------------------------- | |
Command "/usr/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-XZL_9b/pycrypto/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-5trFTg-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-XZL_9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install | |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): | |
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) | |
npm WARN Invalid version: "https://registry.npmjs.org/end-of-stream/-/end-of-stream-0.1.5.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/extend/-/extend-3.0.1.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/glob/-/glob-4.5.3.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/glob-stream/-/glob-stream-3.1.18.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.11.tgz" | |
npm WARN Invalid version: "https://registry.npmjs.org/interpret/-/interpret-1.0.3.tgz" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUNNING HANDLER [common : reload nginx] **************************************************************************************************************************************** | |
System info: | |
Ansible 2.3.2.0; Linux | |
Trellis at "Add ansible_local support for non-Windows" | |
--------------------------------------------------- | |
nginx: [emerg] invalid number of arguments in "include" directive in | |
/etc/nginx/sites-enabled/thewaitstaffteam.theportlandcompany.com.conf:50 | |
nginx: configuration file /etc/nginx/nginx.conf test failed | |
fatal: [thewaitstaffteam.theportlandcompany.com]: FAILED! => {"changed": true, "cmd": ["nginx", "-t"], "delta": "0:00:00.046656", "end": "2017-09-19 02:48:04.064837", "failed": true, "rc": 1, "start": "2017-09-19 02:48:04.018181", "stderr": "nginx: [emerg] invalid number of arguments in \"include\" directive in /etc/nginx/sites-enabled/thewaitstaffteam.theportlandcompany.com.conf:50\nnginx: configuration file /etc/nginx/nginx.conf test failed", "stderr_lines": ["nginx: [emerg] invalid number o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s3w47m88@spencer-hill-ubuntu:~/Sites/thewaitstaff.com/site$ composer require advanced-custom-fields/advanced-custom-fields-pro:* | |
./composer.json has been updated | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
Your requirements could not be resolved to an installable set of packages. | |
Problem 1 | |
- squizlabs/php_codesniffer 3.0.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system. | |
- squizlabs/php_codesniffer 3.0.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system. | |
- squizlabs/php_codesniffer 3.0.2 requires ext-simplexml * -> the requested PHP extension simplexml is missing from your system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/site/scripts$ ls | |
sync-database.sh | |
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/site/scripts$ sh sync-database.sh production-development | |
usage: sync-database.sh development production | development staging | production development | production staging | |
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/site/scripts$ sh sync-database.sh production development | |
Would you really like to reset the development database and sync down from production? [y/N] y | |
sync-database.sh: 25: sync-database.sh: Syntax error: "(" unexpected (expecting "then") | |
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/site/scripts$ pwd | |
/home/s3w47m88/Sites/kangapestcontrol.com/site/scripts | |
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/site/scripts$ ls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
read -r -p "Would you really like to reset your development database and pull the latest from production? [y/N] " response | |
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then | |
wp @development db reset --yes && | |
wp @production db export - > sql-dump-production.sql && | |
wp @development db import sql-dump-production.sql && | |
wp @development search-replace https://example.com https://example.dev | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s3w47m88@spencer-hill-ubuntu:~/Sites/kangapestcontrol.com/trellis$ vagrant upBringing machine 'default' up with 'virtualbox' provider... | |
==> default: Checking if box 'bento/ubuntu-16.04' is up to date... | |
==> 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... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm WARN checkPermissions Missing write access to | |
/home/s3w47m88/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest- | |
control-2017/node_modules | |
npm ERR! path /home/s3w47m88/Sites/kangapestcontrol.com/site/web/app/themes | |
/kanga-pest-control-2017/node_modules | |
npm ERR! code EACCES | |
npm ERR! errno -13 | |
npm ERR! syscall access | |
npm ERR! Error: EACCES: permission denied, access | |
'/home/s3w47m88/Sites/kangapestcontrol.com/site/web/app/themes/kanga-pest- |