Islandora-Devops / isle-dc

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

Code Server remains broken (new error messages) #372

Open rosiel opened 8 months ago

rosiel commented 8 months ago

Further to the 3 or 4 existing "Code server is broken" issues:

I added INCLUDE_CODE_SERVER_SERVICE=true in my .env file and did make pull and make up as per the directions in ISLE-DC's readme.

Result: 404's all around.

realpath: Could not open input file: /var/www/drupal/vendor/bin/drush/sites/default: No such file or directory
realpath: Could not open input file: /var/www/drupal/vendor/bin/drush/sites/default: No such file or directory
/etc/islandora/utilities.sh: line 352: site_directory: parameter null or not set
/etc/islandora/utilities.sh: line 417: site_directory: parameter null or not set
make: *** [Makefile:270: up] Error 127

After undoing the process (setting the value to false and running make pull and make up) I got my site back.

HyphenHook commented 7 months ago

It seems that the docker-compose.code-server.yml causes the Drupal container to be recreated and mounted on a new volume. This new volume isn't getting setup after the recreation thus the Drupal container's /var/www/drupal folder is just empty which prompts that error.

I managed to get the code-server up and running by modifying these lines to mount the codebase folder instead.

  1. Change these lines into - ../../codebase:/var/www/drupal:delegated
  2. Change this line into - ../../codebase:/var/www/drupal:delegated
adam-vessey commented 7 months ago

With the first option presently using the long form volume spec, would it correspond to the consistency key, for delegated?