Error on Updating

General support for the Pi-Star System
Post Reply
AA0WX
Posts: 5
Joined: Tue Apr 30, 2019 11:06 pm
Location: Zebulon NC, USA

Error on Updating

Post by AA0WX »

I cant quite figure out whats going on here.
It might be something so simple I dont see it.


Starting update, please wait...
Stopping Services...
Done
Updating DV Binaries...
No updates for /usr/local/bin available
Done
Updating Pi-Star Binaries...
Updating /usr/local/sbin...
From https://github.com/AndyTaylorTweet/Pi-S ... aries_sbin
* branch master -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
pistar-upnp.service
Please commit your changes or stash them before you merge.
Aborting
Updating ad2da0d..57b5de5
Updates were not successfull, reverting to Pi-Star original files...
error: Entry 'pistar-upnp.service' not uptodate. Cannot merge.
fatal: Could not reset index file to revision 'origin/master'.
Done
H. Anderson AA0WX
NQ4T
Posts: 51
Joined: Mon Aug 06, 2018 11:48 pm

Re: Error on Updating

Post by NQ4T »

That looks like a repository issue the devs will have to fix.
User avatar
G8SEZ
Posts: 553
Joined: Fri Apr 13, 2018 8:26 pm

Re: Error on Updating

Post by G8SEZ »

The pistar-upnp.service file patch appears somehow to have become its own parent.

git error?
--

Brian G8SEZ
User avatar
w7efs
Posts: 335
Joined: Sun Apr 22, 2018 4:26 pm

Re: Error on Updating

Post by w7efs »

Error is duplicated here, and I've never edited /usr/local/sbin/pistar-upnp.service
User avatar
G8SEZ
Posts: 553
Joined: Fri Apr 13, 2018 8:26 pm

Re: Error on Updating

Post by G8SEZ »

Andy has fixed it up this morning, that should mean that everyone's problem ends when they next update.
--

Brian G8SEZ
AA0WX
Posts: 5
Joined: Tue Apr 30, 2019 11:06 pm
Location: Zebulon NC, USA

Re: Error on Updating

Post by AA0WX »

It was a good update this morning. Seems like the issue was resolved.
H. Anderson AA0WX
User avatar
G8SEZ
Posts: 553
Joined: Fri Apr 13, 2018 8:26 pm

Re: Error on Updating

Post by G8SEZ »

Yes, but the upnp service syntax has been reverted to the original, so according to the upnpc man page it is incorrect when trying to delete upnp entries on stopping the service.

I expect Andy will sort it out soon, whatever the problem was it was due to something with the git commit.
--

Brian G8SEZ
KN2TOD
Posts: 264
Joined: Sun Nov 11, 2018 6:36 pm

Re: Error on Updating

Post by KN2TOD »

System is also being left in RW mode after the updates.
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: Error on Updating

Post by AF6VN »

KN2TOD wrote: Tue Jul 07, 2020 8:01 pm System is also being left in RW mode after the updates.
That is a long running problem. Some updates will replace files, but the OS keeps a reference to the original file location (since the file is being used at the time). Those references are, in a way, "pending deletes" -- the name is no longer in the directory, but the OS can't free the space until after a reboot.

--
AF6VN
Dennis L Bieber
KN2TOD
Posts: 264
Joined: Sun Nov 11, 2018 6:36 pm

Re: Error on Updating

Post by KN2TOD »

This was a different favor of that issue. I've never seen the update process itself report a problem with the mount/unmounts built into procedures, nor have the ability to correct the status by issuing an RPI-RW command later via SSH. I've seen enough RW lockups that your refer to, so this caught my attention. Six different hotspots exhibited the same behavior in a short period of time in sequential, manually initiated updates. All the hotspots were in R status before the update, RW status after, and restored to R status via command afterwards with no reboots.
Post Reply