Page MenuHomePhabricator

Upgrading MediaWiki Docker from 1.40.2 to 1.41.0 will corrupt/delete DB content
Closed, InvalidPublicBUG REPORT

Description

Hi,

I am running media wiki in a docker environment (mediawiki + mariadb + memcached in docker-compose) for over two years without any troubles.
I do run regular updates (at least once a month) of the docker stack (using "docker-compose pull" followed by docker-compose up -d --remove-orphans & docker image prune ).
In the docker-compose I do reference the following images: mediawiki:stable, mariadb:latest as well as memcached:alpine.

If I update the mediawiki image from version 1.40.2 where everything is working fine to 1.41.0 (=stable) to database gets corrupted or deleted. I do not get any content if I call the Wiki start page. This page is missing - please create it.

I have reproduced this several times. I also did split the update process so that only the mediawiki image get's updated. Memcache as well as database stays untouched. But same effect: a complete data loss. Good to have a full backup of the container and its data.

Any help is welcome. Let me know if you do need more information.

Cheers
Fritz

Event Timeline

Reedy updated the task description. (Show Details)
Reedy subscribed.

Is the MW database updater running successfully?

Sam,

thanks for the hint. This was extremely helpful. After running the updater the Wiki is up and running again. This is the first time I had this issue and thus also the first time to run the update. Shame on me.

Cheers
Fritz