ERROR: Current DB version 228 is newer than the current DB version 227 #4596
-
My docker instance of Trilium would not start anymore. Looking at logs I can see:
But I am using latest docker image in docker-compose:
Any idea how I can fix this? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 9 replies
-
If your docker deployment is synced with "latest", could it be that you pulled 0.63-beta previously, and 0.62.6 (just released) thereafter? Note that the docs discourage using latest for this specific reason: https://github.com/zadam/trilium/wiki/Docker-server-installation You should be able to sync up with 0.63-beta again |
Beta Was this translation helpful? Give feedback.
-
LATEST: should be the lastest STABLE version not some beta version or other not well functioning version. |
Beta Was this translation helpful? Give feedback.
-
Kinda have to agree with this. The only Docker container ive ever seen that discourages using the latest tag :P |
Beta Was this translation helpful? Give feedback.
-
I have this same problem. I have never seen a docker image that uses "latest" as beta branch lol. I tried relaunching container with zadam/trilium:0.63.1-beta but it fails with error 400 |
Beta Was this translation helpful? Give feedback.
-
It's not the first and only dockerised app that use "latest" tag as beta/RC branch, but when they do it, they have also a "stable" tag (i.e netdata). And if you RTFM, you know that you should not use "latest". |
Beta Was this translation helpful? Give feedback.
-
Latest exists, and latest should not go to an "earlier" version. I got it working, but feel latest should always be latest stable, thats how I have always seen it done. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry for this mistake. I believe this was caused by this strange tag which doesn't follow the convention (leading "0.", doesn't contain the "-beta" suffix) which caused it to be tagged as "latest". I don't understand how this tag was created. I don't think it happened ever before. I will watch out for this when publishing new 0.63 release. |
Beta Was this translation helpful? Give feedback.
-
So what is the fix for now? |
Beta Was this translation helpful? Give feedback.
-
How to resolve this issue? |
Beta Was this translation helpful? Give feedback.
If your docker deployment is synced with "latest", could it be that you pulled 0.63-beta previously, and 0.62.6 (just released) thereafter?
Note that the docs discourage using latest for this specific reason: https://github.com/zadam/trilium/wiki/Docker-server-installation
You should be able to sync up with 0.63-beta again