Islandora-Devops / isle-dc

ISLE 8 - Dockerized Islandora 8 Deployment orchestrated with docker-compose
MIT License
23 stars 60 forks source link

Custom entrypoint for drupal container #224

Closed misilot closed 2 years ago

misilot commented 2 years ago

I noticed when trying to build isle-dc it sometimes fails because mysql isn't up.

Not sure if something like the following be added to the entrypoint for the containers that require the database to be up such as drupal. It might need to be smart and either check postgresql or mysql depending on the environment.

while ! mysqladmin ping -h mariadb -u drupal_default --password=password --silent; do
    sleep 1
done
nigelgbanks commented 2 years ago

There used to be, though it causes issues when debugging/developing. It would make a nightmare of a debugging situation if something is off about the DB in something like AWS ECS, as the container would just die continually and you couldn't exec into it to debug the situation. Ideally the containers should do little too nothing on startup, aside from generating files from templates setting permissions and that sorta thing.

In this case I think the logic should be performed by isle-dc as it's specific to it's use case. I'll move the issue to that repo.

Do you have a log you can attach? From looking at the makefile in isle-dc it appears that the install depends on drupal-database which eventually calls wait-for-database.sh so that seems like it should wait for 5 mins as the default timeout is 300 seconds.

misilot commented 2 years ago

Let me see if I can get it to generate the error.

misilot commented 2 years ago

Here is a snippet of the end of the log from make local from the development branch

Creating isle-dc_blazegraph_1 ... done
Creating isle-dc_recast_1     ... done
Creating isle-dc_cantaloupe_1 ... done
Creating isle-dc_solr_1       ... done
Creating isle-dc_houdini_1    ... done
Creating isle-dc_hypercube_1  ... done
Creating traefik              ... done
Creating isle-dc_alpaca_1     ... done
Creating isle-dc_activemq_1   ... done
Creating isle-dc_homarus_1    ... done
Creating isle-dc_fits_1       ... done
Creating isle-dc_mariadb_1    ... done
Creating isle-dc_milliner_1   ... done
Creating isle-dc_fcrepo_1     ... done
Creating isle-dc_matomo_1     ... done
Creating isle-dc_crayfits_1   ... done
Creating isle-dc_drupal_1     ... done
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Missing option --port and fallback environment variable DB_PORT
make[1]: *** [Makefile:117: drupal-database] Error 1
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make: *** [Makefile:335: local] Error 2

If I run make local again it does complete.

I do see this on the second run.

Waiting for up to 300 seconds to connect to Database mariadb:3306
Waiting for 3306 on mariadb to open.
Database found
Validating Database credentials
mysqld is alive
Credentials are valid
nigelgbanks commented 2 years ago

hmm looks like an configuration issue? I'll try to reproduce

misilot commented 2 years ago

Steps to reproduce

  1. git clone https://github.com/Islandora-Devops/isle-dc.git
  2. cp sample.env .env
  3. Edit .env and set ENVIRONMENT=local
  4. Edit .env and set USE_SECRETS=true I also set INCLUDE_WATCHTOWER_SERVICE=false and my domain.
nigelgbanks commented 2 years ago

I've tried multiple times, always from a clean state. I can't seem to reproduce it. Do you have any other changes locally?

I've attached the full log logs.txt.

I can't seem to pinpoint what's off, can you attach a full log.

nigelgbanks commented 2 years ago

Hmm actually

WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.

What version of docker and docker-compose are you using? Please run the following and attach your output.

docker info
 docker-compose --version 
misilot commented 2 years ago

Here are my changes, and output

diff sample.env .env

11c11
< ENVIRONMENT=demo
---
> ENVIRONMENT=local
15c15
< USE_SECRETS=false
---
> USE_SECRETS=true
40c40
< INCLUDE_WATCHTOWER_SERVICE=true
---
> INCLUDE_WATCHTOWER_SERVICE=false
114c114
< DOMAIN=islandora.traefik.me
---
> DOMAIN=islandora.ksulib.net

docker info

docker info
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.7.1-docker)
  scan: Docker Scan (Docker Inc., v0.12.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 19
 Server Version: 20.10.12
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 5.11.0-1028-aws
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 2
 Total Memory: 7.688GiB
 Name: islandora20.ksulib.net
 ID: 5P7P:5L7M:WFT5:U7LM:QLZU:FGJS:MIZD:XDCJ:WO4S:22RY:5XJU:53DH
 Docker Root Dir: /klib/data/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

docker-compose --version

docker-compose version 1.25.0, build unknown

Output from make local

Generating Secrets
Generated or copied ACTIVEMQ_PASSWORD!
Generated or copied ACTIVEMQ_WEB_ADMIN_PASSWORD!
Generated or copied ALPACA_ACTIVEMQ_PASSWORD!
Generated or copied ALPACA_KARAF_ADMIN_PASSWORD!
Generated or copied CODE_SERVER_PASSWORD!
Generated or copied DB_ROOT_PASSWORD!
Generated or copied DRUPAL_DEFAULT_ACCOUNT_PASSWORD!
Generated or copied DRUPAL_DEFAULT_CONFIGDIR!
Generated or copied DRUPAL_DEFAULT_DB_PASSWORD!
Generated or copied DRUPAL_DEFAULT_SALT!
Generated or copied FCREPO_DB_PASSWORD!
Generated or copied GEMINI_DB_PASSWORD!
Generated or copied JWT_ADMIN_TOKEN!
Generated or copied JWT_PRIVATE_KEY!
Generated or copied JWT_PUBLIC_KEY!
Generated or copied MATOMO_DB_PASSWORD!
Generated or copied MATOMO_USER_PASS!
Generated or copied TOMCAT_ADMIN_PASSWORD!
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5596  100  5596    0     0  41761      0 --:--:-- --:--:-- --:--:-- 41761
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1708  100  1708    0     0  12651      0 --:--:-- --:--:-- --:--:-- 12651
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
docker-compose pull
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Pulling activemq   ... done
Pulling alpaca     ... done
Pulling blazegraph ... done
Pulling cantaloupe ... done
Pulling fcrepo     ... done
Pulling fits       ... done
Pulling crayfits   ... done
Pulling homarus    ... done
Pulling houdini    ... done
Pulling hypercube  ... done
Pulling mariadb    ... done
Pulling matomo     ... done
Pulling milliner   ... done
Pulling recast     ... done
Pulling solr       ... done
Pulling traefik    ... done
Pulling drupal     ... done
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-container-environment-00-init.sh: executing...
[cont-init.d] 00-container-environment-00-init.sh: exited 0.
[cont-init.d] 00-container-environment-01-override-nginx.sh: executing...
[cont-init.d] 00-container-environment-01-override-nginx.sh: exited 0.
[cont-init.d] 00-container-environment-01-override-php.sh: executing...
[cont-init.d] 00-container-environment-01-override-php.sh: exited 0.
[cont-init.d] 00-container-environment-02-database-defaults.sh: executing...
[cont-init.d] 00-container-environment-02-database-defaults.sh: exited 0.
[cont-init.d] 01-confd-render-templates.sh: executing...
[cont-init.d] 01-confd-render-templates.sh: exited 0.
[cont-init.d] 02-fpm-install.sh: executing...
[cont-init.d] 02-fpm-install.sh: exited 0.
[cont-init.d] 02-ngnix-install.sh: executing...
[cont-init.d] 02-ngnix-install.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09-Feb-2022 21:55:52] NOTICE: fpm is running, pid 725
[09-Feb-2022 21:55:52] NOTICE: ready to handle connections
Creating a "drupal/recommended-project:^9.1" project at "/tmp/codebase"
Installing drupal/recommended-project (9.3.5)
  - Downloading drupal/recommended-project (9.3.5)
  - Installing drupal/recommended-project (9.3.5): Extracting archive
Created project in /tmp/codebase
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 62 installs, 0 updates, 0 removals
  - Downloading composer/installers (v1.12.0)
  - Downloading drupal/core-composer-scaffold (9.3.5)
  - Downloading drupal/core-project-message (9.3.5)
  - Downloading typo3/phar-stream-wrapper (v3.1.7)
  - Downloading symfony/polyfill-php72 (v1.24.0)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/polyfill-ctype (v1.23.0)
  - Downloading twig/twig (v2.14.11)
  - Downloading symfony/yaml (v4.4.34)
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/var-dumper (v5.4.0)
  - Downloading symfony/translation-contracts (v2.5.0)
  - Downloading symfony/validator (v4.4.35)
  - Downloading symfony/translation (v4.4.34)
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading psr/container (1.1.1)
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/serializer (v4.4.35)
  - Downloading symfony/routing (v4.4.34)
  - Downloading symfony/polyfill-intl-normalizer (v1.23.0)
  - Downloading symfony/polyfill-intl-idn (v1.23.0)
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/http-foundation (v4.4.34)
  - Downloading psr/http-message (1.0.1)
  - Downloading symfony/psr-http-message-bridge (v2.1.2)
  - Downloading symfony/process (v4.4.35)
  - Downloading symfony/polyfill-iconv (v1.23.0)
  - Downloading symfony/polyfill-php73 (v1.24.0)
  - Downloading symfony/http-client-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher-contracts (v1.1.11)
  - Downloading symfony/event-dispatcher (v4.4.34)
  - Downloading psr/log (1.1.4)
  - Downloading symfony/debug (v4.4.31)
  - Downloading symfony/error-handler (v4.4.34)
  - Downloading symfony/http-kernel (v4.4.35)
  - Downloading symfony/dependency-injection (v4.4.34)
  - Downloading symfony/console (v4.4.34)
  - Downloading symfony-cmf/routing (2.3.4)
  - Downloading stack/builder (v1.0.6)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-factory (1.0.1)
  - Downloading psr/cache (1.0.1)
  - Downloading pear/pear_exception (v1.0.2)
  - Downloading pear/console_getopt (v1.4.3)
  - Downloading pear/pear-core-minimal (v1.10.11)
  - Downloading pear/archive_tar (1.4.14)
  - Downloading masterminds/html5 (2.7.5)
  - Downloading laminas/laminas-stdlib (3.6.1)
  - Downloading laminas/laminas-escaper (2.9.0)
  - Downloading laminas/laminas-feed (2.15.0)
  - Downloading laminas/laminas-diactoros (2.8.0)
  - Downloading guzzlehttp/psr7 (1.8.3)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/guzzle (6.5.5)
  - Downloading doctrine/lexer (1.2.1)
  - Downloading egulias/email-validator (3.1.2)
  - Downloading doctrine/annotations (1.13.2)
  - Downloading doctrine/reflection (1.2.2)
  - Downloading composer/semver (3.2.6)
  - Downloading asm89/stack-cors (1.3.0)
  - Downloading drupal/core (9.3.5)
  0/61 [>---------------------------]   0%
 37/61 [================>-----------]  60%
 56/61 [=========================>--]  91%
 60/61 [===========================>]  98%
 61/61 [============================] 100%  - Installing composer/installers (v1.12.0): Extracting archive
  - Installing drupal/core-composer-scaffold (9.3.5): Extracting archive
  - Installing drupal/core-project-message (9.3.5): Extracting archive
  - Installing typo3/phar-stream-wrapper (v3.1.7): Extracting archive
  - Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
  - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
  - Installing twig/twig (v2.14.11): Extracting archive
  - Installing symfony/yaml (v4.4.34): Extracting archive
  - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
  - Installing symfony/var-dumper (v5.4.0): Extracting archive
  - Installing symfony/translation-contracts (v2.5.0): Extracting archive
  - Installing symfony/validator (v4.4.35): Extracting archive
  - Installing symfony/translation (v4.4.34): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
  - Installing psr/container (1.1.1): Extracting archive
  - Installing symfony/service-contracts (v2.5.0): Extracting archive
  - Installing symfony/serializer (v4.4.35): Extracting archive
  - Installing symfony/routing (v4.4.34): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.23.0): Extracting archive
  - Installing symfony/mime (v5.4.0): Extracting archive
  - Installing symfony/http-foundation (v4.4.34): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing symfony/psr-http-message-bridge (v2.1.2): Extracting archive
  - Installing symfony/process (v4.4.35): Extracting archive
  - Installing symfony/polyfill-iconv (v1.23.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.24.0): Extracting archive
  - Installing symfony/http-client-contracts (v2.5.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v1.1.11): Extracting archive
  - Installing symfony/event-dispatcher (v4.4.34): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing symfony/debug (v4.4.31): Extracting archive
  - Installing symfony/error-handler (v4.4.34): Extracting archive
  - Installing symfony/http-kernel (v4.4.35): Extracting archive
  - Installing symfony/dependency-injection (v4.4.34): Extracting archive
  - Installing symfony/console (v4.4.34): Extracting archive
  - Installing symfony-cmf/routing (2.3.4): Extracting archive
  - Installing stack/builder (v1.0.6): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing pear/pear_exception (v1.0.2): Extracting archive
  - Installing pear/console_getopt (v1.4.3): Extracting archive
  - Installing pear/pear-core-minimal (v1.10.11): Extracting archive
  - Installing pear/archive_tar (1.4.14): Extracting archive
  - Installing masterminds/html5 (2.7.5): Extracting archive
  - Installing laminas/laminas-stdlib (3.6.1): Extracting archive
  - Installing laminas/laminas-escaper (2.9.0): Extracting archive
  - Installing laminas/laminas-feed (2.15.0): Extracting archive
  - Installing laminas/laminas-diactoros (2.8.0): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.3): Extracting archive
  - Installing guzzlehttp/promises (1.5.1): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
  - Installing doctrine/lexer (1.2.1): Extracting archive
  - Installing egulias/email-validator (3.1.2): Extracting archive
  - Installing doctrine/annotations (1.13.2): Extracting archive
  - Installing doctrine/reflection (1.2.2): Extracting archive
  - Installing composer/semver (3.2.6): Extracting archive
  - Installing asm89/stack-cors (1.3.0): Extracting archive
  - Installing drupal/core (9.3.5): Extracting archive
  - Installing drupal/core-recommended (9.3.5)
  0/48 [>---------------------------]   0%
  9/48 [=====>----------------------]  18%
 19/48 [===========>----------------]  39%
 29/48 [================>-----------]  60%
 39/48 [======================>-----]  81%
 47/48 [===========================>]  97%
 48/48 [============================] 100%Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
41 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [project-root]/.editorconfig from assets/scaffold/files/editorconfig
  - Copy [project-root]/.gitattributes from assets/scaffold/files/gitattributes
  - Copy [web-root]/.csslintrc from assets/scaffold/files/csslintrc
  - Copy [web-root]/.eslintignore from assets/scaffold/files/eslintignore
  - Copy [web-root]/.eslintrc.json from assets/scaffold/files/eslintrc.json
  - Copy [web-root]/.ht.router.php from assets/scaffold/files/ht.router.php
  - Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
  - Copy [web-root]/example.gitignore from assets/scaffold/files/example.gitignore
  - Copy [web-root]/index.php from assets/scaffold/files/index.php
  - Copy [web-root]/INSTALL.txt from assets/scaffold/files/drupal.INSTALL.txt
  - Copy [web-root]/README.md from assets/scaffold/files/drupal.README.md
  - Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
  - Copy [web-root]/update.php from assets/scaffold/files/update.php
  - Copy [web-root]/web.config from assets/scaffold/files/web.config
  - Copy [web-root]/sites/README.txt from assets/scaffold/files/sites.README.txt
  - Copy [web-root]/sites/development.services.yml from assets/scaffold/files/development.services.yml
  - Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php
  - Copy [web-root]/sites/example.sites.php from assets/scaffold/files/example.sites.php
  - Copy [web-root]/sites/default/default.services.yml from assets/scaffold/files/default.services.yml
  - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
  - Copy [web-root]/modules/README.txt from assets/scaffold/files/modules.README.txt
  - Copy [web-root]/profiles/README.txt from assets/scaffold/files/profiles.README.txt
  - Copy [web-root]/themes/README.txt from assets/scaffold/files/themes.README.txt
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178

  Congratulations, you’ve installed the Drupal codebase
  from the drupal/recommended-project template!

