Created
February 24, 2021 15:17
-
-
Save shawninder/a0e5b37292cc13dd73f86c51ff56f5e1 to your computer and use it in GitHub Desktop.
In planet4-docker-compose : `make dev`
This file contains hidden or 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
Hosts file already configured | |
rm -fr persistence/app/public/wp-content/themes/planet4-master-theme | |
rm -fr persistence/app/public/wp-content/plugins/planet4-plugin-gutenberg-blocks | |
./repos.sh | |
Cloning into 'persistence/app/public/wp-content/themes/planet4-master-theme'... | |
remote: Enumerating objects: 42, done. | |
remote: Counting objects: 100% (42/42), done. | |
remote: Compressing objects: 100% (35/35), done. | |
remote: Total 17337 (delta 13), reused 20 (delta 4), pack-reused 17295 | |
Receiving objects: 100% (17337/17337), 14.41 MiB | 1.32 MiB/s, done. | |
Resolving deltas: 100% (11554/11554), done. | |
Submodule 'assets/src/scss/styleguide' (https://github.com/greenpeace/planet4-styleguide.git) registered for path 'assets/src/scss/styleguide' | |
Cloning into '/Users/shawn/git/shawninder/planet4-docker-compose/persistence/app/public/wp-content/themes/planet4-master-theme/assets/src/scss/styleguide'... | |
remote: Enumerating objects: 31, done. | |
remote: Counting objects: 100% (31/31), done. | |
remote: Compressing objects: 100% (31/31), done. | |
remote: Total 1361 (delta 10), reused 5 (delta 0), pack-reused 1330 | |
Receiving objects: 100% (1361/1361), 445.10 KiB | 808.00 KiB/s, done. | |
Resolving deltas: 100% (836/836), done. | |
Submodule path 'assets/src/scss/styleguide': checked out '1f9a41c7f73a366ba53b9beb00022d42ae7998ac' | |
Cloning into 'persistence/app/public/wp-content/plugins/planet4-plugin-gutenberg-blocks'... | |
remote: Enumerating objects: 383, done. | |
remote: Counting objects: 100% (383/383), done. | |
remote: Compressing objects: 100% (117/117), done. | |
remote: Total 13927 (delta 265), reused 318 (delta 234), pack-reused 13544 | |
Receiving objects: 100% (13927/13927), 11.41 MiB | 1.37 MiB/s, done. | |
Resolving deltas: 100% (9141/9141), done. | |
Submodule 'assets/src/styles/styleguide' (https://github.com/greenpeace/planet4-styleguide) registered for path 'assets/src/styles/styleguide' | |
Cloning into '/Users/shawn/git/shawninder/planet4-docker-compose/persistence/app/public/wp-content/plugins/planet4-plugin-gutenberg-blocks/assets/src/styles/styleguide'... | |
remote: Enumerating objects: 31, done. | |
remote: Counting objects: 100% (31/31), done. | |
remote: Compressing objects: 100% (31/31), done. | |
remote: Total 1361 (delta 10), reused 5 (delta 0), pack-reused 1330 | |
Receiving objects: 100% (1361/1361), 445.10 KiB | 895.00 KiB/s, done. | |
Resolving deltas: 100% (836/836), done. | |
Submodule path 'assets/src/styles/styleguide': checked out '1f9a41c7f73a366ba53b9beb00022d42ae7998ac' | |
# docker-compose env variables | |
COMPOSE_FILE=docker-compose.yml | |
COMPOSE_PROJECT_NAME=planet4dockercompose | |
ERROR: build path /Users/shawn/git/shawninder/planet4-docker-compose/defaultcontent either does not exist, is not accessible, or is not a valid URL. | |
make[1]: *** [start] Error 1 | |
/Applications/Xcode.app/Contents/Developer/usr/bin/make -j init getdefaultcontent db/Dockerfile | |
mkdir -p defaultcontent | |
envsubst < db/Dockerfile.in > db/Dockerfile | |
curl --fail https://storage.googleapis.com/planet4-default-content/planet4-defaultcontent_wordpress-v0.0.39.sql.gz > defaultcontent/planet4-defaultcontent_wordpress-v0.0.39.sql.gz | |
echo "Getting default content images..." | |
Getting default content images... | |
curl --fail https://storage.googleapis.com/planet4-default-content/planet4-default-content-1-25-images.zip > defaultcontent/planet4-default-content-1-25-images.zip | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 % Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1411k 100 1411k 0 0 642k 0 0:00:02 0:00:02 --:--:-- 642k | |
100 116M 100 116M 0 0 1282k 0 0:01:32 0:01:32 --:--:-- 1367k | |
cp ci/scripts/duplicate-db.sh defaultcontent/duplicate-db.sh | |
./go.sh | |
Building services ... | |
traefik uses an image, skipping | |
redis uses an image, skipping | |
php-fpm uses an image, skipping | |
openresty uses an image, skipping | |
node uses an image, skipping | |
Building db | |
Step 1/3 : FROM mysql:5.7 | |
---> cc8775c0fe94 | |
Step 2/3 : ADD planet4-defaultcontent_wordpress-v0.0.39.sql.gz /docker-entrypoint-initdb.d/ | |
---> fc00f1e26ba7 | |
Step 3/3 : COPY duplicate-db.sh /docker-entrypoint-initdb.d/ | |
---> e9b58b15d0e5 | |
Successfully built e9b58b15d0e5 | |
Successfully tagged planet4dockercompose_db:latest | |
Starting services ... | |
WARNING: The Docker Engine you're using is running in swarm mode. | |
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node. | |
To deploy your application across the swarm, use `docker stack deploy`. | |
Creating network "planet4dockercompose_proxy" with driver "bridge" | |
Creating network "planet4dockercompose_local" with the default driver | |
Creating network "planet4dockercompose_db" with the default driver | |
Creating volume "planet4dockercompose_db" with default driver | |
Creating volume "planet4dockercompose_excluded" with default driver | |
Creating volume "planet4dockercompose_excluded-theme" with default driver | |
Creating volume "planet4dockercompose_excluded-plugin" with default driver | |
Creating planet4dockercompose_node_1 ... done | |
Creating planet4dockercompose_redis_1 ... done | |
Creating planet4dockercompose_db_1 ... done | |
Creating planet4dockercompose_traefik_1 ... done | |
Creating planet4dockercompose_php-fpm_1 ... done | |
Creating planet4dockercompose_openresty_1 ... done | |
Starting P4 Wordpress docker-compose stack. | |
Note, this may take up to 10 minutes on the first run! | |
Waiting for services to start ........................ | |
aca944390393 gcr.io/planet-4-151612/wordpress:develop "/app/bin/entrypoint…" 3 minutes ago Exited (1) 6 seconds ago planet4dockercompose_php-fpm_1 | |
0e04d0be24ed d94129b6e1f4 "/bin/sh -c 'apt -qy…" 3 weeks ago Exited (1) 3 weeks ago crazy_zhukovsky | |
858072fde16c mongo "docker-entrypoint.s…" 7 weeks ago Exited (0) 8 minutes ago lila_mongo_1 | |
815b90e28d5f redis "docker-entrypoint.s…" 7 weeks ago Exited (0) 5 weeks ago lila_redis_1 | |
php-fpm_1 | Package operations: 1 install, 0 updates, 0 removals | |
php-fpm_1 | Installs: greenpeace/planet4-child-theme:v0.2.11 | |
php-fpm_1 | - Installing greenpeace/planet4-child-theme (v0.2.11): Loading from cache | |
php-fpm_1 | Extracting archiveWriting lock file | |
php-fpm_1 | Generating autoload files | |
php-fpm_1 | [merge-plugin] Already merged composer-local.json completely | |
php-fpm_1 | 8.98user 15.32system 2:42.62elapsed 14%CPU (0avgtext+0avgdata 901692maxresident)k | |
php-fpm_1 | 59656inputs+133008outputs (183major+418788minor)pagefaults 0swaps | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/plugins/planet4-plugin-gutenberg-blocks/.git/modules/assets/src/styles/styleguide/objects/pack/pack-e3681219fa07d72f1f8a9ff4f128a8cce8753737.idx': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/plugins/planet4-plugin-gutenberg-blocks/.git/modules/assets/src/styles/styleguide/objects/pack/pack-e3681219fa07d72f1f8a9ff4f128a8cce8753737.pack': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/plugins/planet4-plugin-gutenberg-blocks/.git/objects/pack/pack-3cb2fb80ed942bdf610c1de9eb5823ecb86af759.idx': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/plugins/planet4-plugin-gutenberg-blocks/.git/objects/pack/pack-3cb2fb80ed942bdf610c1de9eb5823ecb86af759.pack': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/themes/planet4-master-theme/.git/modules/assets/src/scss/styleguide/objects/pack/pack-e3681219fa07d72f1f8a9ff4f128a8cce8753737.idx': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/themes/planet4-master-theme/.git/modules/assets/src/scss/styleguide/objects/pack/pack-e3681219fa07d72f1f8a9ff4f128a8cce8753737.pack': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/themes/planet4-master-theme/.git/objects/pack/pack-0132ebb4b672a30211837da90105075418e8c28c.idx': Input/output error | |
php-fpm_1 | chown: changing ownership of '/app/source/public/wp-content/themes/planet4-master-theme/.git/objects/pack/pack-0132ebb4b672a30211837da90105075418e8c28c.pack': Input/output error | |
php-fpm_1 | *** /etc/my_init.d/20_install_wordpress.sh failed with status 1 | |
php-fpm_1 | | |
php-fpm_1 | *** Killing all processes... | |
php-fpm_1 | Feb 24 15:15:52 aca944390393 syslog-ng[55]: syslog-ng shutting down; version='3.13.2' | |
ERROR: php-fpm is not running | |
make[1]: *** [up] Error 1 | |
make: *** [run] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment