[GH-ISSUE #3395] Kubo service missing $HOME env var #694

Closed
opened 2026-02-26 12:46:21 +03:00 by kerem · 0 comments
Owner

Originally created by @carlozt03 on GitHub (Mar 24, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/3395

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). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/3395 ### ✅ 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_
kerem 2026-02-26 12:46:21 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#694
No description provided.