Next steps:
  * Install the site: https://www.drupal.org/docs/8/install
  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html
  * Get support: https://www.drupal.org/support
  * Get involved with the Drupal community:
      https://www.drupal.org/getting-involved
  * Remove the plugin that prints this message:
      composer remove drupal/core-project-message
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
./composer.json has been updated
Running composer update islandora/islandora
Loading composer repositories with package information
Updating dependencies
Lock file operations: 44 installs, 0 updates, 0 removals
  - Locking doctrine/cache (2.1.1)
  - Locking doctrine/dbal (2.13.7)
  - Locking doctrine/deprecations (v0.5.3)
  - Locking doctrine/event-manager (1.1.1)
  - Locking drupal/config_update (1.7.0)
  - Locking drupal/context (4.1.0)
  - Locking drupal/eva (2.1.0)
  - Locking drupal/features (3.12.0)
  - Locking drupal/file_replace (1.2.0)
  - Locking drupal/filehash (1.7.0)
  - Locking drupal/flysystem (2.0.0-beta1)
  - Locking drupal/jwt (1.0.0-rc1)
  - Locking drupal/key (1.15.0)
  - Locking drupal/migrate_plus (5.2.0)
  - Locking drupal/migrate_source_csv (3.4.0)
  - Locking drupal/migrate_tools (5.1.0)
  - Locking drupal/prepopulate (2.3.0)
  - Locking drupal/search_api (1.23.0)
  - Locking drupal/token (1.10.0)
  - Locking easyrdf/easyrdf (1.1.1)
  - Locking firebase/php-jwt (v5.5.1)
  - Locking islandora/chullo (dev-dev d563d5e)
  - Locking islandora/crayfish-commons (dev-dev 41f9482)
  - Locking islandora/islandora (dev-8.x-1.x 2923a1a)
  - Locking islandora/jsonld (dev-8.x-1.x 7f16912)
  - Locking league/csv (9.8.0)
  - Locking league/flysystem (1.1.9)
  - Locking league/flysystem-replicate-adapter (1.0.1)
  - Locking league/mime-type-detection (1.9.0)
  - Locking ml/iri (1.1.4)
  - Locking ml/json-ld (1.2.0)
  - Locking monolog/monolog (1.26.1)
  - Locking namshi/jose (7.2.3)
  - Locking pimple/pimple (v3.5.0)
  - Locking silex/silex (v2.3.0)
  - Locking stomp-php/stomp-php (4.6.1)
  - Locking symfony/polyfill-intl-grapheme (v1.24.0)
  - Locking symfony/polyfill-php56 (v1.20.0)
  - Locking symfony/property-access (v5.4.3)
  - Locking symfony/property-info (v5.4.3)
  - Locking symfony/security (v4.4.37)
  - Locking symfony/string (v5.4.3)
  - Locking twistor/flysystem-stream-wrapper (v1.0.9)
  - Locking twistor/stream-util (v1.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 44 installs, 0 updates, 0 removals
  - Downloading doctrine/event-manager (1.1.1)
  - Downloading doctrine/deprecations (v0.5.3)
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/dbal (2.13.7)
  - Downloading drupal/config_update (1.7.0)
  - Downloading drupal/key (1.15.0)
  - Downloading firebase/php-jwt (v5.5.1)
  - Downloading ml/iri (1.1.4)
  - Downloading ml/json-ld (1.2.0)
  - Downloading easyrdf/easyrdf (1.1.1)
  - Syncing islandora/chullo (dev-dev d563d5e) into cache
  - Downloading stomp-php/stomp-php (4.6.1)
  - Syncing islandora/jsonld (dev-8.x-1.x 7f16912) into cache
  - Downloading symfony/polyfill-intl-grapheme (v1.24.0)
  - Downloading symfony/string (v5.4.3)
  - Downloading symfony/property-info (v5.4.3)
  - Downloading symfony/property-access (v5.4.3)
  - Downloading symfony/security (v4.4.37)
  - Downloading pimple/pimple (v3.5.0)
  - Downloading silex/silex (v2.3.0)
  - Downloading namshi/jose (7.2.3)
  - Downloading monolog/monolog (1.26.1)
  - Syncing islandora/crayfish-commons (dev-dev 41f9482) into cache
  - Downloading drupal/token (1.10.0)
  - Downloading drupal/search_api (1.23.0)
  - Downloading drupal/prepopulate (2.3.0)
  - Downloading drupal/migrate_plus (5.2.0)
  - Downloading drupal/migrate_tools (5.1.0)
  - Downloading league/csv (9.8.0)
  - Downloading drupal/migrate_source_csv (3.4.0)
  - Downloading drupal/jwt (1.0.0-rc1)
  - Downloading twistor/stream-util (v1.0.1)
  - Downloading league/mime-type-detection (1.9.0)
  - Downloading league/flysystem (1.1.9)
  - Downloading twistor/flysystem-stream-wrapper (v1.0.9)
  - Downloading league/flysystem-replicate-adapter (1.0.1)
  - Downloading drupal/flysystem (2.0.0-beta1)
  - Downloading drupal/filehash (1.7.0)
  - Downloading drupal/file_replace (1.2.0)
  - Downloading drupal/features (3.12.0)
  - Downloading drupal/eva (2.1.0)
  - Downloading drupal/context (4.1.0)
  - Syncing islandora/islandora (dev-8.x-1.x 2923a1a) into cache
  0/39 [>---------------------------]   0%
 13/39 [=========>------------------]  33%
 33/39 [=======================>----]  84%
 39/39 [============================] 100%  - Installing doctrine/event-manager (1.1.1): Extracting archive
  - Installing doctrine/deprecations (v0.5.3): Extracting archive
  - Installing doctrine/cache (2.1.1): Extracting archive
  - Installing doctrine/dbal (2.13.7): Extracting archive
  - Installing drupal/config_update (1.7.0): Extracting archive
  - Installing drupal/key (1.15.0): Extracting archive
  - Installing firebase/php-jwt (v5.5.1): Extracting archive
  - Installing ml/iri (1.1.4): Extracting archive
  - Installing ml/json-ld (1.2.0): Extracting archive
  - Installing easyrdf/easyrdf (1.1.1): Extracting archive
  - Installing islandora/chullo (dev-dev d563d5e): Cloning d563d5e48e from cache
  - Installing stomp-php/stomp-php (4.6.1): Extracting archive
  - Installing islandora/jsonld (dev-8.x-1.x 7f16912): Cloning 7f169128a6 from cache
  - Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
  - Installing symfony/string (v5.4.3): Extracting archive
  - Installing symfony/property-info (v5.4.3): Extracting archive
  - Installing symfony/property-access (v5.4.3): Extracting archive
  - Installing symfony/security (v4.4.37): Extracting archive
  - Installing pimple/pimple (v3.5.0): Extracting archive
  - Installing silex/silex (v2.3.0): Extracting archive
  - Installing symfony/polyfill-php56 (v1.20.0)
  - Installing namshi/jose (7.2.3): Extracting archive
  - Installing monolog/monolog (1.26.1): Extracting archive
  - Installing islandora/crayfish-commons (dev-dev 41f9482): Cloning 41f94824d5 from cache
  - Installing drupal/token (1.10.0): Extracting archive
  - Installing drupal/search_api (1.23.0): Extracting archive
  - Installing drupal/prepopulate (2.3.0): Extracting archive
  - Installing drupal/migrate_plus (5.2.0): Extracting archive
  - Installing drupal/migrate_tools (5.1.0): Extracting archive
  - Installing league/csv (9.8.0): Extracting archive
  - Installing drupal/migrate_source_csv (3.4.0): Extracting archive
  - Installing drupal/jwt (1.0.0-rc1): Extracting archive
  - Installing twistor/stream-util (v1.0.1): Extracting archive
  - Installing league/mime-type-detection (1.9.0): Extracting archive
  - Installing league/flysystem (1.1.9): Extracting archive
  - Installing twistor/flysystem-stream-wrapper (v1.0.9): Extracting archive
  - Installing league/flysystem-replicate-adapter (1.0.1): Extracting archive
  - Installing drupal/flysystem (2.0.0-beta1): Extracting archive
  - Installing drupal/filehash (1.7.0): Extracting archive
  - Installing drupal/file_replace (1.2.0): Extracting archive
  - Installing drupal/features (3.12.0): Extracting archive
  - Installing drupal/eva (2.1.0): Extracting archive
  - Installing drupal/context (4.1.0): Extracting archive
  - Installing islandora/islandora (dev-8.x-1.x 2923a1a): Cloning 2923a1a8b9 from cache
  0/29 [>---------------------------]   0%
 10/29 [=========>------------------]  34%
 19/29 [==================>---------]  65%
 29/29 [============================] 100%
 29/29 [============================] 100%41 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Generating autoload files
56 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [project-root]/.editorconfig from assets/scaffold/files/editorconfig
  - Copy [project-root]/.gitattributes from assets/scaffold/files/gitattributes
./composer.json has been updated
Running composer update drush/drush
Loading composer repositories with package information
Updating dependencies
Lock file operations: 23 installs, 0 updates, 0 removals
  - Locking chi-teck/drupal-code-generator (1.33.1)
  - Locking consolidation/annotated-command (4.5.1)
  - Locking consolidation/config (1.2.1)
  - Locking consolidation/filter-via-dot-access-data (1.0.0)
  - Locking consolidation/log (2.1.0)
  - Locking consolidation/output-formatters (4.2.1)
  - Locking consolidation/robo (3.0.7)
  - Locking consolidation/self-update (2.0.4)
  - Locking consolidation/site-alias (3.1.3)
  - Locking consolidation/site-process (4.1.3)
  - Locking dflydev/dot-access-data (v1.1.0)
  - Locking drush/drush (10.6.2)
  - Locking enlightn/security-checker (v1.9.0)
  - Locking grasmash/expander (1.0.0)
  - Locking grasmash/yaml-expander (1.4.0)
  - Locking league/container (3.4.1)
  - Locking nikic/php-parser (v4.13.2)
  - Locking psy/psysh (v0.10.12)
  - Locking symfony/filesystem (v4.4.37)
  - Locking symfony/finder (v5.4.3)
  - Locking webflo/drupal-finder (1.2.2)
  - Locking webmozart/assert (1.10.0)
  - Locking webmozart/path-util (2.3.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 23 installs, 0 updates, 0 removals
  - Downloading symfony/finder (v5.4.3)
  - Downloading dflydev/dot-access-data (v1.1.0)
  - Downloading consolidation/output-formatters (4.2.1)
  - Downloading consolidation/annotated-command (4.5.1)
  - Downloading consolidation/log (2.1.0)
  - Downloading symfony/filesystem (v4.4.37)
  - Downloading consolidation/self-update (2.0.4)
  - Downloading webmozart/assert (1.10.0)
  - Downloading webmozart/path-util (2.3.0)
  - Downloading webflo/drupal-finder (1.2.2)
  - Downloading nikic/php-parser (v4.13.2)
  - Downloading psy/psysh (v0.10.12)
  - Downloading league/container (3.4.1)
  - Downloading grasmash/yaml-expander (1.4.0)
  - Downloading enlightn/security-checker (v1.9.0)
  - Downloading grasmash/expander (1.0.0)
  - Downloading consolidation/config (1.2.1)
  - Downloading consolidation/site-alias (3.1.3)
  - Downloading consolidation/site-process (4.1.3)
  - Downloading consolidation/robo (3.0.7)
  - Downloading consolidation/filter-via-dot-access-data (1.0.0)
  - Downloading chi-teck/drupal-code-generator (1.33.1)
  - Downloading drush/drush (10.6.2)
  0/23 [>---------------------------]   0%
 22/23 [==========================>-]  95%
 23/23 [============================] 100%  - Installing symfony/finder (v5.4.3): Extracting archive
  - Installing dflydev/dot-access-data (v1.1.0): Extracting archive
  - Installing consolidation/output-formatters (4.2.1): Extracting archive
  - Installing consolidation/annotated-command (4.5.1): Extracting archive
  - Installing consolidation/log (2.1.0): Extracting archive
  - Installing symfony/filesystem (v4.4.37): Extracting archive
  - Installing consolidation/self-update (2.0.4): Extracting archive
  - Installing webmozart/assert (1.10.0): Extracting archive
  - Installing webmozart/path-util (2.3.0): Extracting archive
  - Installing webflo/drupal-finder (1.2.2): Extracting archive
  - Installing nikic/php-parser (v4.13.2): Extracting archive
  - Installing psy/psysh (v0.10.12): Extracting archive
  - Installing league/container (3.4.1): Extracting archive
  - Installing grasmash/yaml-expander (1.4.0): Extracting archive
  - Installing enlightn/security-checker (v1.9.0): Extracting archive
  - Installing grasmash/expander (1.0.0): Extracting archive
  - Installing consolidation/config (1.2.1): Extracting archive
  - Installing consolidation/site-alias (3.1.3): Extracting archive
  - Installing consolidation/site-process (4.1.3): Extracting archive
  - Installing consolidation/robo (3.0.7): Extracting archive
  - Installing consolidation/filter-via-dot-access-data (1.0.0): Extracting archive
  - Installing chi-teck/drupal-code-generator (1.33.1): Extracting archive
  - Installing drush/drush (10.6.2): Extracting archive
  0/13 [>---------------------------]   0%
  8/13 [=================>----------]  61%
 12/13 [=========================>--]  92%
 13/13 [============================] 100%7 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[cmd] with-contenv exited 0
[09-Feb-2022 21:56:10] NOTICE: Terminating ...
[09-Feb-2022 21:56:10] NOTICE: exiting, bye-bye!
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[services.d] service fpm finish: executing...
[services.d] service fpm exiting with exit code: 0
s6-svwait: fatal: supervisor died
[services.d] service nginx finish: executing...
[services.d] service nginx exiting with exit code: 0
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Native build is an experimental feature and could change at any time
Creating network "isle-dc_default" with the default driver
Creating network "isle-dc_gateway" with driver "bridge"
Creating volume "isle-dc_activemq-data" with default driver
Creating volume "isle-dc_blazegraph-data" with default driver
Creating volume "isle-dc_cantaloupe-data" with default driver
Creating volume "isle-dc_drupal-sites-data" with default driver
Creating volume "isle-dc_fcrepo-data" with default driver
Creating volume "isle-dc_mariadb-data" with default driver
Creating volume "isle-dc_mariadb-files" with default driver
Creating volume "isle-dc_matomo-config-data" with default driver
Creating volume "isle-dc_solr-data" with default driver
Creating isle-dc_recast_1     ... done
Creating isle-dc_blazegraph_1 ... done
Creating isle-dc_houdini_1    ... done
Creating isle-dc_cantaloupe_1 ... done
Creating isle-dc_solr_1       ... done
Creating isle-dc_hypercube_1  ... done
Creating traefik              ... done
Creating isle-dc_fits_1       ... done
Creating isle-dc_homarus_1    ... done
Creating isle-dc_mariadb_1    ... done
Creating isle-dc_milliner_1   ... done
Creating isle-dc_alpaca_1     ... done
Creating isle-dc_activemq_1   ... done
Creating isle-dc_fcrepo_1     ... done
Creating isle-dc_matomo_1     ... done
Creating isle-dc_crayfits_1   ... done
Creating isle-dc_drupal_1     ... done
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Missing option --port and fallback environment variable DB_PORT
make[1]: *** [Makefile:117: drupal-database] Error 1
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make: *** [Makefile:335: local] Error 2
nigelgbanks commented 2 years ago

It's super weird.

Missing option --port and fallback environment variable DB_PORT is coming from here. Since you and isle-dc doesn't define a value for DB_PORT it should use the fallback which would be set here. DB_DRIVER will be set as if your using either mariadb/postgres they both set the appropriate value eg. mariadb.

So the only way this could fail is as far as I can see is that the call to do the database install is happening before the container has finished initialising... Do you have really fast machine? Or perhaps docker runs very slow on the machine... either way I think I can come up with something for this.

misilot commented 2 years ago

It's a t3a.large instance in AWS. 2vCPU, 8GB of memory.

g7morris commented 2 years ago

@nigelgbanks Going to chime in and say I see this error Missing option --port and fallback environment variable DB_PORT all the time on multiple projects that I've built for the first time especially. I think it is a race condition of some kind as you pointed out the call is to the db is happening prior to the finishing of said container initialization (Maybe S6 needs more time?). Perhaps a sleep of 5-10 seconds ?

nigelgbanks commented 2 years ago

So I think this might resolve it give this branch a try https://github.com/Islandora-Devops/isle-dc/tree/issues-224 Just a single line that waits until the services in the drupal container have started so all initialisation has completed.

misilot commented 2 years ago
Generating Secrets
Generated or copied ACTIVEMQ_PASSWORD!
Generated or copied ACTIVEMQ_WEB_ADMIN_PASSWORD!
Generated or copied ALPACA_ACTIVEMQ_PASSWORD!
Generated or copied ALPACA_KARAF_ADMIN_PASSWORD!
Generated or copied CODE_SERVER_PASSWORD!
Generated or copied DB_ROOT_PASSWORD!
Generated or copied DRUPAL_DEFAULT_ACCOUNT_PASSWORD!
Generated or copied DRUPAL_DEFAULT_CONFIGDIR!
Generated or copied DRUPAL_DEFAULT_DB_PASSWORD!
Generated or copied DRUPAL_DEFAULT_SALT!
Generated or copied FCREPO_DB_PASSWORD!
Generated or copied GEMINI_DB_PASSWORD!
Generated or copied JWT_ADMIN_TOKEN!
Generated or copied JWT_PRIVATE_KEY!
Generated or copied JWT_PUBLIC_KEY!
Generated or copied MATOMO_DB_PASSWORD!
Generated or copied MATOMO_USER_PASS!
Generated or copied TOMCAT_ADMIN_PASSWORD!
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
docker-compose pull
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Pulling activemq   ... done
Pulling alpaca     ... done
Pulling blazegraph ... done
Pulling cantaloupe ... done
Pulling fcrepo     ... done
Pulling fits       ... done
Pulling crayfits   ... done
Pulling homarus    ... done
Pulling houdini    ... done
Pulling hypercube  ... done
Pulling mariadb    ... done
Pulling matomo     ... done
Pulling milliner   ... done
Pulling recast     ... done
Pulling solr       ... done
Pulling traefik    ... done
Pulling drupal     ... done
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-container-environment-00-init.sh: executing...
[cont-init.d] 00-container-environment-00-init.sh: exited 0.
[cont-init.d] 00-container-environment-01-override-nginx.sh: executing...
[cont-init.d] 00-container-environment-01-override-nginx.sh: exited 0.
[cont-init.d] 00-container-environment-01-override-php.sh: executing...
[cont-init.d] 00-container-environment-01-override-php.sh: exited 0.
[cont-init.d] 00-container-environment-02-database-defaults.sh: executing...
[cont-init.d] 00-container-environment-02-database-defaults.sh: exited 0.
[cont-init.d] 01-confd-render-templates.sh: executing...
[cont-init.d] 01-confd-render-templates.sh: exited 0.
[cont-init.d] 02-fpm-install.sh: executing...
[cont-init.d] 02-fpm-install.sh: exited 0.
[cont-init.d] 02-ngnix-install.sh: executing...
[cont-init.d] 02-ngnix-install.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[09-Feb-2022 22:52:12] NOTICE: fpm is running, pid 727
[09-Feb-2022 22:52:12] NOTICE: ready to handle connections
Creating a "drupal/recommended-project:^9.1" project at "/tmp/codebase"
Installing drupal/recommended-project (9.3.5)
  - Downloading drupal/recommended-project (9.3.5)
  - Installing drupal/recommended-project (9.3.5): Extracting archive
Created project in /tmp/codebase
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Package operations: 62 installs, 0 updates, 0 removals
  - Downloading composer/installers (v1.12.0)
  - Downloading drupal/core-composer-scaffold (9.3.5)
  - Downloading drupal/core-project-message (9.3.5)
  - Downloading typo3/phar-stream-wrapper (v3.1.7)
  - Downloading symfony/polyfill-php72 (v1.24.0)
  - Downloading symfony/polyfill-mbstring (v1.23.1)
  - Downloading symfony/polyfill-ctype (v1.23.0)
  - Downloading twig/twig (v2.14.11)
  - Downloading symfony/yaml (v4.4.34)
  - Downloading symfony/polyfill-php80 (v1.23.1)
  - Downloading symfony/var-dumper (v5.4.0)
  - Downloading symfony/translation-contracts (v2.5.0)
  - Downloading symfony/validator (v4.4.35)
  - Downloading symfony/translation (v4.4.34)
  - Downloading symfony/deprecation-contracts (v2.5.0)
  - Downloading psr/container (1.1.1)
  - Downloading symfony/service-contracts (v2.5.0)
  - Downloading symfony/serializer (v4.4.35)
  - Downloading symfony/routing (v4.4.34)
  - Downloading symfony/polyfill-intl-normalizer (v1.23.0)
  - Downloading symfony/polyfill-intl-idn (v1.23.0)
  - Downloading symfony/mime (v5.4.0)
  - Downloading symfony/http-foundation (v4.4.34)
  - Downloading psr/http-message (1.0.1)
  - Downloading symfony/psr-http-message-bridge (v2.1.2)
  - Downloading symfony/process (v4.4.35)
  - Downloading symfony/polyfill-iconv (v1.23.0)
  - Downloading symfony/polyfill-php73 (v1.24.0)
  - Downloading symfony/http-client-contracts (v2.5.0)
  - Downloading symfony/event-dispatcher-contracts (v1.1.11)
  - Downloading symfony/event-dispatcher (v4.4.34)
  - Downloading psr/log (1.1.4)
  - Downloading symfony/debug (v4.4.31)
  - Downloading symfony/error-handler (v4.4.34)
  - Downloading symfony/http-kernel (v4.4.35)
  - Downloading symfony/dependency-injection (v4.4.34)
  - Downloading symfony/console (v4.4.34)
  - Downloading symfony-cmf/routing (2.3.4)
  - Downloading stack/builder (v1.0.6)
  - Downloading ralouphie/getallheaders (3.0.3)
  - Downloading psr/http-factory (1.0.1)
  - Downloading psr/cache (1.0.1)
  - Downloading pear/pear_exception (v1.0.2)
  - Downloading pear/console_getopt (v1.4.3)
  - Downloading pear/pear-core-minimal (v1.10.11)
  - Downloading pear/archive_tar (1.4.14)
  - Downloading masterminds/html5 (2.7.5)
  - Downloading laminas/laminas-stdlib (3.6.1)
  - Downloading laminas/laminas-escaper (2.9.0)
  - Downloading laminas/laminas-feed (2.15.0)
  - Downloading laminas/laminas-diactoros (2.8.0)
  - Downloading guzzlehttp/psr7 (1.8.3)
  - Downloading guzzlehttp/promises (1.5.1)
  - Downloading guzzlehttp/guzzle (6.5.5)
  - Downloading doctrine/lexer (1.2.1)
  - Downloading egulias/email-validator (3.1.2)
  - Downloading doctrine/annotations (1.13.2)
  - Downloading doctrine/reflection (1.2.2)
  - Downloading composer/semver (3.2.6)
  - Downloading asm89/stack-cors (1.3.0)
  - Downloading drupal/core (9.3.5)
  0/61 [>---------------------------]   0%
 38/61 [=================>----------]  62%
 57/61 [==========================>-]  93%
 60/61 [===========================>]  98%
 61/61 [============================] 100%  - Installing composer/installers (v1.12.0): Extracting archive
  - Installing drupal/core-composer-scaffold (9.3.5): Extracting archive
  - Installing drupal/core-project-message (9.3.5): Extracting archive
  - Installing typo3/phar-stream-wrapper (v3.1.7): Extracting archive
  - Installing symfony/polyfill-php72 (v1.24.0): Extracting archive
  - Installing symfony/polyfill-mbstring (v1.23.1): Extracting archive
  - Installing symfony/polyfill-ctype (v1.23.0): Extracting archive
  - Installing twig/twig (v2.14.11): Extracting archive
  - Installing symfony/yaml (v4.4.34): Extracting archive
  - Installing symfony/polyfill-php80 (v1.23.1): Extracting archive
  - Installing symfony/var-dumper (v5.4.0): Extracting archive
  - Installing symfony/translation-contracts (v2.5.0): Extracting archive
  - Installing symfony/validator (v4.4.35): Extracting archive
  - Installing symfony/translation (v4.4.34): Extracting archive
  - Installing symfony/deprecation-contracts (v2.5.0): Extracting archive
  - Installing psr/container (1.1.1): Extracting archive
  - Installing symfony/service-contracts (v2.5.0): Extracting archive
  - Installing symfony/serializer (v4.4.35): Extracting archive
  - Installing symfony/routing (v4.4.34): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.23.0): Extracting archive
  - Installing symfony/mime (v5.4.0): Extracting archive
  - Installing symfony/http-foundation (v4.4.34): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing symfony/psr-http-message-bridge (v2.1.2): Extracting archive
  - Installing symfony/process (v4.4.35): Extracting archive
  - Installing symfony/polyfill-iconv (v1.23.0): Extracting archive
  - Installing symfony/polyfill-php73 (v1.24.0): Extracting archive
  - Installing symfony/http-client-contracts (v2.5.0): Extracting archive
  - Installing symfony/event-dispatcher-contracts (v1.1.11): Extracting archive
  - Installing symfony/event-dispatcher (v4.4.34): Extracting archive
  - Installing psr/log (1.1.4): Extracting archive
  - Installing symfony/debug (v4.4.31): Extracting archive
  - Installing symfony/error-handler (v4.4.34): Extracting archive
  - Installing symfony/http-kernel (v4.4.35): Extracting archive
  - Installing symfony/dependency-injection (v4.4.34): Extracting archive
  - Installing symfony/console (v4.4.34): Extracting archive
  - Installing symfony-cmf/routing (2.3.4): Extracting archive
  - Installing stack/builder (v1.0.6): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-factory (1.0.1): Extracting archive
  - Installing psr/cache (1.0.1): Extracting archive
  - Installing pear/pear_exception (v1.0.2): Extracting archive
  - Installing pear/console_getopt (v1.4.3): Extracting archive
  - Installing pear/pear-core-minimal (v1.10.11): Extracting archive
  - Installing pear/archive_tar (1.4.14): Extracting archive
  - Installing masterminds/html5 (2.7.5): Extracting archive
  - Installing laminas/laminas-stdlib (3.6.1): Extracting archive
  - Installing laminas/laminas-escaper (2.9.0): Extracting archive
  - Installing laminas/laminas-feed (2.15.0): Extracting archive
  - Installing laminas/laminas-diactoros (2.8.0): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.3): Extracting archive
  - Installing guzzlehttp/promises (1.5.1): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
  - Installing doctrine/lexer (1.2.1): Extracting archive
  - Installing egulias/email-validator (3.1.2): Extracting archive
  - Installing doctrine/annotations (1.13.2): Extracting archive
  - Installing doctrine/reflection (1.2.2): Extracting archive
  - Installing composer/semver (3.2.6): Extracting archive
  - Installing asm89/stack-cors (1.3.0): Extracting archive
  - Installing drupal/core (9.3.5): Extracting archive
  - Installing drupal/core-recommended (9.3.5)
  0/48 [>---------------------------]   0%
  9/48 [=====>----------------------]  18%
 19/48 [===========>----------------]  39%
 29/48 [================>-----------]  60%
 39/48 [======================>-----]  81%
 47/48 [===========================>]  97%
 48/48 [============================] 100%Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
