Second DokuWiki installation keeps showing 404 page since YunoHost update

Hey everyone,

I have some problem with a DokuWiki installation on my server.

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 3.7.1
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : the DokuWiki pages were manually copied into the pages directory (with owner and group both set to dokuwiki__2 IIRC) some weeks ago. Seemed to work correctly.

Description of my issue

I have two installations of DokuWiki running. After updating my apps and YunoHost (to 3.7.1) the second installation shows a 404 page whenever I try to go anywhere except the initial doku.php page. Links from the doku.php to existing pages still show up green. Clicking them (or clicking Update Profile, Admin, Log Out etc.) results in a 404 page that shows 404 followed by a horizontal line and “nginx”. The search box still shows “preview results” when I enter something but will also generate the 404 page when hitting enter.

/var/log/nginx/mydomain.nohost.me-error.log


...

2020/04/12 14:40:00 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/sompage" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/sompage HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:42:54 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/start" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/start?do=recent HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:42:58 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/start" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/start HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:44:07 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/start" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/start?do=profile HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:44:11 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/start" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/start?do=logout&sectok=c1600355fb8a2e0738e05fabdf81a9b3 HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:45:28 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/computer:homeserver" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/computer:homeserver HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"
2020/04/12 14:46:39 [error] 1350#1350: *12243 open() "/usr/share/nginx/html/secondwiki/start" failed (2: No such file or directory), client: 79.201.167.66, server: mydomain.nohost.me, request: "GET /secondwiki/start?do=search&id=start&q=homeserver HTTP/2.0", host: "mydomain.nohost.me", referrer: "https://mydomain.nohost.me/secondwiki/doku.php"

/usr/share/nginx/html has only one file (index.html). The pages of the second DokuWiki are still in /var/www/secondwiki/data/pages, with -rw-r----- 1 dokuwiki__2 root for .txt-files and drwxr-x— 2 dokuwiki__2 root for directories (same as the first installation which seems to be okay). I think the group was dokuwiki__2 before the upgrade and rights were rwX for user, rX for group and others.

Does anyone have an idea what went wrong/ how to fix this? Or have the same problem?

Thanks and have a nice sunday!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.