DokuWiki: Update failed

After the last update, Dokuwiki no longer starts. Reconfiguration leads to:

Job for dokuwiki.service failed because the control process exited with error code.
See "systemctl --user status dokuwiki.service" and "journalctl --user -xeu dokuwiki.service" for details.

I wanted to check the satus and logs, so I tried to switch to the container.

But then I realized that the container no longer exists at all.

root@daho-ns8:~# runagent -m dokuwiki1 podman ps
CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES
root@daho-ns8:~#

NS8-Logs

2026-07-27T13:14:32+02:00 [1:dokuwiki1:systemd] Started libpod-98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956.scope - libcrun container.
2026-07-27T13:14:32+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:32.197505118 +0200 CEST m=+6.766147513 container init 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956 (image=docker.io/dokuwiki/dokuwiki:2025-05-14b, name=dokuwiki, PODMAN_SYSTEMD_UNIT=dokuwiki.service)
2026-07-27T13:14:32+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:32.205985696 +0200 CEST m=+6.774628051 container start 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956 (image=docker.io/dokuwiki/dokuwiki:2025-05-14b, name=dokuwiki, PODMAN_SYSTEMD_UNIT=dokuwiki.service)
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] + set -e
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] ++ id -u
2026-07-27T13:14:32+02:00 [1:dokuwiki1:podman] 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] ++ id -g
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] + echo 'Started under UID 0 GID 0.'
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] Started under UID 0 GID 0.
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] + '[' 0 -eq 0 ']'
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] + echo 'Running as root, dropping privileges to 33:33'
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] Running as root, dropping privileges to 33:33
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] + chown -R www-data:www-data /storage
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] chown: changing ownership of '/storage/data/pages/ns8': Operation not permitted
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] chown: changing ownership of '/storage/data/pages/pages/start/nethserver8.txt': Operation not permitted
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] chown: changing ownership of '/storage/data/pages/pages/start': Operation not permitted
2026-07-27T13:14:32+02:00 [1:dokuwiki1:dokuwiki] chown: changing ownership of '/storage/data/pages/pages': Operation not permitted
2026-07-27T13:14:32+02:00 [1:dokuwiki1:conmon] conmon 98c4cd64f57e0b291607 <nwarn>: Failed to open cgroups file: /sys/fs/cgroup/user.slice/user-1005.slice/user@1005.service/user.slice/libpod-98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956.scope/container/memory.events
2026-07-27T13:14:32+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:32.501762962 +0200 CEST m=+0.100698242 container died 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956 (image=docker.io/dokuwiki/dokuwiki:2025-05-14b, name=dokuwiki, PODMAN_SYSTEMD_UNIT=dokuwiki.service)
2026-07-27T13:14:32+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:32.623241258 +0200 CEST m=+0.222176516 container cleanup 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956 (image=docker.io/dokuwiki/dokuwiki:2025-05-14b, name=dokuwiki, PODMAN_SYSTEMD_UNIT=dokuwiki.service)
2026-07-27T13:14:32+02:00 [1:dokuwiki1:systemd] dokuwiki.service: Main process exited, code=exited, status=1/FAILURE
2026-07-27T13:14:32+02:00 [1:dokuwiki1:systemd] dokuwiki.service: Control process exited, code=exited, status=1/FAILURE
2026-07-27T13:14:33+02:00 [1:dokuwiki1:podman] time="2026-07-27T13:14:33+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/home/dokuwiki1/.local/share/containers/storage\") to resolve.  May prevent use of images created by other tools"
2026-07-27T13:14:34+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:34.131530325 +0200 CEST m=+1.099366197 container remove 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956 (image=docker.io/dokuwiki/dokuwiki:2025-05-14b, name=dokuwiki, PODMAN_SYSTEMD_UNIT=dokuwiki.service)
2026-07-27T13:14:34+02:00 [1:dokuwiki1:podman] 98c4cd64f57e0b291607fa8fe6d4cfa868a7d71383de131a93e9ee3176e87956
2026-07-27T13:14:34+02:00 [1:dokuwiki1:systemd] dokuwiki.service: Failed with result 'exit-code'.
2026-07-27T13:14:34+02:00 [1:dokuwiki1:systemd] Failed to start dokuwiki.service - Dokuwiki instance.
2026-07-27T13:14:34+02:00 [1:dokuwiki1:systemd] dokuwiki.service: Consumed 9.730s CPU time, 59.8M memory peak.
2026-07-27T13:14:34+02:00 [1:dokuwiki1:systemd] dokuwiki.service: Scheduled restart job, restart counter is at 91.
2026-07-27T13:14:34+02:00 [1:dokuwiki1:systemd] Starting dokuwiki.service - Dokuwiki instance...
2026-07-27T13:14:36+02:00 [1:dokuwiki1:runagent] Configuration written to dokuwiki-config/local.protected.php
2026-07-27T13:14:36+02:00 [1:dokuwiki1:runagent] Configuration written to dokuwiki-config/plugins.local.php
2026-07-27T13:14:36+02:00 [1:dokuwiki1:podman] time="2026-07-27T13:14:36+02:00" level=error msg="User-selected graph driver \"overlay\" overwritten by graph driver \"vfs\" from database - delete libpod local files (\"/home/dokuwiki1/.local/share/containers/storage\") to resolve.  May prevent use of images created by other tools"
2026-07-27T13:14:36+02:00 [1:dokuwiki1:podman] 2026-07-27 13:14:36.244394436 +0200 CEST m=+0.051426993 image pull 1d386be80cbcbcd9b38d3a7c188f6e5b32388316e69a2e05cc75405b856fa392 docker.io/dokuwiki/dokuwiki:2025-05-14b

