DMR: Pi-Star Update Error Fix

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

It is caused by the file system having been put back into read/write (rpi-rw) and your pi suffers a hiccup while a file is being accessed or if you happen to edit files in those directories.

Here is how to resolve this problem..

Log into SSH and do one of the sets of commands that is for the area having the error.

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

After it completes do a sudo pistar-update to make sure it is fixed.

By Al AF4FA