Watcharr Update Script exits with 'go command not found' #519

Closed
opened 2026-02-04 19:27:09 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @Clusters on GitHub (Feb 18, 2025).

Have you read and understood the above guidelines?

yes

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

Watcharr

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

update

📝 Provide a clear and concise description of the issue.

During the update process an error appears indicating that the go command is unknown.
The issue is that the go binary is not present inside the PATH environment. I'll propose a PR for this to fix it.

Image

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

🔄 Steps to reproduce the issue.

  1. install new Watcharr LXC with the command from the community-scripts website
  2. go inside the newly created container and type 'update' (you can force an update if you lower the version in /opt/Watcher_version.txt manually)
  3. wait until the error appears

Paste the full error output (if available).

environment: line 51: go: command not found
[ERROR] in line 51: exit code 0: while executing command go mod download

🖼️ Additional context (optional).

No response

Originally created by @Clusters on GitHub (Feb 18, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Watcharr ### 📂 What was the exact command used to execute the script? update ### 📝 Provide a clear and concise description of the issue. During the update process an error appears indicating that the go command is unknown. The issue is that the go binary is not present inside the PATH environment. I'll propose a PR for this to fix it. ![Image](https://github.com/user-attachments/assets/ccab991d-eddf-4c55-a8c4-d4d77b616232) ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 🔄 Steps to reproduce the issue. 1. install new Watcharr LXC with the command from the community-scripts website 2. go inside the newly created container and type 'update' (you can force an update if you lower the version in /opt/Watcher_version.txt manually) 3. wait until the error appears ### ❌ Paste the full error output (if available). `environment: line 51: go: command not found` `[ERROR] in line 51: exit code 0: while executing command go mod download` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-04 19:27:09 +03:00
Author
Owner

@tremor021 commented on GitHub (Feb 18, 2025):

I cant reproduce your problem. It works fine here

Image

@tremor021 commented on GitHub (Feb 18, 2025): I cant reproduce your problem. It works fine here ![Image](https://github.com/user-attachments/assets/8ae72451-7a30-4baa-91a1-563a15e653a6)
Author
Owner

@Clusters commented on GitHub (Feb 18, 2025):

Hi @tremor021 are you using Debian12?

What does echo $PATH give you (inside the Watcharr container)?

@Clusters commented on GitHub (Feb 18, 2025): Hi @tremor021 are you using Debian12? What does `echo $PATH` give you (inside the Watcharr container)?
Author
Owner

@tremor021 commented on GitHub (Feb 18, 2025):

root@watcharr:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

btw, if you read the install script:
ln -sf /usr/local/go/bin/go /usr/local/bin/go so its in the path
not sure what you did after the installation to break that, but its working as intended here

@tremor021 commented on GitHub (Feb 18, 2025): ``` root@watcharr:~# echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ``` btw, if you read the install script: `ln -sf /usr/local/go/bin/go /usr/local/bin/go` so its in the path not sure what you did after the installation to break that, but its working as intended here
Author
Owner

@Clusters commented on GitHub (Feb 19, 2025):

@tremor021 have you tried to create a new LXC with the script with Default settings? I've done it several times now. All of them fail to have /usr/local/bin as well as /usr/local/sbin in their path.

Here's what I did step by step.

PVE:~$ bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/watcharr.sh)" -> Default Settings

PVE:~$ lxc enter <newly_created_container_id>

root@Watcharr:~$ go -v

which leads to the same error as mentioned above.
Can you confirm, that this does not lead to an error for you?
Can this be a Proxmox issue?

@Clusters commented on GitHub (Feb 19, 2025): @tremor021 have you tried to create a new LXC with the script with Default settings? I've done it several times now. All of them fail to have /usr/local/bin as well as /usr/local/sbin in their path. Here's what I did step by step. `PVE:~$ bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/watcharr.sh)"` -> Default Settings `PVE:~$ lxc enter <newly_created_container_id>` `root@Watcharr:~$ go -v` which leads to the same error as mentioned above. Can you confirm, that this does not lead to an error for you? Can this be a Proxmox issue?
Author
Owner

@Clusters commented on GitHub (Feb 19, 2025):

Hi, I just set-up a new Proxmox PVE and indeed the PATH environment is different. So this seems to be some weird Proxmox related issue.
I will close this issue now and will update my PR accordingly later today (I'm currently on the go).

@Clusters commented on GitHub (Feb 19, 2025): Hi, I just set-up a new Proxmox PVE and indeed the PATH environment is different. So this seems to be some weird Proxmox related issue. I will close this issue now and will update my PR accordingly later today (I'm currently on the go).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#519