jimbo762
(Jim)
September 29, 2024, 11:56pm
1
Wanting to test drive the latest release i setup a fresh lab node and started installing. After OS patching to latest and reboot, Mycodo install is failing.
Here is the output from last line of patching output to failure.
install-error.txt (4.7 KB)
KyleGabriel
(Kyle Gabriel)
September 30, 2024, 12:06am
2
Your first attempt at installing failed to download the install file. Your second install attempt was halted because you already had the /opt/Mycodo install directory (from the first attmepted install). You should delete the install directory and try again.
jimbo762
(Jim)
September 30, 2024, 12:09am
3
Oh, i have lol.
This part works as expected:
jimh@gardenlab5:/opt $ curl -L https://kizniche.github.io/Mycodo/install
jimbo762
(Jim)
September 30, 2024, 12:12am
4
it doesnt like this part:
jimh@gardenlab5:/opt $ curl -s https://api.github.com/repos/kizniche/Mycodo/releases/latest |
jq -r '.tarball_url' |
wget -i - -O mycodo-latest.tar.gz
mycodo-latest.tar.gz: Permission denied
jimh@gardenlab5:/opt $
More specifically,
jimh@gardenlab5:/opt $ wget https://api.github.com/repos/kizniche/Mycodo/tarball/v8.16.0
--2024-09-29 17:11:35-- https://api.github.com/repos/kizniche/Mycodo/tarball/v8.16.0
Resolving api.github.com (api.github.com)... 140.82.112.5
Connecting to api.github.com (api.github.com)|140.82.112.5|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/kizniche/Mycodo/legacy.tar.gz/refs/tags/v8.16.0 [following]
--2024-09-29 17:11:36-- https://codeload.github.com/kizniche/Mycodo/legacy.tar.gz/refs/tags/v8.16.0
Resolving codeload.github.com (codeload.github.com)... 140.82.114.9
Connecting to codeload.github.com (codeload.github.com)|140.82.114.9|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/x-gzip]
v8.16.0: Permission denied
Cannot write to ‘v8.16.0’ (Permission denied).
jimh@gardenlab5:/opt $
KyleGabriel
(Kyle Gabriel)
September 30, 2024, 12:22am
5
I see the issue. I’ve fixed it and am currently rebuilding the docs (which contains the install file). Stand by.
jimbo762
(Jim)
September 30, 2024, 12:24am
6
looks like wget needs elevated privs to write the file local.
jimbo762
(Jim)
September 30, 2024, 12:40am
8
Working better now!!
Thank you very much
Jim
1 Like
KyleGabriel
(Kyle Gabriel)
September 30, 2024, 12:44am
9
Great. Thanks for the bug report.