I’ve found an installation of kanboard 1.0 in a docker container at a webserver. Someone else has installed it via docker, and now I have to take care of it. I want to update to the newest version.
What are the steps I have to take?
Backup
And then?
Update to 1.0.x? Or is a direct update to 1.1.x or even 1.2.x possible?
Is there a update path I can follow?
Could you help me with the docker commands I have to make?
Hard job ahead! You have to skim over all Changelogs between the versions for breaking changes. And not to forget, the list of plugins in use, whether they are compatible or upgradeable to the targeted version.
In general, to upgrade to a particular version, just increase the version number in your run command.
Backup all volumes.
Kill the running container.
Upgrade by performing run command with the new version, e.g. kanboard/kanboard:1.1.0
This should run all required schema updates to your database.
I’d try to in steps for all minor releases: 1.1 > 1.2. Verify after each step that the upgrade was successful and that everything works. After 1.2 you can try kanboard/kanboard:latest, which currently is 1.2.43.
You can try, but I don’t know whether this will work. You’ll have to migrate the data volume as well, not just the database content.
Sounds reasonable, if this legacy instance was orphaned for years. But you’ll have to recreate all user accounts.