Upgrading Miniflux

Please, do not update the software blindly without reading the Change Log. Always check for breaking changes if any.

Instructions

  1. Export the environment variable DATABASE_URL if not already done
  2. Disconnect all users by flushing all sessions: miniflux -flush-sessions
  3. Stop the process
  4. Backup your database
  5. Check that your backup is really working
  6. Upgrade the miniflux binary itself
  7. Run database migrations: miniflux -migrate or set the environment variable RUN_MIGRATIONS=1
  8. Start the process again

Debian Systems

Follow the instructions mentioned above and run: dpkg -i miniflux_2.x.x_amd64.deb. If you are using the APT repository, run apt upgrade miniflux.

Do not forget to run the database migrations. The most simple way is to add RUN_MIGRATIONS=1 in your miniflux.conf.

RPM Systems

Follow the instructions mentioned above and run: rpm -Uvh miniflux-2.x.x-1.0.x86_64.rpm.

Do not forget to run the database migrations as mentioned above.

Docker Containers

If you use Docker Compose, define the new tag in the YAML file and restart the container.

Do not forget to run the database migrations. Set the environment variable RUN_MIGRATIONS=1.