Skip to content

Kubo service missing $HOME env varย #3395

@carlozt03

Description

@carlozt03

โœ… 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions