You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dez 31 08:01:09 nixos php[5862]: Cannot write into "config" directory!
Dez 31 08:01:09 nixos php[5862]: This can usually be fixed by giving the web server write access to the config directory.
Dez 31 08:01:09 nixos php[5862]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
Dez 31 08:01:09 nixos php[5862]: See https://docs.nextcloud.com/server/30/go.php?to=admin-config
Dez 31 08:01:09 nixos systemd[1]: Started nextcloud-update-db.service.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5868]: Cannot write into "config" directory!
Dez 31 08:01:09 nixos nextcloud-update-db-start[5868]: This can usually be fixed by giving the web server write access to the config directory.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5868]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5868]: See https://docs.nextcloud.com/server/30/go.php?to=admin-config
Dez 31 08:01:09 nixos nixos[5513]: finished switching to system configuration /nix/store/g8hz5rj0k7hldx24205vqh4mdik79c3c-nixos-system-nixos-24.11.711934.4005c3ff7505
Dez 31 08:01:09 nixos systemd[1]: nixos-rebuild-switch-to-configuration.service: Deactivated successfully.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5869]: Cannot write into "config" directory!
Dez 31 08:01:09 nixos nextcloud-update-db-start[5869]: This can usually be fixed by giving the web server write access to the config directory.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5869]: But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.
Dez 31 08:01:09 nixos nextcloud-update-db-start[5869]: See https://docs.nextcloud.com/server/30/go.php?to=admin-config
Interesstingly, when I change the datadir in the config to datadir="/var/lib/test4"; and then do sudo nixos-rebuild switch, it creates the config.php without any issues, that is, opening the ip in the browser shows me hte login prompt rather than the error message. Is home maybe not having the correct permissions for some reason?
Steps To Reproduce
Steps to reproduce the behavior:
then, doing
sudo nixos-rebuild switch
causes no issues, but when opening192.168.1.176
in the browser, I get the nextcloud screen with the errorAdditional context
. The permissions look like this (config exists, but config.php does not)
.
journalctl
says the followingInteresstingly, when I change the datadir in the config to
datadir="/var/lib/test4";
and then dosudo nixos-rebuild switch
, it creates the config.php without any issues, that is, opening the ip in the browser shows me hte login prompt rather than the error message. Ishome
maybe not having the correct permissions for some reason?Metadata
Notify maintainers
paging maintainers @bachp @schneefux @globin @Ma27
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: