Repository navigation
Rollback
Each update writes a backup folder, <dir>/backups/update-<time>/, with a ROLLBACK.txt holding the exact
commands for that update. Follow it when the updater ends with exit code 2, or when the new release
misbehaves.
The steps it lists (Linux):
-
Start the previous images again. Keep the current
.env: it holds the passwords the database uses now.cd /opt/atglance && cp backups/update-<time>/docker-compose*.yml . sed -i 's/^ATGLANCE_VERSION=.*/ATGLANCE_VERSION=rollback-<time>/' .env docker compose up -d --remove-orphans
-
Only if data is wrong, restore the database dump. This replaces all current data:
gunzip -c backups/update-<time>/atglance.sql.gz | docker exec -i ce-atglance-db sh -c 'MYSQL_PWD="$MYSQL_ROOT_PASSWORD" mysql -uroot atglance'
-
Later, return to normal updates: set
ATGLANCE_VERSION=latestin.env, then run the updater.
On Windows, ROLLBACK.txt holds the PowerShell commands.
If the app key changed (HTTP 500 on every page after a restore), put the saved app.env from the backup
folder back into /app/storage/.env in the app-storage volume.
AtGlance Management Console · Repository · Full install guide · Changelog