Dokuwiki: Change permissions of users file to be read-write
Dokuwiki now requires read/write permissions for the users file at /run/agenix/dokuwikiUsersFile
. Previously it must have only required read permissions, as it was working but now users cannot login without the file being set to read-write.
-
Create a temporary fix by manually changing the permissions using chmod 600
. -
Change profiles/web/dokuwiki.nix:25 to be 0600 - giving read-write to the dokuwiki user. It seems that access from the group (caddy) is not necessary (things work without it) but this change should be treated with caution. -
Separately, profiles/web/dokuwiki.nix:47 could be uncommented out to in theory take the user straight to the single sign on prompt, without the need to click through an extra step. Update: we aren't doing this because it doesn't log you in properly.