<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dietmar,</p>
<p>This is unfortunately a known issue which is not fixed yet.
libapache2-mod-php7.2 keeps the earlier version 7.0 enabled after
installation. The system ends up with both mod-php versions
enabled.</p>
<p>The fix that worked for me is to disable and remove
libapache2-mod-php7.0 and then restart the apache2 server.<br>
</p>
<pre class="moz-signature" cols="72">--
Regards
Joseph Nuthalapati</pre>
<br>
<div class="moz-cite-prefix">On Sunday 18 March 2018 07:02 PM,
permondes - sagen wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1521379953.2370.15.camel@permondes.de">
<div>The issue was that there was left for some reason
libapache2-mod-php7.0, additionally to 7.2.</div>
<div>I removed that, then enabled mbstring and xml and got no
error.</div>
<div>So I think my installation is kind of clean now.</div>
<div>However, when going to mediawiki, I only see</div>
<blockquote type="cite">
<div>run();</div>
</blockquote>
<div>on the browser.</div>
<div><br>
</div>
<div>Best would be to re-install mediawiki via Plinth, I think.
How do I make Plinth understand mediawiki is not installed? I
could remove it via aptitude to have a clean situation.</div>
<div><br>
</div>
<div> Dietmar</div>
<div><br>
</div>
<div>Am Sonntag, den 18.03.2018, 13:53 +0100 schrieb permondes -
sagen:</div>
<blockquote type="cite">
<div>Here is kind of solution for this: <a
href="https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu"
moz-do-not-send="true">https://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Debian_or_Ubuntu</a></div>
<div>The extensions mbstring and xml are not registered. The
wiki recommends to run</div>
<blockquote type="cite">
<div>
<pre>sudo phpenmod mbstring</pre>
</div>
</blockquote>
<div>etc. </div>
<div><br>
</div>
<div>However, this results in an error:</div>
<blockquote type="cite">
<div>$ sudo phpenmod mbstring</div>
<div>WARNING: Module mbstring ini file doesn't exist under
/etc/php/7.0/mods-available</div>
<div>WARNING: Module mbstring ini file doesn't exist under
/etc/php/7.0/mods-available</div>
<div><br id="-x-evo-last-br">
</div>
</blockquote>
<div>Which is actually correct. The ini files are located under
7.2.</div>
<div>How do I make php understand that it is running under 7.2
and not 7.0?</div>
<div><br>
</div>
<div>mediawiki is stretching my nerves. Am I the only one using
it???</div>
<div><br>
</div>
<div> Dietmar</div>
<div><br>
</div>
<div>Am Samstag, den 17.03.2018, 17:39 +0100 schrieb permondes -
sagen:</div>
<blockquote type="cite">
<div>There is a broken link for LocalSettings.php. The file
does not exist in the target directory. There is only file
mediawiki.conf.</div>
<div>But I am not sure if this is related.</div>
<div><br>
</div>
<div> Dietmar</div>
<div><br>
</div>
<div>:/var/lib/mediawiki$ ls -l</div>
<div>...</div>
<div>lrwxrwxrwx 1 root root 32 Dez 3 09:20
LocalSettings.php -> /etc/mediawiki/LocalSettings.php</div>
<div><br>
</div>
<div>Am Samstag, den 17.03.2018, 15:12 +0100 schrieb permondes
- sagen:</div>
<blockquote type="cite">
<div>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.</div>
<div>But now I get an error message running mediawiki: </div>
<blockquote type="cite">
<div>
<h1>MediaWiki 1.27 internal error</h1>
<div class="error">
<p> Installing some PHP extensions is required. </p>
<h2>Required components</h2>
<p> You are missing a required extension to PHP that
MediaWiki requires to run. Please install: </p>
<ul>
<li><b>mbstring</b> (<a href="%3Ca%20href="
https:="" secure.php.net="" mbstring"=""
moz-do-not-send="true">more">https://secure.php.net/mbstring">more</a>
information)</li>
<li><b>xml</b> (<a href="https://secure.php.net/xml"
moz-do-not-send="true">more information</a>)</li>
</ul>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>But both are installed:</div>
<blockquote type="cite">
<div>:~$ apt list php-xml php-mbstring</div>
<div>Auflistung... Fertig</div>
<div>php-mbstring/stable,stable 1:7.0+49 all</div>
<div>php-xml/stable,stable 1:7.0+49 all</div>
</blockquote>
<div><br>
</div>
<div>According to aptitude all dependencies are installed.</div>
<div><br>
</div>
<div>A restart did not change the situation this time. What
is missing?</div>
<div><br>
</div>
<div> Dietmar</div>
<div>Am Samstag, den 17.03.2018, 10:19 +0100 schrieb
permondes - sagen:</div>
<blockquote type="cite">
<div>Hi,</div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<blockquote type="cite">
<div>
<meta http-equiv="content-type" content="text/html;
charset=utf-8">
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">[2018-03-17
09:55:30,199] plinth.actions INFO Executing
command - ['sudo', '-n',
'/usr/share/plinth/actions/packages',
'is-package-manager-busy']</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">[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)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">")</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">Traceback
(most recent call last):</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> File
"/usr/lib/python3/dist-packages/plinth/setup.py",
line 88, in run</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> self.module.setup(self,
old_version=current_version)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> File
"/usr/lib/python3/dist-packages/plinth/modules/mediawiki/__init__.py",
line 76, in setup</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> helper.install(managed_packages)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> File
"/usr/lib/python3/dist-packages/plinth/setup.py",
line 122, in install</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> transaction.install()</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> File
"/usr/lib/python3/dist-packages/plinth/package.py",
line 83, in install</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> self.package_names)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> File
"/usr/lib/python3/dist-packages/plinth/package.py",
line 107, in _run_apt_command</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);"> raise
PackageException(_('Error during installation'),
self.stderr)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">plinth.package.PackageException:
PackageException(error_string="Error during
installation", error_details="E: Sub-process
/usr/bin/dpkg returned an error code (1)</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">")</div>
<div style="color: rgb(46, 52, 54); font-family:
Cantarell; font-size: 14.666666984558105px;
font-style: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; widows: auto; word-spacing:
0px; -webkit-tap-highlight-color: rgba(0, 0, 0,
0.4); -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255);">[2018-03-17
09:56:00,309] plinth.actions INFO Executing
command - ['sudo', '-n',
'/usr/share/plinth/actions/packages',
'is-package-manager-busy']</div>
</div>
</blockquote>
<div><br>
</div>
<div>The last info in /var/log/dpkg.log is:</div>
<blockquote type="cite">
<div>2018-03-17 09:55:20 startup packages configure</div>
<div>2018-03-17 09:55:20 configure
mariadb-server-10.1:armhf 1:10.1.29-6 <none></div>
<div>2018-03-17 09:55:20 status half-configured
mariadb-server-10.1:armhf 1:10.1.29-6</div>
</blockquote>
<div><br>
</div>
<div>Then 12s later it crashes.</div>
<div><br>
</div>
<div>In aptitude I find that 2 packages are partly
installed:</div>
<div>- default-mysql-server: u (unpacked)</div>
<div>- mariadb-server-10.1: C (half configured)</div>
<div><br>
</div>
<div>Giving it a GO in aptitude gives this log:</div>
<div><br>
</div>
<blockquote type="cite">
<div>Performing actions...</div>
<div>mariadb-server-10.1 (1:10.1.29-6) wird eingerichtet
...</div>
<div>dpkg: Fehler beim Bearbeiten des Paketes
mariadb-server-10.1 (--configure):</div>
<div> installed mariadb-server-10.1 package
post-installation script subprocess returned error
exit status 1</div>
<div>dpkg: Abhängigkeitsprobleme verhindern
Konfiguration von default-mysql-server:</div>
<div> default-mysql-server hängt ab von
mariadb-server-10.1; aber:</div>
<div> Paket mariadb-server-10.1 ist noch nicht
konfiguriert.</div>
<div><br>
</div>
<div>dpkg: Fehler beim Bearbeiten des Paketes
default-mysql-server (--configure):</div>
<div> Abhängigkeitsprobleme - verbleibt unkonfiguriert</div>
<div>Fehler traten auf beim Bearbeiten von:</div>
<div> mariadb-server-10.1</div>
<div> default-mysql-server</div>
<div>E: Sub-process /usr/bin/dpkg returned an error code
(1)</div>
<div>mariadb-server-10.1 (1:10.1.29-6) wird eingerichtet
...</div>
<div>dpkg: Fehler beim Bearbeiten des Paketes
mariadb-server-10.1 (--configure):</div>
<div> installed mariadb-server-10.1 package
post-installation script subprocess returned error
exit status 1</div>
<div>dpkg: Abhängigkeitsprobleme verhindern
Konfiguration von default-mysql-server:</div>
<div> default-mysql-server hängt ab von
mariadb-server-10.1; aber:</div>
<div> Paket mariadb-server-10.1 ist noch nicht
konfiguriert.</div>
<div><br>
</div>
<div>dpkg: Fehler beim Bearbeiten des Paketes
default-mysql-server (--configure):</div>
<div> Abhängigkeitsprobleme - verbleibt unkonfiguriert</div>
<div>Fehler traten auf beim Bearbeiten von:</div>
<div> mariadb-server-10.1</div>
<div> default-mysql-server</div>
<div>Press Return to continue, 'q' followed by Return to
quit.</div>
<div><br id="-x-evo-last-br">
</div>
</blockquote>
<div><br>
</div>
<div>Something inhibits mariadb to be configured. Any
ideas?</div>
<div><br>
</div>
<div> Dietmar</div>
<div>-- </div>
<pre>_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org" moz-do-not-send="true">Freedombox-discuss@lists.alioth.debian.org</a>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" moz-do-not-send="true">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre>
</blockquote>
<pre>_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org" moz-do-not-send="true">Freedombox-discuss@lists.alioth.debian.org</a>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" moz-do-not-send="true">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre>
</blockquote>
<pre>_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org" moz-do-not-send="true">Freedombox-discuss@lists.alioth.debian.org</a>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" moz-do-not-send="true">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre>
</blockquote>
<pre>_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@lists.alioth.debian.org" moz-do-not-send="true">Freedombox-discuss@lists.alioth.debian.org</a>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss" moz-do-not-send="true">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Freedombox-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freedombox-discuss@lists.alioth.debian.org">Freedombox-discuss@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre>
</blockquote>
</body>
</html>