Better Documentation on how to upgrade to new version (server, docker-compose) #2387
TheNomad11
started this conversation in
General
Replies: 1 comment 1 reply
-
Remember this:
You've changed the default note storage directory to /root/trilium-data in Container by setting environment variable TRILIUM_DATA_DIR. So your volume mapping should be like:
The last part, which is the Container directory, should be the same as the directory you set in the TRILIUM_DATA_DIR. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trilium is the most impressive app I have encountered but documentation could be better, especially regarding upgrading for us who are no sysadmins and still learning. Currently the only available information for the recommended docker setup is:
In the past, this did not work for me, I only got error message, therefore I was looking for a docker-compose file. After some searching I found a working one, now I did the standard
docker-compose stop
,docker-compose pull
,docker-compose up -d
but then it seemed my Trilium instance got wiped out, the first set-up screen appeared. It seems there have been upgrade issues before, see #1747, EDIT: also related to unresolved issue #1971So what is the recommended way to update?
And: Is using a docker-compose file recommended or not?
My docker-compose file:
Thanks!
(Will now try to restore from backup)
EDIT: Backup was not saved in data folder, I experimented with permissions and changed data folders, nothing worked, so some permission issues it seems
EDIT 1: This solution worked for me #1747 (comment)
But the data directory is not as it shown in the backup section at /home/node but under root
Beta Was this translation helpful? Give feedback.
All reactions