Fresh install of os on pi 5 and mycodo install failing

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)

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.

Oh, i have lol.

This part works as expected:
jimh@gardenlab5:/opt $ curl -L https://kizniche.github.io/Mycodo/install

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 $

I see the issue. I’ve fixed it and am currently rebuilding the docs (which contains the install file). Stand by.

looks like wget needs elevated privs to write the file local.

It should now be fixed.

1 Like

Working better now!!
Thank you very much
Jim

1 Like

Great. Thanks for the bug report.