You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.
Step 3 of the Quick Start instructions is to run the docker-compose up command, which defaults to using the docker-compose.yaml file to run Ingenious locally in Docker containers.
Once the application is running, any attempt to log in by specifying email address and password on the Log In page, results in an error.
The issue is that the docker-compose.yaml file includes a volume mount for the app directory of the album-manager service in order to allow for modification of the application code while the container is running.
volumes:
- ./mra-album-manager/app:/usr/src/app
This represents a conflict with the configuration of the unicorn application which runs in the container. The unicorn.rb file defines its log file paths within the app directory, and since there is no logs directory in the mounted volume, the directory is determined to be unwritable and the application fails to run properly.
# Set log file paths
stderr_path "#{@dir}log/unicorn.stderr.log"
stdout_path "#{@dir}log/unicorn.stdout.log"
The long term fix is to update the album-manager service to write its logs to the standard /var/log directory.
Until the long term fix is put in to place, there are two workarounds for addressing this:
Comment out the volumes section of the album-manager service in docker-compose.yaml
Add a logs directory to the mra-album-manager/app directory
The text was updated successfully, but these errors were encountered:
Step 3 of the Quick Start instructions is to run the
docker-compose up
command, which defaults to using the docker-compose.yaml file to run Ingenious locally in Docker containers.Once the application is running, any attempt to log in by specifying email address and password on the Log In page, results in an error.
The issue is that the docker-compose.yaml file includes a volume mount for the
app
directory of the album-manager service in order to allow for modification of the application code while the container is running.This represents a conflict with the configuration of the unicorn application which runs in the container. The
unicorn.rb
file defines its log file paths within theapp
directory, and since there is nologs
directory in the mounted volume, the directory is determined to be unwritable and the application fails to run properly.The long term fix is to update the album-manager service to write its logs to the standard
/var/log
directory.Until the long term fix is put in to place, there are two workarounds for addressing this:
logs
directory to themra-album-manager/app
directoryThe text was updated successfully, but these errors were encountered: