Kubo service missing $HOME env var #696

Closed
opened 2026-02-04 20:54:52 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @carlozt03 on GitHub (Mar 24, 2025).

Have you read and understood the above guidelines?

yes

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

Kubo LXC

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

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kubo.sh)"

📝 Provide a clear and concise description of the issue.

The IPFS service fails to start due to a missing $HOME env var. Editing the systemd unit should resolve this. I tried to file a PR, but I do not have permissions. Here is the line that should be added after Restart=on-failure:

  • Environment=HOME=/root

That has resolved it for me in my environment.

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

Install Kubo via the commandline: bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kubo.sh)"

Paste the full error output (if available).

In the journalctl logs:

kubo ipfs[4930]: Error: $HOME is not defined
kubo systemd[1]: ipfs.service: Main process exited, code=exited, status=1/FAILURE

🖼️ Additional context (optional).

No response

Originally created by @carlozt03 on GitHub (Mar 24, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Kubo LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kubo.sh)" ### 📝 Provide a clear and concise description of the issue. The IPFS service fails to start due to a missing $HOME env var. Editing the systemd unit should resolve this. I tried to file a PR, but I do not have permissions. Here is the line that should be added after `Restart=on-failure`: - `Environment=HOME=/root` That has resolved it for me in my environment. ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. Install Kubo via the commandline: `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/kubo.sh)"` ### ❌ Paste the full error output (if available). In the journalctl logs: ``` kubo ipfs[4930]: Error: $HOME is not defined kubo systemd[1]: ipfs.service: Main process exited, code=exited, status=1/FAILURE ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 20:54:52 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#696