Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code Server remains broken (new error messages) #372

Open
rosiel opened this issue Jan 18, 2024 · 2 comments
Open

Code Server remains broken (new error messages) #372

rosiel opened this issue Jan 18, 2024 · 2 comments

Comments

@rosiel
Copy link
Contributor

rosiel commented Jan 18, 2024

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
Copy link

HyphenHook commented Feb 12, 2024

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants