Devkinsta_db mariadb restart loop

This issue is the same issue noted in this ticket: Devkinsta_db not starting

I have attempted to delete and remove the devkinsta_db container then restart DevKinsta and while it does recreate the container, the issue persists after the restart.

This only started occurring after DevKinsta was upgraded and restarted.

Like the other poster mentioned, I do understand this is a free tool and appreciate you putting it out for public use, but am hoping your team can dig a bit deeper into this to find a solution that will not involve completely removing and re-installing the app.

I’ve included some output from the logs for the devkinsta_db container below so you can see what’s currently occurring on my end.

I’ve also attempted a few other things such as running: docker run -it --rm --volumes-from <container_id> mariadb:latest bash mysql_upgrade -u root -p however this also fails.

Thanks in advance.

Log File Output:
2024-08-27 20:21:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:10+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:10+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:10+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:10+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:10 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:11+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:11+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:11+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:11+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:11+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:11 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:12+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:12+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:12+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:12+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:12 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:13+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:13+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:13+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:13 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:14+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:14+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:14+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:14+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:14 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:16+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:16+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:16+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:16+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:16 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:20+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:20+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:20+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:20+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:20 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:27+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:27+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:27+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:27+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:27 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:21:40+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:40+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:21:40+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:21:40+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:21:40+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:21:40 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:22:06+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:22:06+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:22:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:22:07+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:22:07+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:22:07 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …
2024-08-27 20:22:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:22:58+00:00 [Note] [Entrypoint]: Switching to dedicated user ‘mysql’
2024-08-27 20:22:58+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.17+maria~ubu2004 started.
2024-08-27 20:22:58+00:00 [Note] [Entrypoint]: MariaDB upgrade information missing, assuming required
2024-08-27 20:22:58+00:00 [Note] [Entrypoint]: MariaDB upgrade (mysql_upgrade) required, but skipped due to $MARIADB_AUTO_UPGRADE setting
2024-08-27 20:22:58 0 [Note] mysqld (mysqld 10.5.17-MariaDB-1:10.5.17+maria~ubu2004) starting as process 1 …

2 Likes

I hope this post will be helpful to you.

Question about 2.13.14

For info I have another install on another PC with this issue (I’m the poster this topic refers to). So there is clearly something a miss and not because of changing permissions as I first thought. Looking at the logs it seem to me that the container is expecting to upgrade the mariadb but cannot because of a missing env variable?

Can you give a specific procedure you followed from start to finish for clarity? I’m seeing that you’ve suggested running:
docker network connect devkinsta_network devkinsta_db

But I’m unsure if this was done after the “emergency fix” or if any other steps were performed?

Hello everyone :wave:

We would like to thank everybody for their input! :love_letter:

I have posted a workaround in this thread, so I’m sharing it here for visibility:

Kind regards