I was looking to help the Linuxserver group update their Docker container for TTRSS, however I’ve run into an issue: (I can’t post links, but it’s issue 16 on their repo).
It seems that the upgrade path for TTRSS is a
git pull, and since dynamic files are scattered all through the directory a pretty in-depth
gitignore is required.
This makes updating in a container very difficult, since at build time the TTRSS directory for the user doesn’t exist.
My suggestion is to revamp data storage, and create a
data folder that all dynamic content is kept in. Cache, plugins, deployment, config, etc. Basically, have that data folder be completely empty at install time, and only populate once the installer starts running. This is how most new web software works, like Nextlcoud, etc.
I understand this could be a big undertaking, and require a scripted update method for users, but this could be highly beneficial going forward.