41 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [project-root]/.editorconfig from assets/scaffold/files/editorconfig
  - Copy [project-root]/.gitattributes from assets/scaffold/files/gitattributes
  - Copy [web-root]/.csslintrc from assets/scaffold/files/csslintrc
  - Copy [web-root]/.eslintignore from assets/scaffold/files/eslintignore
  - Copy [web-root]/.eslintrc.json from assets/scaffold/files/eslintrc.json
  - Copy [web-root]/.ht.router.php from assets/scaffold/files/ht.router.php
  - Copy [web-root]/.htaccess from assets/scaffold/files/htaccess
  - Copy [web-root]/example.gitignore from assets/scaffold/files/example.gitignore
  - Copy [web-root]/index.php from assets/scaffold/files/index.php
  - Copy [web-root]/INSTALL.txt from assets/scaffold/files/drupal.INSTALL.txt
  - Copy [web-root]/README.md from assets/scaffold/files/drupal.README.md
  - Copy [web-root]/robots.txt from assets/scaffold/files/robots.txt
  - Copy [web-root]/update.php from assets/scaffold/files/update.php
  - Copy [web-root]/web.config from assets/scaffold/files/web.config
  - Copy [web-root]/sites/README.txt from assets/scaffold/files/sites.README.txt
  - Copy [web-root]/sites/development.services.yml from assets/scaffold/files/development.services.yml
  - Copy [web-root]/sites/example.settings.local.php from assets/scaffold/files/example.settings.local.php
  - Copy [web-root]/sites/example.sites.php from assets/scaffold/files/example.sites.php
  - Copy [web-root]/sites/default/default.services.yml from assets/scaffold/files/default.services.yml
  - Copy [web-root]/sites/default/default.settings.php from assets/scaffold/files/default.settings.php
  - Copy [web-root]/modules/README.txt from assets/scaffold/files/modules.README.txt
  - Copy [web-root]/profiles/README.txt from assets/scaffold/files/profiles.README.txt
  - Copy [web-root]/themes/README.txt from assets/scaffold/files/themes.README.txt
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178

  Congratulations, you’ve installed the Drupal codebase
  from the drupal/recommended-project template!

