We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment
To Reproduce
wget https://cdn.pisugar.com/release/pisugar-power-manager.sh bash pisugar-power-manager.sh -c release
Expected behavior The software to install
Console Result
wget https://cdn.pisugar.com/release/pisugar-power-manager.sh bash pisugar-power-manager.sh -c release --2024-03-22 09:09:11-- https://cdn.pisugar.com/release/pisugar-power-manager.sh Resolving cdn.pisugar.com (cdn.pisugar.com)... 8.45.176.227, 8.45.176.231, 8.45.176.230, ... Connecting to cdn.pisugar.com (cdn.pisugar.com)|8.45.176.227|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4449 (4.3K) [text/plain] Saving to: ‘pisugar-power-manager.sh’ pisugar-power-manager.sh 100%[=============================================================>] 4.34K --.-KB/s in 0s 2024-03-22 09:09:12 (12.7 MB/s) - ‘pisugar-power-manager.sh’ saved [4449/4449] Download PiSugar-server and PiSugar-poweroff package --2024-03-22 09:09:12-- http://cdn.pisugar.com/release/pisugar-server_1.7.6_armhf.deb Resolving cdn.pisugar.com (cdn.pisugar.com)... 8.45.176.225, 8.45.176.232, 8.45.176.226, ... Connecting to cdn.pisugar.com (cdn.pisugar.com)|8.45.176.225|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2024-03-22 09:09:14 ERROR 404: Not Found.
The text was updated successfully, but these errors were encountered:
Also: I get the same result when I choose nightly and not release
Specifically it fails on the line:
wget -O "$TEMPDIR/${package_server}" "http://cdn.pisugar.com/${channel}/${package_server}"
which works out to:
wget -O /tmp/pisugar.8KsEVL/pisugar-server_1.7.6_armhf.deb http://cdn.pisugar.com/release/pisugar-server_1.7.6_armhf.deb
I have a hard time believing the actual install instructions were actually tested
Sorry, something went wrong.
Have had this issue since 1.7.6 was released. Need this as 1.7.5 frontend can't communicate with the API.
Came here to report the same problem. Version 1.7.6 doesn't seem to be on CDN. I changed the script to point to 1.7.5 and it worked fine.
I have made PR to fix this #107 but for now you can run the following.
bash pisugar-power-manager.sh -v 1.7.6-1
fengyc
No branches or pull requests
Environment
To Reproduce
Expected behavior
The software to install
Console Result
The text was updated successfully, but these errors were encountered: