robohacker
Cadet
- Joined
- Nov 12, 2023
- Messages
- 2
Preface: first-time TrueNAS Scale user with prior *nix administration experience, but without any k8s experience.
I tried changing the permissions of the ix-applications folder inside
This is obviously wrong. My questions is what I can do to fix this properly? More concretely:
1. Can I manually reset/fix the permissions of the ix-applications folder? If yes, how?
2. If not, how can I deprecate the old ix-applications folder and start over? It is okay if I lose my apps and have to re-install/re-configure them, but I would really like to avoid re-installing the base TrueNAS Scale OS.
Here are some additional information about the existing permissions on the ix-applications folder:
I tried changing the permissions of the ix-applications folder inside
/mnt/MainPool/ix-applications
through the TrueNAS Scale GUI, thinking that would allow me to back the whole directory tree to Storj. This was a mistake as changing the permissions of that folder is not recommended (I saw the same error as what is reported on this thread). All my apps are set up to use ix volumes. After this failed attempt, any container that tries to write to /opt
fails to start (e.g. redis and adguard) because of permission errors. The only way I could fix this was to go nuclear:Code:
# stop all applications # drop into the shell $ sudo su $ chmod -R 777 /mnt/MainPool/ix-applications # start all applications again
This is obviously wrong. My questions is what I can do to fix this properly? More concretely:
1. Can I manually reset/fix the permissions of the ix-applications folder? If yes, how?
2. If not, how can I deprecate the old ix-applications folder and start over? It is okay if I lose my apps and have to re-install/re-configure them, but I would really like to avoid re-installing the base TrueNAS Scale OS.
Here are some additional information about the existing permissions on the ix-applications folder:
Code:
$ stat /mnt/MainPool/ix-applications File: /mnt/MainPool/ix-applications Size: 9 Blocks: 17 IO Block: 512 directory Device: 0,50 Inode: 34 Links: 6 Access: (0777/drwxrwxrwx) Uid: ( 568/ apps) Gid: ( 568/ apps) Access: 2023-11-05 21:21:09.198338401 -0800 Modify: 2023-11-05 21:21:34.282165127 -0800 Change: 2023-12-01 22:00:07.925962483 -0800 Birth: 2023-11-05 21:21:09.198338401 -0800