Next steps:
  * Install the site: https://www.drupal.org/docs/8/install
  * Read the user guide: https://www.drupal.org/docs/user_guide/en/index.html
  * Get support: https://www.drupal.org/support
  * Get involved with the Drupal community:
      https://www.drupal.org/getting-involved
  * Remove the plugin that prints this message:
      composer remove drupal/core-project-message
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
./composer.json has been updated
Running composer update drupal/flysystem --with-all-dependencies
Loading composer repositories with package information
Updating dependencies
Lock file operations: 6 installs, 0 updates, 0 removals
  - Locking drupal/flysystem (2.0.0-beta1)
  - Locking league/flysystem (1.1.9)
  - Locking league/flysystem-replicate-adapter (1.0.1)
  - Locking league/mime-type-detection (1.9.0)
  - Locking twistor/flysystem-stream-wrapper (v1.0.9)
  - Locking twistor/stream-util (v1.0.1)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
  - Downloading twistor/stream-util (v1.0.1)
  - Downloading league/mime-type-detection (1.9.0)
  - Downloading league/flysystem (1.1.9)
  - Downloading twistor/flysystem-stream-wrapper (v1.0.9)
  - Downloading league/flysystem-replicate-adapter (1.0.1)
  - Downloading drupal/flysystem (2.0.0-beta1)
 0/6 [>---------------------------]   0%
 5/6 [=======================>----]  83%
 6/6 [============================] 100%  - Installing twistor/stream-util (v1.0.1): Extracting archive
  - Installing league/mime-type-detection (1.9.0): Extracting archive
  - Installing league/flysystem (1.1.9): Extracting archive
  - Installing twistor/flysystem-stream-wrapper (v1.0.9): Extracting archive
  - Installing league/flysystem-replicate-adapter (1.0.1): Extracting archive
  - Installing drupal/flysystem (2.0.0-beta1): Extracting archive
    0 [>---------------------------]    0 [>---------------------------]    0 [>---------------------------]12 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Generating autoload files
