Donkie / Spoolman

Keep track of your inventory of 3D-printer filament spools.
MIT License
1.01k stars 93 forks source link

Updating to 0.16 not work #300

Closed PGlyre closed 9 months ago

PGlyre commented 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 image

Raspberry Pi 3B+

Donkie commented 9 months ago

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.

PGlyre commented 9 months ago

YES, now it's work..... THANK's