July 20, 20241 yr Ran into a strange problem with user templates. I wanted to save some backups of the configs so I created a backup dir under: /boot/config/plugins/dockerMan/templates-user Then I started seeing strange behavior like modifying the docker containers wouldn't stick. Turns out it was loading the .xml files from the backup dir which was unexpected. It would take the current settings and save them to /boot/config/plugins/dockerMan/templates-user but then when I reloaded it, it would get it from the backup dir. Took me a while to figure out what was going on. Is this intended behavior or a bug?
July 21, 20241 yr Assuming that you're using the drop-down for "select template". That hasn't worked 100% for a number of years, and likely won't get fixed because "Apps" will also see any templates that you've got stored within that directory.
July 21, 20241 yr Author I'm just clicking on the container in the docker page to edit it. If you have a backups dir with the same .xml it would bring up in the URL: /UpdateContainer?xmlTemplate=edit:/boot/config/plugins/dockerMan/templates-user/backups/my-immich-1.xml for example but then actually use and save the edits to: /boot/config/plugins/dockerMan/templates-user/my-immich-1.xml so it does update the container with the new edits but then next time when you go it edit it again, it pulls the old .xml from the backups dir again without the edits. It was really bizarre until I figured out what was going on.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.