123andy / redcap-docker-compose

A docker-compose script for building REDCap with Mailhog
61 stars 65 forks source link

MySQL Container constantly restarts #38

Closed cerbelding closed 1 year ago

cerbelding commented 4 years ago

When running docker-compose up -d after the configuration of .env, the MySQL-Container restarts repeatingly.

The docker logs for redcap_db contain a access error for /var/log/mysql/mysql_error.log, followed by an Abort-Message.

Docker is Running in version 19.03.12, docker-compose in version 1.26.0 on Ubuntu 20.04.1 LTS

bill-mattingly commented 3 years ago

I think this is a Duplicate of #11 which has to do with local log folder permissions. The fix described there should work, but I usually fix this by using a docker volume for the mysql logs by changing the .env LOGS_DIR variable to 'logs-volume'

LOGS_DIR=logs-volume
# LOGS_DIR=../logs
123andy commented 2 years ago

Let me know if this is still an issue. I just did a new release with a lot of changes.