Self-hostingGuides
Upgrades and rollbacks
Fluxer backs up and upgrades its own database when you start a newer release. You can go from any older release to any newer one in one step.
How releases work
Section titled "How releases work"Each release has a date and time as its version, such as 2026.1114.195738.
A newer date is a newer release.
When Fluxer starts a newer release on older data, it first backs up the database, passwords and keys into the backups folder of its data folder. It then upgrades the database. You don't need to stop anything first, or install the releases in between.
Knowing when a release is out
Section titled "Knowing when a release is out"Fluxer doesn't look for new releases by itself. When you turn the check on, it looks once a day and tells you in these places when one is out.
- The admin panel shows a line at the top of the Users page. Its Updates page, under Configuration, has the version, the day it came out and the upgrade command for this instance with the new version already filled in.
- The log shows the upgrade command once.
fluxerd versionprints what the Updates page shows, andfluxerd psadds a line.rexctl statusshows a New release row.
| How you run Fluxer | Version command |
|---|---|
| Compose file | docker compose exec fluxer fluxerd version |
docker run | docker exec fluxer fluxerd version |
| Podman | podman exec fluxer fluxerd version |
| Linux by hand | runuser -u fluxer -- /opt/ |
| Kubernetes | kubectl -n fluxer exec fluxer-0 -- fluxerd version |
To hear about releases without running anything, follow the releases RSS in an RSS reader, or watch the releases of fluxerapp/fluxer on GitHub.
Upgrade
Section titled "Upgrade"With the compose file, open compose.yaml, change the tag on the image: line, such as ghcr.io/, then pull and start it in the same folder.
docker compose pull && docker compose up -dWith the check on, the Updates page in the admin panel shows one command that does both steps, with the newest version number already filled in.
With docker run, pull the new image, then stop and remove the container and run the same line with the new tag. The volume keeps your data. With the check on and -e FLUXER_INSTALL_METHOD=docker in your line, the Updates page shows the first two commands with the newest version filled in.
docker pull ghcr.io/fluxerapp/fluxer:2026.1124.80040 docker stop -t 130 fluxer && docker rm fluxerdocker run -d --name fluxer --restart unless-stopped --stop-timeout 130 \ --env-file fluxer.env -e FLUXER_INSTALL_METHOD=docker -v fluxer-data:/var/lib/fluxer \ -p 80:80 -p 443:443 -p 443:443/udp -p 7881:7881 -p 7882:7882/udp \ ghcr.io/fluxerapp/fluxer:2026.1124.80040 Use your own ports if you changed them, such as the proxy mode ones.
Never use docker rm -f here, which stops PostgreSQL without letting it shut down.
On a NAS or a panel such as Portainer or Coolify that keeps the compose file for you, change the tag on the image line where the panel shows it.
The compose file for each panel sets FLUXER_UPGRADE_COMMAND so that the admin panel shows that step, with {version} where the version goes, such as FLUXER_. Without it, the admin panel shows steps for any container.
Change the tag on the Image line of the Quadlet file, then reload and restart.
systemctl --user daemon-reload && systemctl --user restart fluxerAs root, leave out --user. To have the Updates page show this step with the version filled in, set FLUXER_UPGRADE_COMMAND.
Download and unpack the new release, move the current link and restart. With the check on, the Updates page in the admin panel shows the download command with the newest version already filled in for you.
helm upgrade fluxer oci://ghcr.io/fluxerapp/charts/fluxer -n fluxer --version 2026.1124.80040 --reset-then-reuse-valuesThe image tag follows the chart version, so a newer chart upgrades Fluxer. It takes the new chart's defaults and keeps the values you set, while --reuse-values leaves out any value a newer chart adds. If you set image.tag, add --set image.tag= with the new version. If you set image.digest, add --set image.digest= with the new digest, or with nothing to follow the chart. With the check on, the Updates page in the admin panel shows the full command for your release, with the new version in image.tag and an empty image.digest, ready to copy and run.
rexctl upgraderexctl upgrades itself and Fluxer, takes a full backup first, and goes back to the release you had if the new one doesn't start. On Linux, rexctl auto-upgrade on upgrades every day or once a week, at about 04:00 unless you pass --at, and sends a notice after each upgrade when you set an address with --notify.
Go back a version
Section titled "Go back a version"An older release can't run on a database that a newer one has upgraded.
When you start one, Fluxer stays up but not ready, and its log says which command restores the backup from before the upgrade.
this data was upgraded to Fluxer 2026.1201.120000, and this Fluxer 2026.1114.195738 can't run on it. Start Fluxer 2026.1201.120000 or newer, or go back to the backup from before the upgrade with fluxerd restore /var/ lib/ fluxer/ backups/ ...Run that command in the running container, pod or service, and Fluxer then starts the older release. Anything posted after the upgrade is gone.
Put the older tag back on the image line of compose.yaml, start it, then restore.
docker compose up -ddocker compose logs fluxerdocker compose exec fluxer fluxerd restore /var/lib/fluxer/backups/<archive> Without the compose file, run docker stop fluxer and docker rm fluxer, then run your docker run line with the older tag.
After that, docker compose logs fluxer and docker compose exec fluxer become docker logs fluxer and docker exec fluxer.
Put the older tag back on the Image line of the Quadlet file, run systemctl --user daemon-reload and systemctl --user restart fluxer, then restore.
journalctl --user -u fluxerpodman exec fluxer fluxerd restore /var/lib/fluxer/backups/<archive> As root, leave out --user.
journalctl -u fluxerdrunuser -u fluxer -- /opt/fluxer/current/bin/fluxerd restore /var/lib/fluxer/backups/<archive> kubectl -n fluxer logs fluxer-0kubectl -n fluxer exec fluxer-0 -- fluxerd restore /var/lib/fluxer/backups/<archive> rexctl rollbackrexctl rollback goes back to the release before the last upgrade. When the newer release has changed your data, it also restores the backup rexctl took before the upgrade, and anything posted after the upgrade is gone. With --restore-database, rexctl restores that backup even when the data hasn't changed.
Before a restore, rexctl backs up the instance as it is now and prints the command that puts it back, unless you pass --no-safety-backup.
Automatic upgrades
Section titled "Automatic upgrades"The compose file and docker run use the tag you give them, and nothing upgrades Fluxer behind your back. With rexctl on Linux, rexctl auto-upgrade on upgrades every day or once a week, at about 04:00 unless you pass --at, with the same backup and go-back as rexctl upgrade. rexctl doesn't offer automatic upgrades on Docker Desktop.
Each run asks fluxer.dev for the newest release itself. It doesn't need FLUXER_UPDATE_CHECK, and turning on automatic upgrades doesn't turn the check on.
We don't recommend tools that pull a new image by themselves, such as Watchtower or Podman's auto-update. Fluxer still backs up first, but going back needs a manual restore.
Turning the check on
Section titled "Turning the check on"The release check is off unless you turn it on. Once it's on, Fluxer asks https://fluxer.dev/releases.json for the list of releases once a day and compares it with its own version on your machine. Every instance that asks gets exactly the same list back.
The request is a plain GET with the user agent Fluxer. It has no instance ID, domain, version, user or community counts, and no cookies. Like any web request, it shows the server your machine's public IP address.
| How you run Fluxer | Turn the check on |
|---|---|
| Docker or systemd | Set FLUXER_ in fluxer.env |
| Kubernetes | Set config. to "true" in the chart |
| rexctl | Run rexctl config set FLUXER_ |
- To turn the check off again, remove the setting or set it to
false. FLUXER_UPDATE_CHECK_URLpoints the check at a copy of the list you host yourself.fluxerd version --checkasks each time you run it, even with the check off.- A list Fluxer saved before you turned the check off stays in the admin panel and
rexctl statusuntil you upgrade past it.
PostgreSQL upgrades
Section titled "PostgreSQL upgrades"The container image has PostgreSQL 17, and an image upgrade never changes it.
On the systemd route, Fluxer uses the PostgreSQL from Debian or Ubuntu and stays on the version its database was made with.
A Fluxer upgrade never moves the database to another PostgreSQL.
When a newer PostgreSQL is installed, such as after a Debian or Ubuntu release upgrade, move the Fluxer database over to it with rexctl.
sudo rexctl postgres upgraderexctl backs up first, and going back after the move needs that backup. Without rexctl, stop fluxerd.service and, as the fluxer account, run fluxerd postgres-upgrade.
Restoring onto another PostgreSQL
Section titled "Restoring onto another PostgreSQL"A backup restores onto the same PostgreSQL or a newer one. A backup from PostgreSQL 17, such as one from the container image, doesn't restore onto Ubuntu 22.04 with PostgreSQL 14. Install postgresql-17 from apt.postgresql.org first, or restore on a machine with 17 or later. The restore then puts the backup into a new PostgreSQL 17 database and keeps the old one next to it. rexctl postgres upgrade --clean-up deletes the old one when you no longer need it.