ActualBudget Update Script Fails #304

Closed
opened 2026-02-04 17:52:57 +03:00 by OVERLORD · 7 comments
Owner

Originally created by @Telesphoreo on GitHub (Jan 9, 2025).

Have you read and understood the above guidelines?

yes

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

ActualBudget

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

update

📝 Provide a clear and concise description of the issue.

I ran update inside of the ActualBudget LXC. The first issue is that jq is not installed by default but called in the script. Easy enough to install manually. But then when it runs the mv commands, it says the directory is not empty. This makes sense for a fresh install, but updating doesn't work as the file already exist and the script fails.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Run update in the LXC container

Paste the full error output (if available).

First error:

[ERROR] in line 37: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual-server/tags | jq --raw-output '.[0].name')

Second error:

mv: cannot move 'actualbudget-actual-server-95180cc/migrations' to '/opt/actualbudget/migrations': Directory not empty
mv: cannot move 'actualbudget-actual-server-95180cc/src' to '/opt/actualbudget/src': Directory not empty
mv: cannot move 'actualbudget-actual-server-95180cc/upcoming-release-notes' to '/opt/actualbudget/upcoming-release-notes': Directory not empty

[ERROR] in line 41: exit code 0: while executing command mv actualbudget-actual-server-*/* /opt/actualbudget/

🖼️ Additional context (optional).

No response

Originally created by @Telesphoreo on GitHub (Jan 9, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? ActualBudget ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. I ran update inside of the ActualBudget LXC. The first issue is that jq is not installed by default but called in the script. Easy enough to install manually. But then when it runs the `mv` commands, it says the directory is not empty. This makes sense for a fresh install, but updating doesn't work as the file already exist and the script fails. ### ⚙️ What settings are you using? - [X] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Run update in the LXC container ### ❌ Paste the full error output (if available). First error: ``` [ERROR] in line 37: exit code 0: while executing command RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual-server/tags | jq --raw-output '.[0].name') ``` Second error: ```mv: cannot move 'actualbudget-actual-server-95180cc/docker' to '/opt/actualbudget/docker': Directory not empty mv: cannot move 'actualbudget-actual-server-95180cc/migrations' to '/opt/actualbudget/migrations': Directory not empty mv: cannot move 'actualbudget-actual-server-95180cc/src' to '/opt/actualbudget/src': Directory not empty mv: cannot move 'actualbudget-actual-server-95180cc/upcoming-release-notes' to '/opt/actualbudget/upcoming-release-notes': Directory not empty [ERROR] in line 41: exit code 0: while executing command mv actualbudget-actual-server-*/* /opt/actualbudget/ ``` ### 🖼️ Additional context (optional). _No response_
Author
Owner

@MickLesk commented on GitHub (Jan 9, 2025):

@SpyrosRoum

@MickLesk commented on GitHub (Jan 9, 2025): @SpyrosRoum
Author
Owner

@SpyrosRoum commented on GitHub (Jan 9, 2025):

I though the CI was failing and I was planning to look into it tonight, how come this got merged? 😅

@SpyrosRoum commented on GitHub (Jan 9, 2025): I though the CI was failing and I was planning to look into it tonight, how come this got merged? :sweat_smile:
Author
Owner

@MickLesk commented on GitHub (Jan 9, 2025):

@Telesphoreo can you try again in 5-10 min?

@MickLesk commented on GitHub (Jan 9, 2025): @Telesphoreo can you try again in 5-10 min?
Author
Owner

@Telesphoreo commented on GitHub (Jan 9, 2025):

Got this error when trying:

Installing jq...
Installed jq...
mv: target '/opt/actualbudget/': No such file or directory

[ERROR] in line 48: exit code 0: while executing command mv actualbudget-actual-server-*/* /opt/actualbudget/
@Telesphoreo commented on GitHub (Jan 9, 2025): Got this error when trying: ``` Installing jq... Installed jq... mv: target '/opt/actualbudget/': No such file or directory [ERROR] in line 48: exit code 0: while executing command mv actualbudget-actual-server-*/* /opt/actualbudget/ ```
Author
Owner

@ghost commented on GitHub (Jan 9, 2025):

Having the same issue

@ghost commented on GitHub (Jan 9, 2025): Having the same issue
Author
Owner

@MickLesk commented on GitHub (Jan 9, 2025):

Will be fixed tomorrow

@MickLesk commented on GitHub (Jan 9, 2025): Will be fixed tomorrow
Author
Owner

@michelroegl-brunner commented on GitHub (Jan 10, 2025):

Merged.

@michelroegl-brunner commented on GitHub (Jan 10, 2025): Merged.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#304