<html><head></head><body><div>Hi James,</div><div><br></div><div>that partly worked. The installation script went through and a mediawiki was available. </div><div>However, since I had a partly installed mediawiki before, there was a permission error when I tried to create an account; as I could not change the random password of the admin. Also, mediawiki did not appear in the list of apps. </div><div>So I purged mediawiki with aptitude. In mediawiki-db there remained locks, the backup, wikicache.sqlite, which I all moved to *.backup.</div><div>Then I did a new install from within plinth which went through properly.</div><div><br></div><div>I had done this purging before but never removed the cache file, which probably was interpreted by mediawiki as well.</div><div><br></div><div>James, I owe you at least a glass of beer (I think it's the second, isn't it). Whenever you are in Munich...</div><div>    </div><div> Dietmar</div><div><br></div><div>Am Sonntag, den 10.06.2018, 11:23 -0400 schrieb James Valleroy:</div><blockquote type="cite"><pre>On 06/10/2018 08:10 AM, permondes - sagen wrote:
<blockquote type="cite">
<blockquote type="cite">
I am going through the source code of Plinth now. actions > mediawiki
apperently assumes that LocalSettings.php is located at
'/var/lib/mediawiki/LocalSettings.php', which is where I have the broken link
to /etc. So where is this file supposed to be generated? Already in the dpkg
of mediawiki? In that case, something must have gone wrong there. Any ideas
how to further investigate this issue?
I'd loved to have a wiki on my box.
</blockquote>
</blockquote>

/etc/mediawiki/LocalSettings.php is generated by mediawiki's install.php script,
which is triggered by plinth's mediawiki setup action. But it's only run if
/var/lib/mediawiki-db/my_wiki.sqlite does not already exist.

I was able to re-generate /etc/mediawiki/LocalSettings.php with these steps:

$ sudo mv /var/lib/mediawiki-db/my_wiki.sqlite
/var/lib/mediawiki-db/my_wiki.sqlite.backup

$ sudo /usr/share/plinth/actions/mediawiki setup

Regards,
James

</pre><pre>_______________________________________________
Freedombox-discuss mailing list
<a href="mailto:Freedombox-discuss@alioth-lists.debian.net">Freedombox-discuss@alioth-lists.debian.net</a>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/freedombox-discuss</a></pre></blockquote></body></html>