[Freedombox-discuss] Error installing mediawiki

permondes - sagen sagen at permondes.de
Sun Mar 18 12:53:33 UTC 2018


Here is kind of solution for this: https://www.mediawiki.org/wiki/Manua
l:Running_MediaWiki_on_Debian_or_UbuntuThe extensions mbstring and xml
are not registered. The wiki recommends to run
> sudo phpenmod mbstring
etc. 
However, this results in an error:
> $ sudo phpenmod mbstring
> WARNING: Module mbstring ini file doesn't exist under
> /etc/php/7.0/mods-available
> WARNING: Module mbstring ini file doesn't exist under
> /etc/php/7.0/mods-available
> 
Which is actually correct. The ini files are located under 7.2.How do I
make php understand that it is running under 7.2 and not 7.0?
mediawiki is stretching my nerves. Am I the only one using it???
	Dietmar
Am Samstag, den 17.03.2018, 17:39 +0100 schrieb permondes - sagen:
> There is a broken link for LocalSettings.php. The file does not exist
> in the target directory. There is only file mediawiki.conf.
> But I am not sure if this is related.
> 
> 	Dietmar
> 
> :/var/lib/mediawiki$ ls -l
> ...
> lrwxrwxrwx 1 root     root      32 Dez  3 09:20 LocalSettings.php ->
> /etc/mediawiki/LocalSettings.php
> 
> Am Samstag, den 17.03.2018, 15:12 +0100 schrieb permondes - sagen:
> > 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?
> > 
> > 	Dietmar
> > Am 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/freedombo
> > > x-discuss
> > _______________________________________________
> > Freedombox-discuss mailing list
> > Freedombox-discuss at lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-
> > discuss
> _______________________________________________
> 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/20180318/62812ce3/attachment.html>


More information about the Freedombox-discuss mailing list