sameersbn / docker-redmine

Docker Image for Redmine
http://www.damagehead.com/docker-redmine/
MIT License
1.26k stars 497 forks source link

sameersbn/mysql restarts constantly #530

Closed sivsoft closed 8 months ago

sivsoft commented 9 months ago

Good afternoon! Migrated sameersbn/redmine and sameersbn/mysql to a new machine. I moved the whole folder /srv/docker/redmine, compressed it with tar beforehand. I did the same thing last time and had no problems. This time the mysql container restarts, there is only one error in the log:

/srv/docker/redmine# docker logs -tf redmine-mysql-1 2023-12-09-09T17:25:56.261842064Z Could not connect to mysql server. Aborting....

Already tried different versions of mysql and redmine. No difference. The same error. What could be the problem? On the old machine everything works without problems.

jcormier commented 9 months ago

Thats strange, I would have done the same thing to move from one PC to another.

Do you have the old PC running still? Could you try doing a mysql backup and then restore on the new machine?

My first guess as to what went wrong in the transfer would be permission issues. Check to be sure the file permissions are set to the UID of the user in the mysql container.

jcormier commented 8 months ago

closing due to inactivity