This is a file system permission error, what do you think @stephdl is it a bug or just a permission to adjust in Dokuwiki’s volume? Other ideas?

I cannot reproduce myself, upgrading from 1.1.4

Could you post the output of:

grep dokuwiki1 /etc/subuid
ls -lnR /home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/

The ns8/ and pages/ directories in your volume are rejecting the chown that DokuWiki’s entrypoint performs at startup, which is what makes the service fail. This happens when files are copied into the volume from the host (as root, or via rsync -a from a backup) instead of through the module’s namespace.

Did you import wiki content manually at some point? And was data/pages/pages/ intentional — it would map to a pages:start:nethserver8 page, which looks like a nesting mistake.

this is something workable on my server

[dokuwiki1@R1-pve state]$ ls -ln /home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/
total 4
drwxr-xr-x. 2 427712 427712 28 Jul 27 17:53 playground
-rw-r--r--. 1 427712 427712 13 Jul 27 17:54 start.txt
drwxr-xr-x. 2 427712 427712 63 Jul 27 17:53 wiki
[dokuwiki1@R1-pve state]$ grep dokuwiki1 /etc/subuid
dokuwiki1:427680:65536

did you notice the path : /storage/data/pages/ and not /storage/data/pages/pages/

root@daho-ns8:~# grep dokuwiki1 /etc/subuid
dokuwiki1:427680:65536
root@daho-ns8:~# ls -lnR /home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/
/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/:
insgesamt 16
drwxr-xr-x 1      0      0    0 15. Jul 17:51 ns8
drwxr-xr-x 1      0      0   10 15. Jul 17:51 pages
drwxr-xr-x 1 427712 427712   28 16. Nov 2025  playground
-rw-r--r-- 1 427712 427712 6766  2. Nov 2021  schnellstart.txt
-rw-r--r-- 1 427712 427712  969 15. Jun 15:36 sidebar.txt
drwxr-xr-x 1 427712 427712  382 11. Mai 18:06 start
-rw-r--r-- 1 427712 427712  419 21. Mai 14:21 start.txt
drwxr-xr-x 1 427712 427712   38 16. Jul 20:22 test
drwxrwxr-x 1 427712 427712   66 27. Mai 2024  wiki

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/ns8:
insgesamt 0

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/pages:
insgesamt 0
drwxr-xr-x 1 0 0 30 15. Jul 17:51 start

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/pages/start:
insgesamt 8
-rw-r--r-- 1 0 0 4360 15. Jul 17:41 nethserver8.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/playground:
insgesamt 4
-rw-r--r-- 1 427712 427712 25 15. Jul 16:32 playground.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start:
insgesamt 48
drwxr-xr-x 1 427712 427712  206  9. Jun 18:06 ai
-rw-r--r-- 1 427712 427712  914  9. Jun 19:01 ai.txt
-rw-r--r-- 1 427712 427712  835 31. Jan 2022  avm.txt
drwxr-xr-x 1 427712 427712   26 11. Mai 18:14 hermes-agent
-rw-r--r-- 1 427712 427712  467 11. Mai 18:04 homeassistant.txt
-rw-r--r-- 1 427712 427712  467 11. Mai 18:01 hommeassistant.txt
drwxr-xr-x 1 427712 427712   20  1. Nov 2023  index
-rw-r--r-- 1 427712 427712 5093  2. Nov 2021  ios.txt
drwxr-xr-x 1 427712 427712  278 16. Jan 2025  linux
-rw-r--r-- 1 427712 427712  740 16. Jan 2025  linux.txt
drwxr-xr-x 1 427712 427712  156 26. Jan 2022  macos
-rw-r--r-- 1 427712 427712  198 26. Jan 2022  macos.txt
drwxr-xr-x 1 427712 427712    8 29. Apr 11:27 nethserver
drwxr-xr-x 1 427712 427712  622 29. Apr 11:26 nethserver7
-rw-r--r-- 1 427712 427712 1599 29. Apr 11:40 nethserver7.txt
drwxr-xr-x 1 427712 427712  282 15. Jul 17:59 nethserver8
-rw-r--r-- 1 427712 427712  440 15. Jul 18:03 nethserver8.txt
-rw-r--r-- 1 427712 427712  419 22. Jan 2023  proxmox.txt
drwxr-xr-x 1 427712 427712  676 13. Jan 2025  server
-rw-r--r-- 1 427712 427712  957 13. Jan 2025  server.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/ai:
insgesamt 60
drwxr-xr-x 1 427712 427712   218  9. Jun 19:01 agent-zero
-rw-r--r-- 1 427712 427712 13805 12. Jun 23:11 agent-zero.txt
-rw-r--r-- 1 427712 427712  7574  9. Jun 18:10 dokuwiki-access-guide.txt
-rw-r--r-- 1 427712 427712  5441  9. Jun 17:42 dokuwiki-editing-guide.txt
drwxr-xr-x 1 427712 427712   326 26. Mai 15:03 hermes-agent
-rw-r--r-- 1 427712 427712 26564 17. Jun 20:54 hermes-agent.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/ai/agent-zero:
insgesamt 28
-rw-r--r-- 1 427712 427712  1307 24. Mai 17:08 changelog-2026-05-22.txt
-rw-r--r-- 1 427712 427712  1617 24. Mai 17:08 changelog-2026-05-24.txt
-rw-r--r-- 1 427712 427712   893  9. Jun 16:37 changelog-2026-06-09.txt
-rw-r--r-- 1 427712 427712  1256  9. Jun 19:01 lessons-learned.txt
-rw-r--r-- 1 427712 427712 12204  9. Jun 18:24 secrets-policy.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/ai/hermes-agent:
insgesamt 32
-rw-r--r-- 1 427712 427712 5290 21. Mai 15:30 changelog-2026-05-21b.txt
-rw-r--r-- 1 427712 427712 3992 21. Mai 15:09 changelog-2026-05-21.txt
-rw-r--r-- 1 427712 427712 3073 25. Mai 20:56 changelog-2026-05-25.txt
-rw-r--r-- 1 427712 427712 2518 26. Mai 15:03 changelog-2026-05-26.txt
-rw-r--r-- 1 427712 427712 3853 21. Mai 14:42 changelog-2026-mai-21.txt
-rw-r--r-- 1 427712 427712 3636 21. Mai 15:11 dokuwiki-integration.txt
-rw-r--r-- 1 427712 427712 1017 11. Mai 18:51 integrationen.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/hermes-agent:
insgesamt 0
drwxr-xr-x 1 427712 427712 52 11. Mai 18:15 integrationen

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/hermes-agent/integrationen:
insgesamt 8
-rw-r--r-- 1 427712 427712 2442 29. Apr 11:20 homeassistant.txt
-rw-r--r-- 1 427712 427712 2235 29. Apr 11:20 unifi.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/index:
insgesamt 0
drwxr-xr-x 1 427712 427712 42  1. Nov 2023  nethserver

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/index/nethserver:
insgesamt 4
-rw-r--r-- 1 427712 427712 192  1. Nov 2023  verzeichnisdienst.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/linux:
insgesamt 112
drwxr-xr-x 1 427712 427712    24 18. Nov 2021  backup
-rw-r--r-- 1 427712 427712   410  2. Nov 2021  basics.txt
-rw-r--r-- 1 427712 427712  2268  2. Nov 2021  centos7.txt
-rw-r--r-- 1 427712 427712  6749  2. Nov 2021  cp.txt
-rw-r--r-- 1 427712 427712 11480 15. Nov 2021  croc.txt
drwxr-xr-x 1 427712 427712    14  2. Nov 2021  dns
drwxr-xr-x 1 427712 427712    34  2. Nov 2021  mail
-rw-r--r-- 1 427712 427712    98  2. Nov 2021  mail.txt
-rw-r--r-- 1 427712 427712  3894  2. Nov 2021  mv.txt
-rw-r--r-- 1 427712 427712   851  7. Jan 2023  neofetch.txt
-rw-r--r-- 1 427712 427712    12 16. Jan 2025  ns8.txt
-rw-r--r-- 1 427712 427712 11334 14. Jan 2023  rsync.txt
-rw-r--r-- 1 427712 427712  3332  2. Nov 2021  screen.txt
-rw-r--r-- 1 427712 427712 43525  2. Nov 2021  smem.txt
-rw-r--r-- 1 427712 427712   530 14. Mai 2023  ssh_root_access.txt
drwxr-xr-x 1 427712 427712    16  2. Nov 2021  suche
-rw-r--r-- 1 427712 427712  1705  5. Feb 2023  zip.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/linux/backup:
insgesamt 4
-rw-r--r-- 1 427712 427712 1094 18. Nov 2021  desaster.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/linux/dns:
insgesamt 4
-rw-r--r-- 1 427712 427712 1906  4. Jan 2022  dns.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/linux/mail:
insgesamt 12
-rw-r--r-- 1 427712 427712 8091  2. Nov 2021  ports.txt
-rw-r--r-- 1 427712 427712 2145 12. Jun 10:18 test.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/linux/suche:
insgesamt 4
-rw-r--r-- 1 427712 427712 130  2. Nov 2021  text.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/macos:
insgesamt 20
drwxr-xr-x 1 427712 427712   86  2. Nov 2021  apps
-rw-r--r-- 1 427712 427712  232  2. Nov 2021  apps.txt
drwxr-xr-x 1 427712 427712   94 31. Jan 2022  bigsur-index
-rw-r--r-- 1 427712 427712  213 29. Jan 2022  bigsur-index.txt
-rw-r--r-- 1 427712 427712  259 26. Jan 2022  terminal-freeze.txt
-rw-r--r-- 1 427712 427712 4760 20. Nov 2021  update_monerray.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/macos/apps:
insgesamt 28
-rw-r--r-- 1 427712 427712  4686  2. Nov 2021  dtpop.txt
-rw-r--r-- 1 427712 427712  3004  2. Nov 2021  emclient.txt
-rw-r--r-- 1 427712 427712  2252  2. Nov 2021  money.txt
-rw-r--r-- 1 427712 427712 10656 30. Nov 2021  viscosity.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/macos/bigsur-index:
insgesamt 12
-rw-r--r-- 1 427712 427712   88 29. Jan 2022  bigsur-cache.txt
-rw-r--r-- 1 427712 427712 1660  2. Nov 2021  bigsur-image.txt
-rw-r--r-- 1 427712 427712 1924  2. Nov 2021  bigsur-mail.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/nethserver:
insgesamt 0
drwxr-xr-x 1 427712 427712 30 31. Jul 2024  apps

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/nethserver/apps:
insgesamt 8
-rw-r--r-- 1 427712 427712 503 31. Jul 2024  ddns.txt
-rw-r--r-- 1 427712 427712  80  7. Apr 2022  ips.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/nethserver7:
insgesamt 96
-rw-r--r-- 1 427712 427712 1062 29. Apr 11:26 ad-controller-sss.txt
-rw-r--r-- 1 427712 427712 2096 29. Apr 11:39 ad-controller.txt
-rw-r--r-- 1 427712 427712 6970 29. Apr 11:26 backup.txt
-rw-r--r-- 1 427712 427712 3679 29. Apr 11:26 basis-konfiguration.txt
-rw-r--r-- 1 427712 427712  841 29. Apr 11:29 fileserver.txt
-rw-r--r-- 1 427712 427712  832 29. Apr 11:29 firewall.txt
-rw-r--r-- 1 427712 427712 2953 29. Apr 11:39 mail-postfix.txt
-rw-r--r-- 1 427712 427712  841 29. Apr 11:29 phpmyadmin.txt
-rw-r--r-- 1 427712 427712  235 29. Apr 11:26 pw-change.txt
-rw-r--r-- 1 427712 427712 3440 29. Apr 11:26 pw-restore.txt
-rw-r--r-- 1 427712 427712 1829 29. Apr 11:26 reset-root-pw.txt
-rw-r--r-- 1 427712 427712 4056 29. Apr 11:26 rsmapd.txt
-rw-r--r-- 1 427712 427712  346 29. Apr 11:26 sudo.txt
-rw-r--r-- 1 427712 427712  832 29. Apr 11:29 terminal.txt
-rw-r--r-- 1 427712 427712 1165 29. Apr 11:26 update-history.txt
-rw-r--r-- 1 427712 427712  871 29. Apr 11:39 verzeichnisdienst-einrichten.txt
-rw-r--r-- 1 427712 427712  989 29. Apr 11:26 verzeichnisdienst.txt
-rw-r--r-- 1 427712 427712  329 29. Apr 11:26 vhost.txt
-rw-r--r-- 1 427712 427712  827 29. Apr 11:29 vpn.txt
-rw-r--r-- 1 427712 427712  829 29. Apr 11:29 zeit.txt
-rw-r--r-- 1 427712 427712 8293 29. Apr 11:26 zertifikate.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/nethserver8:
insgesamt 56
-rw-r--r-- 1 427712 427712  4307 16. Jul 20:48 disk_resize.txt
-rw-r--r-- 1 427712 427712 18984  9. Jul 2025  in_container_befehle_absetzen.txt
-rw-r--r-- 1 427712 427712    93 16. Jan 2025  ip-dummy.txt
-rw-r--r-- 1 427712 427712  1511  7. Jan 2026  lamp.txt
-rw-r--r-- 1 427712 427712  3543 16. Jan 2025  podman.txt
-rw-r--r-- 1 427712 427712  4804 29. Apr 11:32 rspamd-blacklist.txt
-rw-r--r-- 1 427712 427712  1113 27. Mai 2025  smb.txt
-rw-r--r-- 1 427712 427712  2186 24. Sep 2025  zertifikate_fuer_tsla_generieren.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server:
insgesamt 352
-rw-r--r-- 1 427712 427712   4099  3. Jun 2024  dah-ns8-server.txt
drwxr-xr-x 1 427712 427712     14 20. Nov 2021  dokuwiki
-rw-r--r-- 1 427712 427712  30497 20. Nov 2021  dokuwiki.txt
-rw-r--r-- 1 427712 427712   1056  2. Nov 2021  hardware.txt
-rw-r--r-- 1 427712 427712  10478 13. Jan 2025  hegering-ns8-server.txt
-rw-r--r-- 1 427712 427712   4546 27. Jan 2022  ipsec.txt
drwxr-xr-x 1 427712 427712    158 15. Mär 2024  lan
-rw-r--r-- 1 427712 427712    322 15. Mär 2024  lan.txt
-rw-r--r-- 1 427712 427712    516  3. Jun 2024  mdol-ns8-server.txt
-rw-r--r-- 1 427712 427712    520 15. Jul 2022  minterts.txt
drwxr-xr-x 1 427712 427712      8 31. Jul 2024  nethserver
-rw-r--r-- 1 427712 427712   2857  9. Dez 2021  netzwerk.txt
-rw-r--r-- 1 427712 427712   8139 25. Jan 2022  opnsense-dargels-andy.txt
-rw-r--r-- 1 427712 427712   6816 12. Apr 2022  pihole.txt
-rw-r--r-- 1 427712 427712    712  8. Jan 2023  proxmox-anwi.txt
drwxr-xr-x 1 427712 427712    224  5. Feb 2023  server-dargels
-rw-r--r-- 1 427712 427712  16590 15. Jul 2022  server-dargels-andy.txt
-rw-r--r-- 1 427712 427712   1628  6. Jan 2023  server-dargels-netcup.txt
-rw-r--r-- 1 427712 427712    657  5. Feb 2023  server-dargels.txt
-rw-r--r-- 1 427712 427712   2264  2. Apr 2022  server-time4vps.txt
drwxr-xr-x 1 427712 427712     42 12. Dez 2021  tertilts
-rw-r--r-- 1 427712 427712    103 12. Dez 2021  tertilts.txt
-rw-r--r-- 1 427712 427712    399 19. Jul 2024  webtrees2.txt
-rw-r--r-- 1 427712 427712 215757 14. Nov 2021  zabbix.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/dokuwiki:
insgesamt 4
-rw-r--r-- 1 427712 427712 157 20. Nov 2021  log.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/lan:
insgesamt 96
drwxr-xr-x 1 427712 427712    86 12. Dez 2021  nethserver
-rw-r--r-- 1 427712 427712   173 12. Dez 2021  nethserver.txt
-rw-r--r-- 1 427712 427712 63404 15. Mär 2024  ns8-home-dargels.txt
-rw-r--r-- 1 427712 427712 16313  7. Dez 2023  opnsense.txt
-rw-r--r-- 1 427712 427712  4826 22. Jul 2025  proxmox.txt
-rw-r--r-- 1 427712 427712   108  2. Nov 2021  synology.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/lan/nethserver:
insgesamt 36
drwxr-xr-x 1 427712 427712    26 31. Jul 2024  apps
-rw-r--r-- 1 427712 427712  1203 31. Jul 2024  apps.txt
-rw-r--r-- 1 427712 427712  2808 12. Dez 2021  basisinstallation.txt
-rw-r--r-- 1 427712 427712 28217 12. Dez 2021  docker.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/lan/nethserver/apps:
insgesamt 28
-rw-r--r-- 1 427712 427712 25608 17. Feb 2024  nextcloud.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/nethserver:
insgesamt 0
drwxr-xr-x 1 427712 427712 84 31. Jul 2024  apps

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/nethserver/apps:
insgesamt 32
-rw-r--r-- 1 427712 427712  6839 31. Jul 2024  fal2ban.txt
-rw-r--r-- 1 427712 427712 20233 31. Jul 2024  stephdlrepo.txt
-rw-r--r-- 1 427712 427712  1687 31. Jul 2024  threadshield.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/server-dargels:
insgesamt 116
-rw-r--r-- 1 427712 427712  6365 22. Jan 2022  backup.txt
-rw-r--r-- 1 427712 427712  1881  5. Mai 2023  certs.txt
-rw-r--r-- 1 427712 427712  1153 26. Nov 2021  changelog.txt
-rw-r--r-- 1 427712 427712 34109  2. Nov 2021  nfs-server.txt
-rw-r--r-- 1 427712 427712  5828 15. Mär 2024  rootserver.txt
-rw-r--r-- 1 427712 427712 14544 20. Nov 2021  threadshield.txt
-rw-r--r-- 1 427712 427712   645  2. Nov 2021  vpn.txt
-rw-r--r-- 1 427712 427712  3302  5. Feb 2023  webtrees2.txt
-rw-r--r-- 1 427712 427712 16473  4. Jul 2023  wp-neu.txt
-rw-r--r-- 1 427712 427712  8642 10. Jan 2022  wp.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/start/server/tertilts:
insgesamt 8
-rw-r--r-- 1 427712 427712  377 15. Jul 2022  backup.txt
-rw-r--r-- 1 427712 427712 3968  2. Nov 2021  preface.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/test:
insgesamt 4
-rw-r--r-- 1 427712 427712 9 16. Jul 20:22 softbreak_test2.txt

/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data/data/pages/wiki:
insgesamt 32
-rw-rw-r-- 1 427712 427712  2729 15. Jul 16:32 dokuwiki.txt
-rw-rw-r-- 1 427712 427712 21387 15. Jul 16:32 syntax.txt
-rw-rw-r-- 1 427712 427712  1705 15. Jul 16:32 welcome.txt
root@daho-ns8:~#

Did you import wiki content manually at some point? And was data/pages/pages/ intentional — it would map to a pages:start:nethserver8 page, which looks like a nesting mistake.

Yes, during Migration from NS7 to NS8 I imported the Wiki-Content. …some years ago.

Your volume has four items owned by host root (UID 0):

data/pages/ns8
data/pages/pages
data/pages/pages/start
data/pages/pages/start/nethserver8.txt

Those are outside the module’s UID mapping, so inside the container they show up as nobody. DokuWiki’s entrypoint runs chown -R www-data:www-data /storage at every container start, and it runs with set -e — so the first Operation not permitted aborts the whole startup. That’s why the service won’t come up. It’s not caused by the upgrade itself; the upgrade just triggered the first restart since those files appeared on 15 July.

Fix, as root on the host:

bash

VOL=/home/dokuwiki1/.local/share/containers/storage/volumes/dokuwiki-data/_data

# 1. list what's affected
find "$VOL" -uid 0 -ls

# 2. fix ownership
find "$VOL" -uid 0 ! -type l -exec chown 427712:427712 {} +

# 3. verify — should return nothing
find "$VOL" -uid 0 -ls

Then restart and check the log:

bash

runagent -m dokuwiki1 systemctl --user restart dokuwiki
journalctl -e _UID=$(id -u dokuwiki1)

I feel it is a bug here introduced by capote, it was workable until upstream changed something in the container

Why the entrypoint cannot change ownership? Is it owned by a wrong uid?

Edit: ok now I see it

It’s a wrong uid:gid assignment. IIUC previous releases didn’t notice this issue, but I suppose DokuWiki has no rights to write in that folder.

Hence it is correct that in newer release Dokuwiki tries to fix ownership. I’d say for this behavioral regression a wontfix is acceptable.

DokuWiki works now well. Thank you @stephdl