Page 1 of 1

Update looping

Posted: Mon Jun 21, 2021 6:09 pm
by MW0MWZ
There is a potential issue with updating pi-star where you can run into a never-ending update loop...

The exciting problem here is that this is fixable, but only with manual intervention currently - because while I have fixed the update script, you wont get it if you are already looping....

the following action on the CLI will cure it;

Code: Select all

pi-star@pi-star(ro):~$ rpi-rw
pi-star@pi-star(rw):~$ sudo pkill pistar-update
pi-star@pi-star(rw):~$ sudo rm -rf /usr/local/sbin/pistar-upnp.service
pi-star@pi-star(rw):~$
From here you can either run the update from the cli or the dashboard and it will fix itself.
I'm building a pre-fixed version of the image that will be uploaded shortly.

EDIT: 4.1.5 image that has been pre-updated has been posted.

Re: Update looping

Posted: Tue Jun 22, 2021 7:15 am
by MW0MWZ
MW0MWZ wrote: Mon Jun 21, 2021 6:09 pm There is a potential issue with updating pi-star where you can run into a never-ending update loop...

The exciting problem here is that this is fixable, but only with manual intervention currently - because while I have fixed the update script, you wont get it if you are already looping....

the following action on the CLI will cure it;

Code: Select all

pi-star@pi-star(ro):~$ rpi-rw
pi-star@pi-star(rw):~$ sudo pkill pistar-update
pi-star@pi-star(rw):~$ sudo rm -rf /usr/local/sbin/pistar-upnp.service
pi-star@pi-star(rw):~$
From here you can either run the update from the cli or the dashboard and it will fix itself.
I'm building a pre-fixed version of the image that will be uploaded shortly.

EDIT: 4.1.5 image that has been pre-updated has been posted.
CT2HRB has submitted a patch to help with this, anyone finding their update process looping now only needs to visit the config page or any page in the admin section, and it should cure the loop for them.