Tutor can't seem to start mysql

I am trying to upgrade from back in 2019 to use edX again in my Digital Logic class. The very old version of tutor was working fine, but the IT guys don’t like me running old software, so I am trying to upgrade. I backed up, pip installed tutor and then did tutor local launch. It does a bunch of things, but then it repeatedly waits for MySQL, and then finally I get this message:
MySQL initialisation error
Error: Command failed with status 1: docker compose -f /home/frohro/.local/share/tutor/env/local/docker-compose.yml -f /home/frohro/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local -f /home/frohro/.local/share/tutor/env/local/docker-compose.jobs.yml run --rm mysql-job sh -e -c echo “Initialising MySQL…”
mysql_connection_max_attempts=10
mysql_connection_attempt=0
until mysql -u root --password=“JQo8cLBO” --host “mysql” --port 3306 -e ‘exit’
do
mysql_connection_attempt=$(expr $mysql_connection_attempt + 1)
echo " [$mysql_connection_attempt/$mysql_connection_max_attempts] Waiting for MySQL service (this may take a while)…"
if [ $mysql_connection_attempt -eq $mysql_connection_max_attempts ]
then
echo “MySQL initialisation error” 1>&2
exit 1
fi
sleep 10
done
echo “MySQL is up and running”

edx-platform database

After this there appear te bo some MySQL commands with usernames and passwords I did not copy, possibly the commands that failed.

Any tips?

Thanks,

Rob

I also did a little checking of the logs since it has helped others:
frohro@fweb:~$ docker ps | grep mysql
tutor local logs --tail=100 mysql
0b5f87654972 mysql:8.4.0 “docker-entrypoint.s…” 29 minutes ago Restarting (1) 12 seconds ago tutor_local-mysql-1
docker compose -f /home/frohro/.local/share/tutor/env/local/docker-compose.yml -f /home/frohro/.local/share/tutor/env/local/docker-compose.prod.yml --project-name tutor_local logs --tail 100 mysql
mysql-1 | 2024-09-27T22:16:26.969782Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
mysql-1 | 2024-09-27T22:16:26.969807Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql-1 | 2024-09-27T22:16:26.971053Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
mysql-1 | 2024-09-27T22:16:26.971067Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql-1 | 2024-09-27 22:17:27+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql-1 | ‘/var/lib/mysql/mysql.sock’ → ‘/var/run/mysqld/mysqld.sock’
mysql-1 | 2024-09-27T22:17:27.566268Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql-1 | 2024-09-27T22:17:27.786236Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
mysql-1 | 2024-09-27T22:17:27.792624Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1 | 2024-09-27T22:17:28.088636Z 1 [ERROR] [MY-013090] [InnoDB] Unsupported redo log format (v0). The redo log was created before MySQL 5.7.9
mysql-1 | 2024-09-27T22:17:28.088670Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
mysql-1 | 2024-09-27T22:17:28.402897Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
mysql-1 | 2024-09-27T22:17:28.403152Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
mysql-1 | 2024-09-27T22:17:28.403169Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql-1 | 2024-09-27T22:17:28.404515Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
mysql-1 | 2024-09-27T22:17:28.404531Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql-1 | 2024-09-27 22:18:28+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql-1 | ‘/var/lib/mysql/mysql.sock’ → ‘/var/run/mysqld/mysqld.sock’
mysql-1 | 2024-09-27T22:18:29.001057Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql-1 | 2024-09-27T22:18:29.226154Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
mysql-1 | 2024-09-27T22:18:29.232463Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1 | 2024-09-27T22:18:29.516666Z 1 [ERROR] [MY-013090] [InnoDB] Unsupported redo log format (v0). The redo log was created before MySQL 5.7.9
mysql-1 | 2024-09-27T22:18:29.516705Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
mysql-1 | 2024-09-27T22:18:29.839169Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
mysql-1 | 2024-09-27T22:18:29.839423Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
mysql-1 | 2024-09-27T22:18:29.839440Z 0 [ERROR] [MY-010119] [Server] Aborting
mysql-1 | 2024-09-27T22:18:29.840713Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.4.0) MySQL Community Server - GPL.
mysql-1 | 2024-09-27T22:18:29.840729Z 0 [System] [MY-015016] [Server] MySQL Server - end.
mysql-1 | 2024-09-27 22:19:30+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.4.0-1.el9 started.
mysql-1 | ‘/var/lib/mysql/mysql.sock’ → ‘/var/run/mysqld/mysqld.sock’
mysql-1 | 2024-09-27T22:19:30.473012Z 0 [System] [MY-015015] [Server] MySQL Server - start.
mysql-1 | 2024-09-27T22:19:30.694024Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.4.0) starting as process 1
mysql-1 | 2024-09-27T22:19:30.700470Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
mysql-1 | 2024-09-27T22:19:30.985967Z 1 [ERROR] [MY-013090] [InnoDB] Unsupported redo log format (v0). The redo log was created before MySQL 5.7.9
mysql-1 | 2024-09-27T22:19:30.986006Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
mysql-1 | 2024-09-27T22:19:31.307331Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine

Looks like it might be due to my negligence in not upgrading more frequently enough. :slight_smile:

I should add, I’m okay with losing data if solving this is easier that way. I just want to set it up for use this quarter with a new cohort of students. I have the edX classes backed up if I need to reload them.
Thanks,
Rob