How to update from Version 1.0 to 1.2.x? (Docker)

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?

I have no experience with docker at all.

from the Dockerfile:

docker run -d -p 81:80 --name kanboard -v “/local/www/pathxy/data”:/var/www/app/data -v “/local/www/pathxy/plugins”:/var/www/app/plugins -v “/local/www/pathxy/ssl”:/etc/nginx/ssl kanboard/kanboard:1.0

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.

Good luck.

Oh dear. That sounds like a lot of work. There are no plugins installed.

I have questions:

  • What are the steps to move from one version to the next, using Docker?
  • Alternatively, would there be a way to export the boards from 1.0 and import them into a current installation with 1.2.x?

Another alternative would be to provide a current version and ask users to only create new boards there.


Oje. Das hört sich nach viel Arbeit an. Es sind keine Plugins installiert.

Ich habe Fragen:

  • Wie sind die Schritte, um von einer Version auf die nächste zu kommen, mit Docker?
  • Gäbe es alternativ eine Möglichkeit, die Boards aus 1.0 zu exportieren und in eine aktuelle Installation mit 1.2.x zu importieren?

Eine weitere Alternative wäre, eine aktuelle Version bereitzustellen und die Nutzerinnen zu bitten neue Boards nur noch dort anzulegen.

In general, to upgrade to a particular version, just increase the version number in your run command.

  1. Backup all volumes.
  2. Kill the running container.
  3. 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.

1 Like