Hi everyone,
The following question might not be limited to October CMS, but I’m at my wits end after having spent hours on this. Please bear with me if I might say something stupid, as I’m a novice in Docker.
After updating to Docker Desktop 4.49.0 (208700) on Windows, none of my existing October CMS v3 Docker containers will start correctly anymore.
They all throw the following error:
SQLSTATE[HY000] [2002] Connection refused
Nothing in my configuration has changed. The issue seems related to file permission changes after the Docker update — MariaDB now refuses to start inside those old containers because it no longer has access to the database (\\wsl.localhost\Ubuntu\var\projects\project-name\octobercms-database) in WSL.
Creating new containers via the interactive bash installer works fine, so this appears to be specifically affecting older, pre-existing containers (which still run October v3).
I’ve been trying to reset those permissions, but nothing seems to work…
Upgrading to v4 isn’t an immediate option due to plugin dependencies or project constraints.
It would therefore be ideal if these existing v3 containers could still run as before — otherwise, the entire idea of Docker as a “portable, reproducible environment” is being challenged here.
I’m wondering:
- Is there a clean way to fix or reset the permissions of existing database volumes so that MariaDB can start again?
 - Or are older containers effectively incompatible with the new Docker Desktop version?
 
When checking the logs inside the container, MariaDB fails to start and outputs the following error:
InnoDB: Upgrade after a crash is not supported. The redo log was created with MariaDB 10.5.19. You must start up and shut down MariaDB 10.7 or earlier.
This suggests that the MariaDB version used in these older containers (10.5) is incompatible with the existing data files when running under the current environment. I was able to recover the data by mounting the same database volume into a temporary mariadb:10.6 container, starting and stopping it once to complete the InnoDB recovery, and then creating a dump from that instance.
The original October CMS containers themselves still don’t start correctly and continue to throw connection errors, but the data could be rescued this way. I’m sharing this in case others run into the same issue, or know a cleaner approach to restore older containers without version or recovery conflicts.
Any insight or recommended recovery path would be greatly appreciated, as my development environment is completely useless at the moment and I am unable to continue developing.
Thanks in advance for anyone who might provide some insight.