Closed realcanadrian closed 1 year ago
The key error is
env: ‘go’: No such file or directory
The golang installation isn't working, or it's not in the path. Check if you've got anything here:
root@raspberrypi:/usr/local/go/bin# /usr/local/go/bin/go version
go version go1.18.6 linux/arm
This is so weird. It looks like it's there but it doesn't work:
root@pihole3:/usr/local/go/bin# ls
go gofmt
root@pihole3:/usr/local/go/bin# /usr/local/go/bin/go version
bash: /usr/local/go/bin/go: No such file or directory
I figured this out. I did a sudo apt install golang
and it installed a ton of prerequisites as well. Then the script worked fine. So it looks like my Ubuntu install on my Pi did not by default include whatever is needed to make Go... go. 🙂
I'm installing on a Raspberry Pi 3B with Ubuntu Server on it. The script seems to proceed normally until the end, when it looks like whatever it's expecting to be in /tmp is not there:
The command I'm using is
sudo ./rmmagent-linux.sh install 'armv6' 'https://mesh.[REDACTED].net/meshagents?id=[REDACTED]&installflags=0&meshinstall=6' 'https://api.[REDACTED].net' '1' '1' '[REDACTED]' 'server'