Getting the following error message when I select update:
Updating /var/www/dashboard...
error: corrupt loose object 'e4247501541d3ed820939fd8bbe42203ea20a57a'
fatal: loose object e4247501541d3ed820939fd8bbe42203ea20a57a (stored in /var/www/dashboard/.git/objects/e4/247501541d3ed820939fd8bbe42203ea20a57a) is corrupt
fatal: the remote end hung up unexpectedly
Updates were not successfull, reverting to Pi-Star original files...
HEAD is now at 5dd6462 Update edit_dmrgateway.php
Done
Any ideas what the problem may be?
error: corrupt loose object
error: corrupt loose object
73 - Jeff VE6DV
Re: error: corrupt loose object
I decided to ssh into the pi and try doing the update that way. Thus far it seems to be working. If that doesn't work I'll reflash the card.
73 - Jeff VE6DV
Re: error: corrupt loose object
The ssh update had the same results. Since I've saved my configuration I will just reflash the card and see if that corrects the problem.
Thanks for the help,
Jeff VE6DV
Thanks for the help,
Jeff VE6DV
73 - Jeff VE6DV
Re: error: corrupt loose object
Reflashing the card did the trick. Error messages are gone and it is behaving normally once again. Now to see if my hotspot continues to lock up on me from time to time. Hopefully that has been fixed in the process.
73 - Jeff VE6DV
Re: error: corrupt loose object
Based on Google -- most solutions say to first make a back-up of the local git repository, then make a new clone from the master repository, followed by copying whatever has that object number from the new clone to the previous local repository.
--
AF6VN
Dennis L Bieber
Re: error: corrupt loose object
If you get error issues with git failing to update your pistar system files, it will always be that the checksum of a file/s has changed in either /usr/local/bin or /usr/local/sbin or /var/www/dashboard
Log into SSH and do one of the sets of commands that is for the area having the error. After it completes do a sudo pistar-update to make sure it is fixed.
rpi-rw
cd /usr/local/bin
sudo git stash
sudo git pull
rpi-ro
rpi-rw
cd /usr/local/sbin
sudo git stash
sudo git pull
rpi-ro
rpi-rw
cd /var/www/dashboard
sudo git stash
sudo git pull
rpi-ro
Log into SSH and do one of the sets of commands that is for the area having the error. After it completes do a sudo pistar-update to make sure it is fixed.
rpi-rw
cd /usr/local/bin
sudo git stash
sudo git pull
rpi-ro
rpi-rw
cd /usr/local/sbin
sudo git stash
sudo git pull
rpi-ro
rpi-rw
cd /var/www/dashboard
sudo git stash
sudo git pull
rpi-ro