<html><head></head><body><div>sent again as I used the wrong mail address</div><div><br></div><div>Am Sonntag, den 10.06.2018, 13:56 +0200 schrieb permondes:</div><blockquote type="cite"><div>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?</div><div>I'd loved to have a wiki on my box.</div><div><br></div><div>        Dietmar</div><div><br></div><div>Am Samstag, den 09.06.2018, 18:16 +0200 schrieb permondes - sagen:</div><blockquote type="cite"><div>I am trying again to install mediawiki in Plinth 0.30 and come again to the error message  "No such file or directory: \'/var/lib/mediawiki/LocalSettings.php\'\n'), which I already had with Plinth 0.27 in March:</div><div><br></div><blockquote type="cite"><div>Error installing application: ('mediawiki', '', 'Traceback (most recent call last):\n  File "/usr/share/plinth/actions/mediawiki", line 177, in <module>\n    main()\n  File "/usr/share/plinth/actions/mediawiki", line 173, in main\n    subcommand_method(arguments)\n  File "/usr/share/plinth/actions/mediawiki", line 80, in subcommand_setup\n    _disable_public_registrations()\n  File "/usr/share/plinth/actions/mediawiki", line 87, in _disable_public_registrations\n    if not grep(r\'\\$wgGroupPermissions.*createaccount\', CONF_FILE):\n  File "/usr/lib/python3/dist-packages/plinth/utils.py", line 138, in grep\n    line.rstrip() for line in open(file_name) if re.search(pattern, line)\nFileNotFoundError: [Errno 2] No such file or directory: \'/var/lib/mediawiki/LocalSettings.php\'\n')  </div></blockquote><div><br></div><div>That is actually a broken link:</div><blockquote type="cite"><div>lrwxrwxrwx 1 root     root      32 Apr 13 06:26 LocalSettings.php -> /etc/mediawiki/LocalSettings.php</div></blockquote><div>Would it be sufficient to place that file in that directory? Where could I get that file from? It is probably pre-generated by Plinth, right?</div><div><br></div><div>The last bit in /var/log/dpkg.log is:</div><blockquote type="cite"><div>2018-06-09 17:43:54 status unpacked mediawiki:all 1:1.30.0-1</div><div>2018-06-09 17:43:55 status half-configured mediawiki:all 1:1.30.0-1</div><div>2018-06-09 17:44:04 status installed mediawiki:all 1:1.30.0-1</div><div>2018-06-09 17:44:05 configure php-apcu-bc:armhf 1.0.3-2+b1 <none></div><div>2018-06-09 17:44:05 status unpacked php-apcu-bc:armhf 1.0.3-2+b1</div><div>,,,</div><div>2018-06-09 17:44:05 status unpacked php-apcu-bc:armhf 1.0.3-2+b1</div><div>2018-06-09 17:44:05 status half-configured php-apcu-bc:armhf 1.0.3-2+b1</div><div>2018-06-09 17:44:07 status installed php-apcu-bc:armhf 1.0.3-2+b1</div><div>2018-06-09 17:44:07 configure mariadb-server-10.1:armhf 1:10.1.29-6+b1 <none></div><div>2018-06-09 17:44:07 status unpacked mariadb-server-10.1:armhf 1:10.1.29-6+b1</div><div>...</div><div>2018-06-09 17:44:08 status unpacked mariadb-server-10.1:armhf 1:10.1.29-6+b1</div><div>2018-06-09 17:44:08 status half-configured mariadb-server-10.1:armhf 1:10.1.29-6+b1</div><div>2018-06-09 17:44:39 status installed mariadb-server-10.1:armhf 1:10.1.29-6+b1</div><div>2018-06-09 17:44:40 configure default-mysql-server:all 1.0.4 <none></div><div>2018-06-09 17:44:40 status unpacked default-mysql-server:all 1.0.4</div><div>2018-06-09 17:44:41 status half-configured default-mysql-server:all 1.0.4</div><div>2018-06-09 17:44:41 status installed default-mysql-server:all 1.0.4</div><div>2018-06-09 17:44:41 configure php:all 1:7.2+61 <none></div><div>2018-06-09 17:44:41 status unpacked php:all 1:7.2+61</div><div>2018-06-09 17:44:41 status half-configured php:all 1:7.2+61</div><div>2018-06-09 17:44:41 status installed php:all 1:7.2+61</div><div>2018-06-09 17:44:41 trigproc libc-bin:armhf 2.27-3 <none></div><div>2018-06-09 17:44:41 status half-configured libc-bin:armhf 2.27-3</div><div>2018-06-09 17:44:42 status installed libc-bin:armhf 2.27-3</div><div><br id="-x-evo-last-br"></div></blockquote><div>Plinth log gives :</div><blockquote type="cite"><div>[2018-06-09 17:07:34,629] plinth.setup   INFO     Running step for module - mediawiki, step - setup</div><div>[2018-06-09 17:07:34,632] plinth.actions INFO     Executing command - ['sudo', '-n', '/usr/share/plinth/actions/mediawiki', 'setup']</div><div>[2018-06-09 17:07:36,641] plinth.actions ERROR    Error executing command - ['sudo', '-n', '/usr/share/plinth/actions/mediawiki', 'setup'], , Traceback (most recent call last):</div><div>  File "/usr/share/plinth/actions/mediawiki", line 177, in <module></div><div>    main()</div><div>  File "/usr/share/plinth/actions/mediawiki", line 173, in main</div><div>    subcommand_method(arguments)</div><div>  File "/usr/share/plinth/actions/mediawiki", line 80, in subcommand_setup</div><div>    _disable_public_registrations()</div><div>  File "/usr/share/plinth/actions/mediawiki", line 87, in _disable_public_registrations</div><div>    if not grep(r'\$wgGroupPermissions.*createaccount', CONF_FILE):</div><div>  File "/usr/lib/python3/dist-packages/plinth/utils.py", line 138, in grep</div><div>    line.rstrip() for line in open(file_name) if re.search(pattern, line)</div><div>FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/mediawiki/LocalSettings.php'</div><div><br></div></blockquote><div><br></div><div>And according to README.Debian, I have to go through the installer, so which directory is designed for the sqlite DB? It is not */var/lib/mediawiki/mywiki* as it gives a permission error.</div><div><br></div><div>I am on an OLimex Lime. </div><div><br></div><div>Has anyone successfully gone through this torture?</div><div><br></div><div>    Dietmar</div></blockquote></blockquote></body></html>