HomeBox update script fails from 0.20.2 -> 0.21.0 #1530

Closed
opened 2026-02-05 01:28:05 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @satienza on GitHub (Aug 25, 2025).

Have you read and understood the above guidelines?

yes

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

Homebox

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

update

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📝 Provide a clear and concise description of the issue.

Running the update script returns an error.

🔄 Steps to reproduce the issue.

Run update script on 0.20.0 installation.

Paste the full error output (if available).

rm: cannot remove '/opt/homebox': Is a directory

[ERROR] in line 41: exit code 0: while executing command rm -f /opt/homebox

🖼️ Additional context (optional).

No response

Originally created by @satienza on GitHub (Aug 25, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Homebox ### 📂 What was the exact command used to execute the script? update ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📝 Provide a clear and concise description of the issue. Running the update script returns an error. ### 🔄 Steps to reproduce the issue. Run update script on 0.20.0 installation. ### ❌ Paste the full error output (if available). ``` rm: cannot remove '/opt/homebox': Is a directory [ERROR] in line 41: exit code 0: while executing command rm -f /opt/homebox ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 01:28:05 +03:00
Author
Owner

@c-wee commented on GitHub (Aug 25, 2025):

I get the same error. Homebox is inaccessible too.

@c-wee commented on GitHub (Aug 25, 2025): I get the same error. Homebox is inaccessible too.
Author
Owner

@adte commented on GitHub (Aug 27, 2025):

I get the same error. Homebox is inaccessible too.
I noticed that in the /etc/systemd/system/homebox.service file for the pools:
WorkingDirectory=/opt/homebox
ExecStart=/opt/homebox/homebox
EnvironmentFile=/opt/homebox/.env
/homebox is added at the end, which causes the path to be incorrect and homebox cannot be started after the update attempt.

@adte commented on GitHub (Aug 27, 2025): I get the same error. Homebox is inaccessible too. I noticed that in the /etc/systemd/system/homebox.service file for the pools: WorkingDirectory=/opt/homebox ExecStart=/opt/homebox/homebox EnvironmentFile=/opt/homebox/.env /homebox is added at the end, which causes the path to be incorrect and homebox cannot be started after the update attempt.
Author
Owner

@tremor021 commented on GitHub (Aug 27, 2025):

@MickLesk can you take a look. I won't be on my PC for a couple of days probably

@tremor021 commented on GitHub (Aug 27, 2025): @MickLesk can you take a look. I won't be on my PC for a couple of days probably
Author
Owner

@MickLesk commented on GitHub (Aug 27, 2025):

Image
@MickLesk commented on GitHub (Aug 27, 2025): <img width="535" height="262" alt="Image" src="https://github.com/user-attachments/assets/27e165fb-b646-43f5-acb8-dc80859fe89c" />
Author
Owner

@MickLesk commented on GitHub (Aug 27, 2025):

Information, if your update failed: edit your service: nano /etc/systemd/system/homebox.service;

to following:

WorkingDirectory=/opt/homebox
ExecStart=/opt/homebox/homebox
EnvironmentFile=/opt/homebox/.env

then systemctl daemon-reload and systemctl restart homebox

@MickLesk commented on GitHub (Aug 27, 2025): Information, if your update failed: edit your service: nano /etc/systemd/system/homebox.service; to following: ```bash WorkingDirectory=/opt/homebox ExecStart=/opt/homebox/homebox EnvironmentFile=/opt/homebox/.env ``` then systemctl daemon-reload and systemctl restart homebox
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1530