Leantime - Update doesn't work anymore #2379

Closed
opened 2026-02-05 04:39:49 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JamDaBam on GitHub (Jan 25, 2026).

Originally assigned to: @vhsdream on GitHub.

Have you read and understood the above guidelines?

yes

🔎 Did you run the script with verbose mode enabled?

Yes, verbose mode was enabled and the output is included below

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

Leantime

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

update (inside LXC)

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

No response

📈 Which Proxmox version are you on?

pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve)

📝 Provide a clear and concise description of the issue.

Updatescript error on line 35

🔄 Steps to reproduce the issue.

update inside lxc

Paste the full error output (if available).

Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packages.sury.org/php bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
20 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mariadb-server is already the newest version (1:12.2.1+mariadeb12).
mariadb-client is already the newest version (1:12.2.1+maria
deb12).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
✔️ Setup MariaDB 12.2.1 (distribution packages)
✔️ Update available: leantime 3.5.12 → 3.6.0
Creating Backuptar: Removing leading `/' from member names
tar: /opt/Leantime: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
✖️ in line 35: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command tar -czf "/opt/${APP}backup$(date +%F).tar.gz" "/opt/${APP}"

after renaming with (cp -a /opt/leantime /opt/Leantime)

Hit:1 http://security.debian.org bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packages.sury.org/php bookworm InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
20 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mariadb-server is already the newest version (1:12.2.1+mariadeb12).
mariadb-client is already the newest version (1:12.2.1+maria
deb12).
0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
✔️ Setup MariaDB 12.2.1 (distribution packages)
✔️ Update available: leantime 3.5.12 → 3.6.0
Creating Backuptar: Removing leading `/' from member names
✔️ Backup Created
✖️ No asset matching 'Leantime_backup_2026-01-24.tar.gz' found
✖️ in line 39: exit code 1 (General error / Operation not permitted): while executing command return 1

🖼️ Additional context (optional).

The LXC was created quite some time ago, but it has been updated regularly.

I looked in /opt and saw that the folder is called leantime and not Leantime.
I tried to change the name, but then the script fails from line 39 onwards.

Originally created by @JamDaBam on GitHub (Jan 25, 2026). Originally assigned to: @vhsdream on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 🔎 Did you run the script with verbose mode enabled? Yes, verbose mode was enabled and the output is included below ### 📜 What is the name of the script you are using? Leantime ### 📂 What was the exact command used to execute the script? update (inside LXC) ### ⚙️ What settings are you using? - [ ] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? _No response_ ### 📈 Which Proxmox version are you on? pve-manager/9.1.4/5ac30304265fbd8e (running kernel: 6.17.4-2-pve) ### 📝 Provide a clear and concise description of the issue. Updatescript error on line 35 ### 🔄 Steps to reproduce the issue. update inside lxc ### ❌ Paste the full error output (if available). Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://packages.sury.org/php bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 20 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done Reading state information... Done mariadb-server is already the newest version (1:12.2.1+maria~deb12). mariadb-client is already the newest version (1:12.2.1+maria~deb12). 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. ✔️ Setup MariaDB 12.2.1 (distribution packages) ✔️ Update available: leantime 3.5.12 → 3.6.0 ⏳ Creating Backuptar: Removing leading `/' from member names tar: /opt/Leantime: Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors ✖️ in line 35: exit code 2 (Misuse of shell builtins (e.g. syntax error)): while executing command tar -czf "/opt/${APP}_backup_$(date +%F).tar.gz" "/opt/${APP}" after renaming with (cp -a /opt/leantime /opt/Leantime) Hit:1 http://security.debian.org bookworm-security InRelease Hit:2 http://deb.debian.org/debian bookworm InRelease Hit:3 http://deb.debian.org/debian bookworm-updates InRelease Hit:4 https://packages.sury.org/php bookworm InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done 20 packages can be upgraded. Run 'apt list --upgradable' to see them. Reading package lists... Done Building dependency tree... Done Reading state information... Done mariadb-server is already the newest version (1:12.2.1+maria~deb12). mariadb-client is already the newest version (1:12.2.1+maria~deb12). 0 upgraded, 0 newly installed, 0 to remove and 20 not upgraded. ✔️ Setup MariaDB 12.2.1 (distribution packages) ✔️ Update available: leantime 3.5.12 → 3.6.0 ⏳ Creating Backuptar: Removing leading `/' from member names ✔️ Backup Created ✖️ No asset matching 'Leantime_backup_2026-01-24.tar.gz' found ✖️ in line 39: exit code 1 (General error / Operation not permitted): while executing command return 1 ### 🖼️ Additional context (optional). The LXC was created quite some time ago, but it has been updated regularly. I looked in /opt and saw that the folder is called `leantime` and not `Leantime`. I tried to change the name, but then the script fails from line 39 onwards.
OVERLORD added the bug label 2026-02-05 04:39:49 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#2379