Open zeta-00 opened 2 years ago
I think the most correct way is to patch the plugin to write to a writable location. Otherwise I would probably just run a traditional PHP fpm pool that serves a mutable directory.
Also keep in mind that the WordPress module is in a really bad state see #135966
@zeta-00 ping
Issue description
When I activate a migration/backup/restore/caching plugin, it throws an error saying that the /nix/store/plugin/path cannot change and that file permissions are required. I'm guess this is because these folders and files are set to be immutable by nix to preserve reproducibility and to keep the software from breaking, but some plugins do not work with the way nix sets the filesystem.
Anyways, is there anything on your end that you can do to fix this issue? Thanks in advance for the help!
Steps to reproduce
Activate a migration/backup/restore/caching plugin installed with nix using services.wordpress nixos option.
Technical details
Some plugins are unable to change the folders and files when activated, thus breaking in the process.
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result."aarch64-linux"
Linux 5.10.52, NixOS, 21.11 (Porcupine)
yes
yes
nix-env (Nix) 2.4
"nixos-21.11.334247.573095944e7"
/nix/var/nix/profiles/per-user/root/channels/nixos