[Freedombox-discuss] Error installing mediawiki

permondes - sagen sagen at permondes.de
Sat Mar 17 14:12:24 UTC 2018


After a restart and some messing around (cannot go into details, just
tried to clean up old config files and undid this afterwards), the app
is installing.But now I get an error message running mediawiki: 
> MediaWiki 1.27 internal error						
> 	Installing some PHP extensions is required.		
> 		Required components					
> 		You are missing a required extension to PHP that
> MediaWiki		requires to run. Please install:		
> 		mbstring (more">https://secure.php.net/mbstring">more
> information)xml (more information)		

But both are installed:
> :~$ apt list php-xml php-mbstring
> Auflistung... Fertig
> php-mbstring/stable,stable 1:7.0+49 all
> php-xml/stable,stable 1:7.0+49 all

According to aptitude all dependencies are installed.
A restart did not change the situation this time. What is missing?
	DietmarAm Samstag, den 17.03.2018, 10:19 +0100 schrieb
permondes - sagen:
> Hi,
> 
> I received the following error when trying to install mediawiki. I am
> on Plinth 0.24 (testing). Downloading worked, the error appeared
> versus the end of the installation process.
> 
> > [2018-03-17 09:55:30,199] plinth.actions INFO     Executing command
> > - ['sudo', '-n', '/usr/share/plinth/actions/packages', 'is-package-
> > manager-busy']
> > [2018-03-17 09:55:32,773] plinth.setup   ERROR    Error running
> > setup - PackageException(error_string="Error during installation",
> > error_details="E: Sub-process /usr/bin/dpkg returned an error code
> > (1)
> > ")
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/plinth/setup.py", line 88,
> > in run
> >     self.module.setup(self, old_version=current_version)
> >   File "/usr/lib/python3/dist-
> > packages/plinth/modules/mediawiki/__init__.py", line 76, in setup
> >     helper.install(managed_packages)
> >   File "/usr/lib/python3/dist-packages/plinth/setup.py", line 122,
> > in install
> >     transaction.install()
> >   File "/usr/lib/python3/dist-packages/plinth/package.py", line 83,
> > in install
> >     self.package_names)
> >   File "/usr/lib/python3/dist-packages/plinth/package.py", line
> > 107, in _run_apt_command
> >     raise PackageException(_('Error during installation'),
> > self.stderr)
> > plinth.package.PackageException:
> > PackageException(error_string="Error during installation",
> > error_details="E: Sub-process /usr/bin/dpkg returned an error code
> > (1)
> > ")
> > [2018-03-17 09:56:00,309] plinth.actions INFO     Executing command
> > - ['sudo', '-n', '/usr/share/plinth/actions/packages', 'is-package-
> > manager-busy']
> 
> The last info in /var/log/dpkg.log is:
> > 2018-03-17 09:55:20 startup packages configure
> > 2018-03-17 09:55:20 configure mariadb-server-10.1:armhf 1:10.1.29-6 
> > <none>
> > 2018-03-17 09:55:20 status half-configured mariadb-server-
> > 10.1:armhf 1:10.1.29-6
> 
> Then 12s later it crashes.
> 
> In aptitude I find that 2 packages are partly installed:
> - default-mysql-server: u (unpacked)
> - mariadb-server-10.1: C (half configured)
> 
> Giving it a GO in aptitude gives this log:
> 
> > Performing actions...
> > mariadb-server-10.1 (1:10.1.29-6) wird eingerichtet ...
> > dpkg: Fehler beim Bearbeiten des Paketes mariadb-server-10.1 (
> > --configure):
> >  installed mariadb-server-10.1 package post-installation script
> > subprocess returned error exit status 1
> > dpkg: Abhängigkeitsprobleme verhindern Konfiguration von default-
> > mysql-server:
> >  default-mysql-server hängt ab von mariadb-server-10.1; aber:
> >   Paket mariadb-server-10.1 ist noch nicht konfiguriert.
> > 
> > dpkg: Fehler beim Bearbeiten des Paketes default-mysql-server (
> > --configure):
> >  Abhängigkeitsprobleme - verbleibt unkonfiguriert
> > Fehler traten auf beim Bearbeiten von:
> >  mariadb-server-10.1
> >  default-mysql-server
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > mariadb-server-10.1 (1:10.1.29-6) wird eingerichtet ...
> > dpkg: Fehler beim Bearbeiten des Paketes mariadb-server-10.1 (
> > --configure):
> >  installed mariadb-server-10.1 package post-installation script
> > subprocess returned error exit status 1
> > dpkg: Abhängigkeitsprobleme verhindern Konfiguration von default-
> > mysql-server:
> >  default-mysql-server hängt ab von mariadb-server-10.1; aber:
> >   Paket mariadb-server-10.1 ist noch nicht konfiguriert.
> > 
> > dpkg: Fehler beim Bearbeiten des Paketes default-mysql-server (
> > --configure):
> >  Abhängigkeitsprobleme - verbleibt unkonfiguriert
> > Fehler traten auf beim Bearbeiten von:
> >  mariadb-server-10.1
> >  default-mysql-server
> > Press Return to continue, 'q' followed by Return to quit.
> > 
> 
> Something inhibits mariadb to be configured. Any ideas?
> 
> 	Dietmar
> -- 
> _______________________________________________
> Freedombox-discuss mailing list
> Freedombox-discuss at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-di
> scuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/freedombox-discuss/attachments/20180317/fc194492/attachment.html>


More information about the Freedombox-discuss mailing list