ProxmoxVE: Trilium LXC does not update correctly
โ Have you read and understood the above guidelines?
yes
๐ What is the name of the script you are using?
Trilium LXC
๐ What was the exact command used to execute the script?
bash -c โ$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/trilium.sh)โ
๐ Provide a clear and concise description of the issue.
After the update, access (502) to Trilium is lost
โ๏ธ What settings are you using?
- Default Settings
- Advanced Settings
๐ฅ๏ธ Which Linux distribution are you using?
No response
๐ Steps to reproduce the issue.
Run: bash -c โ$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/trilium.sh)โ
/_ __/() () ______ ___
/ / / / / / / / / / __ `
/ / / / / / / / // / / / / / /
// // ////_,// // /_/
โ๏ธ Stopped Trilium โ๏ธ Updated to v0.91.5 โ๏ธ Cleaned โ๏ธ Started Trilium โ๏ธ Updated Successfully
โ Paste the full error output (if available).
502 Bad Gateway
๐ผ๏ธ Additional context (optional).
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 42 (20 by maintainers)
can anyone check the dev branch, if this works? Please backup your LXC before
I also had issues with the update. I just rm the stuff in the /opt/trilium folder and reran the โupdateโ command. All of my items are fine and trilium is back up.
Might be an issue with overwriting an old install and some items not being deleted like they normally would.
Okay, i can check it at monday, fine for you all?
Created the file (โTrilium_version.txtโ instead of โTriliumNext_version.txtโ because $APP = Trilium) but it seems that there is still something wrong.
environment: line 32: RELEASE: unbound variableMaybe Iโm wrong but in the /ct/trilium.sh script the RELEASE variable is accessed before itโs set and thats why the error pops up: also the line number 32 would match the follwing first line
Why do we always have to discuss? Be glad that we support the script at all. Instead of discussing it forever, you could have fixed it with this one-liner. We canโt catch every variant of 10,000 installations!
no its marked as breaking change since weeks
touch /opt/TrilliumNext_version.txt
Create an empty File with Touch there
I try at evening to create an PR, Ive shutdown my pc 10min ago
Thanks brother, apparently you are right and your update method helped me.
hello, I tested the new version but the issue still there,
joining the fray but I get a different error. I installed using the script from the old github: https://raw.githubusercontent.com/tteck/Proxmox/main/ct/trilium.sh
tried running plain โupdateโ and get:
[ERROR] in line 66: exit code 0: while executing command wget -q https://github.com/TriliumNext/Notes/releases/download/${RELEASE}/TriliumNextNotes-${RELEASE}-server-linux-x64.tar.xzso I tried running the new update script inside the shell, seems to update and says trilium stopped, updated, etc. as expected then when I run systemctl status trilium I get: