Indicate updated template version
Updating Docker containers might make them break if using an obsolete template. Perhaps indicate somewhere whenever a used template has a newer version?
When dockerMan checks for updates, it also updates certain tags in the template if the author allows this. OTOH, description / overview, Support, Project, and Config entries (And depending upon the container/template, the update of the template can be troublesome at times)
Have lost a Postgres persistent data because the template was obsolete.
Perhaps indicate somewhere whenever a used template has a newer version?
Please consider generating a PR to do this ;)
Should this be part of the webGui or the community applications plugin?
Of the three Postgres containers available in CA, only the one in jj9987's repo supports updating of the template via dockerMan (It's the only one that has TemplateURL)
And, a PR for this is against dockerMan, not CA
This is the exact template in use. It seems the official Postgres image has changed storage locations, which has been reflected here https://github.com/juusujanar/unraid-templates/commit/6d6c1f1a66ed719d05f26385829082111e18d20e (line 57), although upon updating the container that did not change, causing the loss of data. The result was an empty data folder on the host directory due to permission issues with the enclosed files.
Any PR that would have dockerMan automatically update the target against all config elements would be a very bad idea, as it's very common practice for users to substitute the targets the template maintainer dictates. A notification that the template has been updated though might also be problematic because templates change all the time, usually for minor things such as config description changes, required / not required, template description, etc.
How common is this issue?
Not aware how common, but losing all database data was not pleasant, hence looking for ways to prevent this from happening.