Updating

You get a new version with two commands. Your data is in a Docker volume and is kept.

Seeing that there is a new version

Twice a day the server checks on GitHub whether there is a newer Tickory. It sends nothing about your server or its users; the apps ask your own server, not GitHub. If there is a newer version, an administrator gets a notice once, and at the top of Settings there is a line with an explanation and a link to what is new. In the Android app everyone sees this way that there is a newer app, with a link to the APK.

Rather no connection with GitHub? Put UPDATE_CHECK=0 in .env; then check the releases page yourself.

Installing a new version

Make a backup first. Then, in the directory with docker-compose.yml:

docker compose pull && docker compose up -d

Docker fetches the newest image and replaces the container. That takes a few seconds; during that time the apps on your devices carry on offline, and afterwards they sync by themselves.

Which version

The line image: ghcr.io/wnijhof/tickory:latest always follows the newest released version. If you want to decide yourself when to switch, put a version number after it, for example ghcr.io/wnijhof/tickory:0.11.0, and change that when you want to update. Released versions get three tags: the full number (0.2.0), the major and minor number (0.2) and latest.

Building it yourself

If you use build: . instead of the ready-made image, this is how you update:

git pull && docker compose up -d --build --pull always

Note: security updates of the underlying Node image only come in when the image is built again. So rebuild now and then, even when Tickory itself has not changed.

Upgrading from version 0.1

Version 0.1 was for one person and worked with a single fixed token (TODO_TOKEN). From 0.2 on, everyone has an account with a password.

  1. Make a backup of the database.
  2. Put the lines TODO_ADMIN_USER and TODO_ADMIN_PASSWORD in .env (see Installing). You can remove TODO_TOKEN; it is no longer used.
  3. Start the new version: docker compose pull && docker compose up -d.
  4. Sign in again on every device, now with the username and the password.

On the first start that account is created and takes over all existing data: projects, tasks, labels, filters and reminders, including your Inbox. After that you create accounts for the others in the app.

Back to a previous version

Put the previous version number after image: and run docker compose up -d. If the new version had already changed the database, also restore the backup you made beforehand; an older version cannot always read a newer database.