clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
670 stars 176 forks source link

Error During update of nzbToMedia #1611

Closed 03397 closed 5 years ago

03397 commented 5 years ago

I have the package for QNAP for SABnzbdplus which contains the nzbToMedia. When I try to start and during the update I am getting an error during the git. This used to work with no problem I do not know when it broke.

[/share/MD0_DATA/.qpkg/SABnzbdplus] # ./sabnzbd.sh start = (SABnzbdplus) is not active

Aborting Updating 80c8ad5..0db7c3e

clinton-hall commented 5 years ago

via ssh, cd into the nzbToMedia directory cd /shares/Download/nzbToMedia from memory... then

git reset --hard
git pull

if that doesn't work, try

git stash
git pull
git stash clear
03397 commented 5 years ago

Thanks. The first two did the trick. Do you have any clue why this might have happened?

Will I have the same problem when there is another update of nzbToMedia?

clinton-hall commented 5 years ago

I don't expect this should happen with regular updates. This may have been a once off.

According to the error you posted, the files on your system had local changes... I'm not sure what would have done that, but even something that changes file permissions (or another process 'touching' the files) might cause it.

Let me know if it happens again.

clinton-hall commented 5 years ago

Actually, I just realised most of those files were moved by the refactoring updates. So uf related to that, just a once off. When script runs itself it does a clean as well as updating, but when the SABnzbd script calls git pull that is handled differently.

03397 commented 5 years ago

Ok Clinton thanks.