Closed PGlyre closed 9 months ago
Describe the bug I have followed your instruction to update to 0.16 from 0.15 but get an error " jq: error (at :1): Cannot iterate over null (null)"
Steps to reproduce the behavior: sudo systemctl stop Spoolman sudo systemctl disable Spoolman systemctl --user stop Spoolman systemctl --user disable Spoolman
No Problems
mv Spoolman Spoolman_old && \ mkdir -p ./Spoolman && \ source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') && \ curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip && \ cp Spoolman_old/.env Spoolman/.env && \ cd ./Spoolman && \ bash ./scripts/install_debian.sh && \ rm -rf ../Spoolman_old
Now i got This error "jq: error (at :1): Cannot iterate over null (null)"
Screenshots
Raspberry Pi 3B+
Strange, looks like the download link didn't have any assets. Did you lose internet connection perhaps? Either way, I just pushed an update, try again please.
YES, now it's work..... THANK's
Describe the bug I have followed your instruction to update to 0.16 from 0.15 but get an error " jq: error (at:1): Cannot iterate over null (null)"
Steps to reproduce the behavior: sudo systemctl stop Spoolman sudo systemctl disable Spoolman systemctl --user stop Spoolman systemctl --user disable Spoolman
No Problems
mv Spoolman Spoolman_old && \ mkdir -p ./Spoolman && \ source_url=$(curl -s https://api.github.com/repos/Donkie/Spoolman/releases/latest | jq -r '.assets[] | select(.name == "spoolman.zip").browser_download_url') && \ curl -sSL $source_url -o temp.zip && unzip temp.zip -d ./Spoolman && rm temp.zip && \ cp Spoolman_old/.env Spoolman/.env && \ cd ./Spoolman && \ bash ./scripts/install_debian.sh && \ rm -rf ../Spoolman_old
Now i got This error "jq: error (at:1): Cannot iterate over null (null)"
Screenshots
Raspberry Pi 3B+