Restoring backup has no effect

MediaWiki’s database in FreedomBox is in the form of a single SQLite file.

If restoring using the Backups app didn’t work, you can try a manual restore.

  • Disable MediaWiki from the app page.
  • Make a copy of the existing sqlite file to your home directory just in case the file from your backups doesn’t work.
  • Place the sqlite file from your backups at /var/lib/mediawiki-db/my_wiki.sqlite
  • Run this command as root to fix the file permissions.
/usr/share/plinth/actions/mediawiki setup
  • Enable MediaWiki and check if your data is back.