I have bunch of containers added via compose yaml. Whenever there is update, they loose their configs(or attleast most of them)… I suppose this is not normal? I see that jackett container has now update available, if needed and instructed. i could take logs or something when updating.
Or is this example container configuration faulty somehow:
Whats mindbogling, is for example qbittorrentvpn custom container deletes vpn files when upgrading ? For me it looks like whole folder where container resides, is renewed?
Im still having this same problem with qbittorrentvpn, everytime it updates, or truenas gets an update. I noticed that in my config i have umask=000, could that be the problem ?
If your configuration is being lost when you restart the container, I’d first check to see if its config is actually being saved in the first place. In your case, that would mean looking in /mnt/container/qbittorrentvpn/config to see if there’s anything there. If not, that points strongly toward permissions as the problem–either that, or your container is saving its config somewhere other than /config.
Yes i have made backups from those folders for easier restoration and have used those to restore, so i can confirm they are there, they do stay there over reboots etc. They do not disappear over container restarts, only when qbittorrentvpn has update or truenas itself has update(like today).
Is it normal behaviour that there is root and apps who owns directories inside installation destination ?
/mnt/container/qbittorrentvpn$ ls -la
total 10
drwxr-xr-x 4 root root 4 Aug 15 12:39 .
drwxr-xr-x 4 root root 4 Aug 15 12:39 ..
drwxrwxr-x 5 apps apps 7 Aug 15 12:39 config
drwxr-xr-x 2 root root 2 Aug 15 12:39 data