MediaWiki Install Error


When trying to install MediaWiki from Plinth, I’m getting the following error

Error installing app: Command '['php8.2', '/usr/share/mediawiki/maintenance/install.php', '--confpath=/etc/mediawiki', '--dbtype=sqlite', '--dbpath=/var/lib/mediawiki-db/', '--scriptpath=/mediawiki', '--passfile', '/tmp/tmp7p59n0pj', 'Wiki', 'admin']' returned non-zero exit status 1.

Before getting my hands dirty, has anyone come across such an error, and if so, found a solution to it?


FBX Version: Debian GNU/Linux trixie/sid and FreedomBox version 23.16. FreedomBox is up to date
FBX Source: Installed image for Raspi4B from FBX website
Hardware: Raspi4B

Couldn’t find the reason of the error, nor a fix.
Ended up with uninstalling wikimedia, removing /etc/wikimedia, /var/lib/wikimedia and /var/lib/wikimedia-db/ then doing a fresh install.

Luckily I had backup, so restored from there. Everything works now but if anyone else comes across and finds a fix, feel free to share for others.