43 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Scaffolding files for drupal/core:
  - Copy [project-root]/.editorconfig from assets/scaffold/files/editorconfig
  - Copy [project-root]/.gitattributes from assets/scaffold/files/gitattributes
bash: line 1: drush: command not found
./composer.json has been updated
Running composer update islandora/islandora
Loading composer repositories with package information
Updating dependencies
Lock file operations: 38 installs, 0 updates, 0 removals
  - Locking doctrine/cache (2.1.1)
  - Locking doctrine/dbal (2.13.7)
  - Locking doctrine/deprecations (v0.5.3)
  - Locking doctrine/event-manager (1.1.1)
  - Locking drupal/config_update (1.7.0)
  - Locking drupal/context (4.1.0)
  - Locking drupal/eva (2.1.0)
  - Locking drupal/features (3.12.0)
  - Locking drupal/file_replace (1.2.0)
  - Locking drupal/filehash (1.7.0)
  - Locking drupal/jwt (1.0.0-rc1)
  - Locking drupal/key (1.15.0)
  - Locking drupal/migrate_plus (5.2.0)
  - Locking drupal/migrate_source_csv (3.4.0)
  - Locking drupal/migrate_tools (5.1.0)
  - Locking drupal/prepopulate (2.3.0)
  - Locking drupal/search_api (1.23.0)
  - Locking drupal/token (1.10.0)
  - Locking easyrdf/easyrdf (1.1.1)
  - Locking firebase/php-jwt (v5.5.1)
  - Locking islandora/chullo (dev-dev d563d5e)
  - Locking islandora/crayfish-commons (dev-dev 41f9482)
  - Locking islandora/islandora (dev-8.x-1.x 2923a1a)
  - Locking islandora/jsonld (dev-8.x-1.x 7f16912)
  - Locking league/csv (9.8.0)
  - Locking ml/iri (1.1.4)
  - Locking ml/json-ld (1.2.0)
  - Locking monolog/monolog (1.26.1)
  - Locking namshi/jose (7.2.3)
  - Locking pimple/pimple (v3.5.0)
  - Locking silex/silex (v2.3.0)
  - Locking stomp-php/stomp-php (4.6.1)
  - Locking symfony/polyfill-intl-grapheme (v1.24.0)
  - Locking symfony/polyfill-php56 (v1.20.0)
  - Locking symfony/property-access (v5.4.3)
  - Locking symfony/property-info (v5.4.3)
  - Locking symfony/security (v4.4.37)
  - Locking symfony/string (v5.4.3)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 38 installs, 0 updates, 0 removals
  - Downloading doctrine/event-manager (1.1.1)
  - Downloading doctrine/deprecations (v0.5.3)
  - Downloading doctrine/cache (2.1.1)
  - Downloading doctrine/dbal (2.13.7)
  - Downloading drupal/config_update (1.7.0)
  - Downloading drupal/key (1.15.0)
  - Downloading firebase/php-jwt (v5.5.1)
  - Downloading ml/iri (1.1.4)
  - Downloading ml/json-ld (1.2.0)
  - Downloading easyrdf/easyrdf (1.1.1)
  - Syncing islandora/chullo (dev-dev d563d5e) into cache
  - Downloading stomp-php/stomp-php (4.6.1)
  - Syncing islandora/jsonld (dev-8.x-1.x 7f16912) into cache
  - Downloading symfony/polyfill-intl-grapheme (v1.24.0)
  - Downloading symfony/string (v5.4.3)
  - Downloading symfony/property-info (v5.4.3)
  - Downloading symfony/property-access (v5.4.3)
  - Downloading symfony/security (v4.4.37)
  - Downloading pimple/pimple (v3.5.0)
  - Downloading silex/silex (v2.3.0)
  - Downloading namshi/jose (7.2.3)
  - Downloading monolog/monolog (1.26.1)
  - Syncing islandora/crayfish-commons (dev-dev 41f9482) into cache
  - Downloading drupal/token (1.10.0)
  - Downloading drupal/search_api (1.23.0)
  - Downloading drupal/prepopulate (2.3.0)
  - Downloading drupal/migrate_plus (5.2.0)
  - Downloading drupal/migrate_tools (5.1.0)
  - Downloading league/csv (9.8.0)
  - Downloading drupal/migrate_source_csv (3.4.0)
  - Downloading drupal/jwt (1.0.0-rc1)
  - Downloading drupal/filehash (1.7.0)
  - Downloading drupal/file_replace (1.2.0)
  - Downloading drupal/features (3.12.0)
  - Downloading drupal/eva (2.1.0)
  - Downloading drupal/context (4.1.0)
  - Syncing islandora/islandora (dev-8.x-1.x 2923a1a) into cache
  0/33 [>---------------------------]   0%
  2/33 [=>--------------------------]   6%
 28/33 [=======================>----]  84%
 33/33 [============================] 100%  - Installing doctrine/event-manager (1.1.1): Extracting archive
  - Installing doctrine/deprecations (v0.5.3): Extracting archive
  - Installing doctrine/cache (2.1.1): Extracting archive
  - Installing doctrine/dbal (2.13.7): Extracting archive
  - Installing drupal/config_update (1.7.0): Extracting archive
  - Installing drupal/key (1.15.0): Extracting archive
  - Installing firebase/php-jwt (v5.5.1): Extracting archive
  - Installing ml/iri (1.1.4): Extracting archive
  - Installing ml/json-ld (1.2.0): Extracting archive
  - Installing easyrdf/easyrdf (1.1.1): Extracting archive
  - Installing islandora/chullo (dev-dev d563d5e): Cloning d563d5e48e from cache
  - Installing stomp-php/stomp-php (4.6.1): Extracting archive
  - Installing islandora/jsonld (dev-8.x-1.x 7f16912): Cloning 7f169128a6 from cache
  - Installing symfony/polyfill-intl-grapheme (v1.24.0): Extracting archive
  - Installing symfony/string (v5.4.3): Extracting archive
  - Installing symfony/property-info (v5.4.3): Extracting archive
  - Installing symfony/property-access (v5.4.3): Extracting archive
  - Installing symfony/security (v4.4.37): Extracting archive
  - Installing pimple/pimple (v3.5.0): Extracting archive
  - Installing silex/silex (v2.3.0): Extracting archive
  - Installing symfony/polyfill-php56 (v1.20.0)
  - Installing namshi/jose (7.2.3): Extracting archive
  - Installing monolog/monolog (1.26.1): Extracting archive
  - Installing islandora/crayfish-commons (dev-dev 41f9482): Cloning 41f94824d5 from cache
  - Installing drupal/token (1.10.0): Extracting archive
  - Installing drupal/search_api (1.23.0): Extracting archive
  - Installing drupal/prepopulate (2.3.0): Extracting archive
  - Installing drupal/migrate_plus (5.2.0): Extracting archive
  - Installing drupal/migrate_tools (5.1.0): Extracting archive
  - Installing league/csv (9.8.0): Extracting archive
  - Installing drupal/migrate_source_csv (3.4.0): Extracting archive
  - Installing drupal/jwt (1.0.0-rc1): Extracting archive
  - Installing drupal/filehash (1.7.0): Extracting archive
  - Installing drupal/file_replace (1.2.0): Extracting archive
  - Installing drupal/features (3.12.0): Extracting archive
  - Installing drupal/eva (2.1.0): Extracting archive
  - Installing drupal/context (4.1.0): Extracting archive
  - Installing islandora/islandora (dev-8.x-1.x 2923a1a): Cloning 2923a1a8b9 from cache
  0/23 [>---------------------------]   0%
 10/23 [============>---------------]  43%
 19/23 [=======================>----]  82%
 23/23 [============================] 100%29 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Generating autoload files
56 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
./composer.json has been updated
Running composer update drush/drush
Loading composer repositories with package information
Updating dependencies
Lock file operations: 23 installs, 0 updates, 0 removals
  - Locking chi-teck/drupal-code-generator (1.33.1)
  - Locking consolidation/annotated-command (4.5.1)
  - Locking consolidation/config (1.2.1)
  - Locking consolidation/filter-via-dot-access-data (1.0.0)
  - Locking consolidation/log (2.1.0)
  - Locking consolidation/output-formatters (4.2.1)
  - Locking consolidation/robo (3.0.7)
  - Locking consolidation/self-update (2.0.4)
  - Locking consolidation/site-alias (3.1.3)
  - Locking consolidation/site-process (4.1.3)
  - Locking dflydev/dot-access-data (v1.1.0)
  - Locking drush/drush (10.6.2)
  - Locking enlightn/security-checker (v1.9.0)
  - Locking grasmash/expander (1.0.0)
  - Locking grasmash/yaml-expander (1.4.0)
  - Locking league/container (3.4.1)
  - Locking nikic/php-parser (v4.13.2)
  - Locking psy/psysh (v0.10.12)
  - Locking symfony/filesystem (v4.4.37)
  - Locking symfony/finder (v5.4.3)
  - Locking webflo/drupal-finder (1.2.2)
  - Locking webmozart/assert (1.10.0)
  - Locking webmozart/path-util (2.3.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 23 installs, 0 updates, 0 removals
  - Downloading symfony/finder (v5.4.3)
  - Downloading dflydev/dot-access-data (v1.1.0)
  - Downloading consolidation/output-formatters (4.2.1)
  - Downloading consolidation/annotated-command (4.5.1)
  - Downloading consolidation/log (2.1.0)
  - Downloading symfony/filesystem (v4.4.37)
  - Downloading consolidation/self-update (2.0.4)
  - Downloading webmozart/assert (1.10.0)
  - Downloading webmozart/path-util (2.3.0)
  - Downloading webflo/drupal-finder (1.2.2)
  - Downloading nikic/php-parser (v4.13.2)
  - Downloading psy/psysh (v0.10.12)
  - Downloading league/container (3.4.1)
  - Downloading grasmash/yaml-expander (1.4.0)
  - Downloading enlightn/security-checker (v1.9.0)
  - Downloading grasmash/expander (1.0.0)
  - Downloading consolidation/config (1.2.1)
  - Downloading consolidation/site-alias (3.1.3)
  - Downloading consolidation/site-process (4.1.3)
  - Downloading consolidation/robo (3.0.7)
  - Downloading consolidation/filter-via-dot-access-data (1.0.0)
  - Downloading chi-teck/drupal-code-generator (1.33.1)
  - Downloading drush/drush (10.6.2)
  0/23 [>---------------------------]   0%
 20/23 [========================>---]  86%
 23/23 [============================] 100%
 23/23 [============================] 100%  - Installing symfony/finder (v5.4.3): Extracting archive
  - Installing dflydev/dot-access-data (v1.1.0): Extracting archive
  - Installing consolidation/output-formatters (4.2.1): Extracting archive
  - Installing consolidation/annotated-command (4.5.1): Extracting archive
  - Installing consolidation/log (2.1.0): Extracting archive
  - Installing symfony/filesystem (v4.4.37): Extracting archive
  - Installing consolidation/self-update (2.0.4): Extracting archive
  - Installing webmozart/assert (1.10.0): Extracting archive
  - Installing webmozart/path-util (2.3.0): Extracting archive
  - Installing webflo/drupal-finder (1.2.2): Extracting archive
  - Installing nikic/php-parser (v4.13.2): Extracting archive
  - Installing psy/psysh (v0.10.12): Extracting archive
  - Installing league/container (3.4.1): Extracting archive
  - Installing grasmash/yaml-expander (1.4.0): Extracting archive
  - Installing enlightn/security-checker (v1.9.0): Extracting archive
  - Installing grasmash/expander (1.0.0): Extracting archive
  - Installing consolidation/config (1.2.1): Extracting archive
  - Installing consolidation/site-alias (3.1.3): Extracting archive
  - Installing consolidation/site-process (4.1.3): Extracting archive
  - Installing consolidation/robo (3.0.7): Extracting archive
  - Installing consolidation/filter-via-dot-access-data (1.0.0): Extracting archive
  - Installing chi-teck/drupal-code-generator (1.33.1): Extracting archive
  - Installing drush/drush (10.6.2): Extracting archive
  0/13 [>---------------------------]   0%
  8/13 [=================>----------]  61%
 12/13 [=========================>--]  92%
 13/13 [============================] 100%7 package suggestions were added by new dependencies, use `composer suggest` to see details.
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
[cmd] with-contenv exited 0
[09-Feb-2022 22:52:37] NOTICE: Terminating ...
[09-Feb-2022 22:52:37] NOTICE: exiting, bye-bye!
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[services.d] service fpm finish: executing...
[services.d] service fpm exiting with exit code: 0
s6-svwait: fatal: supervisor died
[services.d] service nginx finish: executing...
[services.d] service nginx exiting with exit code: 0
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
WARNING: Native build is an experimental feature and could change at any time
Creating network "isle-dc_default" with the default driver
Creating network "isle-dc_gateway" with driver "bridge"
Creating volume "isle-dc_activemq-data" with default driver
Creating volume "isle-dc_blazegraph-data" with default driver
Creating volume "isle-dc_cantaloupe-data" with default driver
Creating volume "isle-dc_drupal-sites-data" with default driver
Creating volume "isle-dc_fcrepo-data" with default driver
Creating volume "isle-dc_mariadb-data" with default driver
Creating volume "isle-dc_mariadb-files" with default driver
Creating volume "isle-dc_matomo-config-data" with default driver
Creating volume "isle-dc_solr-data" with default driver
Creating isle-dc_hypercube_1  ... done
Creating isle-dc_milliner_1   ... done
Creating isle-dc_activemq_1   ... done
Creating isle-dc_homarus_1    ... done
Creating isle-dc_cantaloupe_1 ... done
Creating isle-dc_solr_1       ... done
Creating isle-dc_blazegraph_1 ... done
Creating isle-dc_fits_1       ... done
Creating traefik              ... done
Creating isle-dc_recast_1     ... done
Creating isle-dc_alpaca_1     ... done
Creating isle-dc_houdini_1    ... done
Creating isle-dc_mariadb_1    ... done
Creating isle-dc_fcrepo_1     ... done
Creating isle-dc_matomo_1     ... done
Creating isle-dc_crayfits_1   ... done
Creating isle-dc_drupal_1     ... done
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Installing dependencies from lock file (including require-dev)
Verifying lock file contents can be installed on current platform.
Nothing to install, update or remove
Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.
Package silex/silex is abandoned, you should avoid using it. Use symfony/flex instead.
Package webmozart/path-util is abandoned, you should avoid using it. Use symfony/filesystem instead.
Generating autoload files
60 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
  * Homepage: https://www.drupal.org/project/drupal
  * Support:
    * docs: https://www.drupal.org/docs/user_guide/en/index.html
    * chat: https://www.drupal.org/node/314178
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make[1]: Entering directory '/klib/app/docker-compose/isle-dc'
WARNING: Some services (activemq, alpaca, blazegraph, cantaloupe, crayfits, drupal, fcrepo, fits, homarus, houdini, hypercube, mariadb, matomo, milliner, recast, solr, traefik) use the 'deploy' key, which will be ignored. Compose does not support 'deploy' configuration - use `docker stack deploy` to deploy to a swarm.
Missing option --port and fallback environment variable DB_PORT
make[1]: *** [Makefile:117: drupal-database] Error 1
make[1]: Leaving directory '/klib/app/docker-compose/isle-dc'
make: *** [Makefile:336: local] Error 2
nigelgbanks commented 2 years ago

Looks like you didn't try the branch? since line 117 should now have my change the error you would get should be on 118 if you've tested with the changes I've made on the branch https://github.com/Islandora-Devops/isle-dc/tree/issues-224

misilot commented 2 years ago

Whoops I did the wrong branch 212 istead of 224. I will try again tomorrow with the right branch.

misilot commented 2 years ago

Perhaps a sleep of 5-10 seconds ?

Could do you a poll say every 5-10 seconds up to a minute?

nigelgbanks commented 2 years ago

Did it work for you?

misilot commented 2 years ago

@nigelgbanks sorry, it got to be the end of the day yesterday.

I just ran threw make local twice, and worked perfectly both times.

Thanks!

nigelgbanks commented 2 years ago

Cool I'll raise a pull request.

misilot commented 2 years ago

Fixed by #225.