TriliumNext update fails when moving db, #775

Closed
opened 2026-02-04 21:24:44 +03:00 by OVERLORD · 2 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_
OVERLORD added the bug label 2026-02-04 21:24:44 +03:00
Author
Owner

@MickLesk commented on GitHub (Apr 8, 2025):

Done

@MickLesk commented on GitHub (Apr 8, 2025): Done
Author
Owner

@jshprentz commented on GitHub (Apr 8, 2025):

The TriliumNext update from 0.92.4 to 0.92.6 now completes successfully. Many thanks.

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

  ✔️   Stopped Trilium
  ✔️   Updated to 0.92.6
  ✔️   Cleaned
  ✔️   Started Trilium
  ✔️   Updated Successfully
@jshprentz commented on GitHub (Apr 8, 2025): The TriliumNext update from 0.92.4 to 0.92.6 now completes successfully. Many thanks. ``` ______ _ ___ /_ __/____(_) (_)_ ______ ___ / / / ___/ / / / / / / __ `__ \ / / / / / / / / /_/ / / / / / / /_/ /_/ /_/_/_/\__,_/_/ /_/ /_/ ✔️ Stopped Trilium ✔️ Updated to 0.92.6 ✔️ Cleaned ✔️ Started Trilium ✔️ Updated Successfully ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#775