Package: mediawiki
Severity: normal

Dear maintainer,

The MediaWiki installation on FreedomBox uses SQLite as its database.

However, the Debian package for MediaWiki installs mariadb server,
client and libraries for PHP and Perl. The MariaDB daemon consumes 80-90
MB of memory which is a lot to spare on Single Board Computers.
Similarly, it also installs PostgreSQL server, client and libraries.

It is possible to install mediawiki without mariadb and postgreql using
the following command, but one has to guess the version numbers correctly.

# apt install mediawiki mariadb-server-10.5- postgresql-13-

Maybe a package like mediawiki-sqlite which doesn't install the other
databases would help.

P.S.

This is causing another problem in FreedomBox. RoundCube is another PHP
application which is intended to use SQLite as its database. Since a
MariaDB server is running on the machine, it tries to connect to it. But
we don't install roundcube-mysql package (and php-mysql), so the
application fails to start.
https://salsa.debian.org/freedombox-team/freedombox/-/issues/1532

-- 
Regards,
Joseph Nuthalapati

Reply via email to