-
Notifications
You must be signed in to change notification settings - Fork 1
Boot loop mysqld_safe Starting mysqld daemon with databases from /config/databases #7
Comments
Likely a corrupted database, to quote the logs:
|
Thanks! I'm stop the mariadb docker instance and I add to .cnf file:
after that run again the mariadb instance and I enter to bash to dump the databases with:
after that, stop again mariadb, and remove old databases files, remove
I feel is everything ok! thanks @j0nnymoe |
Glad you got it working. I would highly recommend getting backups in place of your mariadb db files as I've seen cases where this doesn't fix the issue. |
Any suggestion to make backups from docker image? I have a volume than point to external hard drive. Thanks again @j0nnymoe |
Anything that can take snapshots of the files you have exposed on your host, rsync for example. |
Thanks @j0nnymoe |
I have a script that stops all containers, tars up their config folders and restarts them. I run it about once a week. The backup tar file gets copied to a remote location |
Hi @aptalca do you have a Gist or repo with that script? Thanks :) |
Assuming the user is
prune will remove all stale (untagged) images |
Nice @aptalca I will create a shellscript to run in a cron with these lines :) |
Hi! I'm using docker-compose at Raspberry Pi 3 to execute this arm image, suddenly I had this log error:
And Im going to bash to execute
mysqld_safe --log-error=er.log
:the
/config/databases/er.log
contains:I'm trying to remove and install again the image but always keep on boot load. What's the issue here?
Thanks!
The text was updated successfully, but these errors were encountered: