Page 2 of 3

Re: update loop, update fails

Posted: Tue Jun 22, 2021 7:13 am
by MW0MWZ
Thats a pretty good solution - I was pondering doing something similar, but you did the work already - thank you.

Re: update loop, update fails

Posted: Tue Jun 22, 2021 7:47 am
by g6fgy
Is it confirmed that the 4.1.5 image now available for download is without the loop issue?

Thanks - Eric G6FGY

Re: update loop, update fails

Posted: Tue Jun 22, 2021 10:08 am
by G0FVX
No is the answer Eric, in my experience. I have just tried an UPDATE and lost contact with the Pi.
Guess I will have to rewrite the card :(
Following the yellow banner at the top of the screen told me that I had the most recent version, 4.1.4.

Re: update loop, update fails

Posted: Tue Jun 22, 2021 10:44 am
by 2E0UCW
I've just managed to update 4 Pi-Star hotspots at home and one repeater remotely via the yellow banner update link.
All 5 are now showing version 4.1.5 and operating as they should (but I'll keep monitoring).
I've also setup a 5th hotspot with a fresh image (v 4.1.5) having not used it in a few months.

Re: update loop, update fails

Posted: Tue Jun 22, 2021 11:04 am
by G0FVX
Sorted. Well at least I have the the Pi reconnected to the outside world!
It's surprising how quickly I miss it when it stops!
Still got the "new version" reminders at top of screen.

Re: update loop, update fails

Posted: Tue Jun 22, 2021 2:28 pm
by WC2F
it works super

thanks

miguel wc2f

Re: update loop, update fails

Posted: Tue Jun 22, 2021 4:06 pm
by G8SEZ
G0FVX wrote: Tue Jun 22, 2021 11:04 am Still got the "new version" reminders at top of screen.
Which means you need to run sudo pistar-upgrade

Re: update loop, update fails

Posted: Tue Jun 22, 2021 4:13 pm
by N7HHI
G8SEZ wrote: Tue Jun 22, 2021 4:06 pm
G0FVX wrote: Tue Jun 22, 2021 11:04 am Still got the "new version" reminders at top of screen.
Which means you need to run sudo pistar-upgrade
I still had the message at the top of the screen too after upgrading. All I did was switch to a different screen ( I switched from Admin to Dashboard and back ) and the message at the top went away.

Re: update loop, update fails

Posted: Fri Jun 25, 2021 4:56 am
by VK5BB
Hi Folks,

I too had the original looping problem when I tried to update/upgrade Tuesday 22 June.

I am not sure now as to the order I tried with the Update/Upgrade, but once in the loop the only way out was to "pull the plug!" "Ctrl C" just did not do the job of exiting!

So I went through the process of manually down loading the June version, loading with my back up, all seemed to load OK, but when I tested my system there seemed to be a problem and it did not respond to my radio etc.

So, I went back to first principles from where I knew my system last worked OK, formatted the SD card and did a "clean install of the V4.1.4 Feb 21, did a manual configuration and tested my system and all was well. Decided to "leave all alone as it is working" for the Tuesday.

So on Wednesday early afternoon local time, (approx 0500UTC) I thought i would have another look up Upgrading?

My main Pi-Star hot spot is based on a Raspberry Pi 3 A+, RobotDF UPS board with 4000mAh battery, LoneStar duplex board, a Nextion 3.5" display running Nextion Drivers.

This time I followed the process in this order, I ran Update, when system rebooted, then ran Upgrade, when system rebooted, then ran Update again.

All worked and all Update/Upgrades went well with no problems.

With that success in place I then ran the Update/Upgrade on my, two Pi Zero/LoneStar simplex units, another RPi3 A+ / LoneStar simplex / 2.8" Nextion and my original Pi-Star hot spot on a RPi 3B, Jumbo modem hat and 3.5" Nextion.

They all upgraded without any issues, so from my point of view, I am now happy as all my systems are now about as up to date as I can get and they all work as to be expected.

So thank you very much to all who have contributed to both the ongoing service of Pi-Star and for the ongoing help with the continuous improvements and updates.

Regards and 73,
Ben VK5BB

Re: update loop, update fails

Posted: Thu Jul 01, 2021 3:50 pm
by aa5un
I am running Pi-Star 4.1.4 and have the looping problem. I have tried some of the fixes suggested but am still running into a problem. Here is a capture from my update screen...
Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Updating /usr/local/sbin...
Found a new version of pistar-update...
From https://github.com/AndyTaylorTweet/Pi-S ... aries_sbin
* branch master -> FETCH_HEAD
error: Unable to create '/usr/local/sbin/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Updating d79cc65..b35a7f4
Update to new version of pistar-update was not successfull, forcing update...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
Restarting update process with the new version...
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
fatal: Unable to create '/usr/local/sbin/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.
cut: write error: Broken pipe

------------
When I try running update again I get...
Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
cut: write error: Broken pipe


-----------------