Upgrade strategy for self-hosted instance from 0.63.7 #6669
-
I am currently at 0.63.7 with three machines: MacOS and Windows as clients, and ArchLinux as server using docker compose Previously I used to follow the original Trilium releases and do as follows:
From the readme it mentioned that the 0.90.4 is equivalent with 0.63.7, but then I figured out that the oldest docker image that is available is 0.96.0, considering the database integrity, is that safe to bump to 0.96.0 then to the latest one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mike1936! I'm Dosu and I’m helping the Trilium team. You can safely upgrade from 0.63.7 to 0.96.0 (and then to the latest) as long as you follow good backup practices. Trilium automatically creates a backup before any database migration, and you can restore from this if needed. The migration process is robust and applies all necessary steps sequentially, so skipping directly to 0.96.0 is supported and there’s no evidence of database integrity issues when doing so, provided migrations run uninterrupted and you have backups in place [source]. The original Docker image ( Versions up to and including 0.90.4 of TriliumNext/Trilium are compatible with zadam/trilium 0.63.7. Any later versions increment the sync protocol, so after upgrading the server, make sure all clients are updated before syncing to avoid protocol mismatches [source]. Recommended steps:
If anything goes wrong, you can restore from the To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
I believe you can switch directly to the latest version since your version was not that old.
Start off with the desktop client, as it's the easiest to upgrade.
Use the right repo (TriliumNext/Trilium), both for desktop and server (Docker).