TriliumNext update fails when moving db, #878

Open
opened 2025-11-20 04:55:37 -05:00 by saavagebueno · 0 comments
Owner

Originally created by @jshprentz on GitHub (Apr 8, 2025).

Have you read and understood the above guidelines?

Yes

📜 What is the name of the script you are using?

TriliumNext

📂 What was the exact command used to execute the script?

update

📝 Provide a clear and concise description of the issue.

The update fails while executing command mv /opt/trilium/db, /opt/trilium_backup/ because /opt/trilium/db, does not exist.

This problem was introduced by PR #3741. On line 40, the trailing comma in /opt/trilium/db, should be removed.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

🔄 Steps to reproduce the issue.

Step 1: Run this command in the LXC console to update TriliumNext:

update

Step 2: Choose 2 YES (Verbose Mode) from the update menu.

Paste the full error output (if available).

  ______     _ ___               
 /_  __/____(_) (_)_  ______ ___ 
  / / / ___/ / / / / / / __ `__ \
 / / / /  / / / / /_/ / / / / / /
/_/ /_/  /_/_/_/\__,_/_/ /_/ /_/ 
                                 

  ✔️   Stopped Trilium
⠋ Updating to 0.92.6mv: cannot stat '/opt/trilium/db,': No such file or directory
⠙ Updating to 0.92.6
[ERROR] in line 40: exit code 0: while executing command mv /opt/trilium/db, /opt/trilium_backup/

🖼️ Additional context (optional).

No response

Originally created by @jshprentz on GitHub (Apr 8, 2025). ### ✅ Have you read and understood the above guidelines? Yes ### 📜 What is the name of the script you are using? TriliumNext ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. The update fails while executing command ```mv /opt/trilium/db, /opt/trilium_backup/``` because ```/opt/trilium/db,``` does not exist. This problem was introduced by PR #3741. On line 40, the trailing comma in ```/opt/trilium/db,``` should be removed. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 🔄 Steps to reproduce the issue. Step 1: Run this command in the LXC console to update TriliumNext: ``` update ``` Step 2: Choose 2 YES (Verbose Mode) from the update menu. ### ❌ Paste the full error output (if available). ``` ______ _ ___ /_ __/____(_) (_)_ ______ ___ / / / ___/ / / / / / / __ `__ \ / / / / / / / / /_/ / / / / / / /_/ /_/ /_/_/_/\__,_/_/ /_/ /_/ ✔️ Stopped Trilium ⠋ Updating to 0.92.6mv: cannot stat '/opt/trilium/db,': No such file or directory ⠙ Updating to 0.92.6 [ERROR] in line 40: exit code 0: while executing command mv /opt/trilium/db, /opt/trilium_backup/ ``` ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bug label 2025-11-20 04:55:37 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#878