2021-05-09, 12:17 AM
PostLoadEPG.sh is one line:
nohup python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv-update 180 &
It updated once since the re-install. Nohup.out has this:
Traceback
File "/var/opt/nextpvr/scripts/plutotv/pluto.py", line 298, in <module>
lock = open(updateLockFile, 'w')
PermissionError: [Errno 13] Permission denied: '/var/opt/nextpvr/scripts/plutotv/update.lock'
I'm not certain when this was generated since it is possible that nohup.out is appended and not rewritten and there are two EPG Update complete lines in the file. If that supposition is correct, the last update looks clean from nohup.out standpoint. Tomorrow will tell if all is well again.
Is there a way to tell if the update is waiting to take place? I've seen the thread when it is working, but I only know it because I could read the process thread number in update.lock. Since there is no update.lock right now, I have no idea what the update thread id is. You might know a better way to find out if all is well right now instead of waiting 3 hours.
Bob
nohup python3 /var/opt/nextpvr/scripts/plutotv/pluto.py xmltv-update 180 &
It updated once since the re-install. Nohup.out has this:
Traceback
File "/var/opt/nextpvr/scripts/plutotv/pluto.py", line 298, in <module>
lock = open(updateLockFile, 'w')
PermissionError: [Errno 13] Permission denied: '/var/opt/nextpvr/scripts/plutotv/update.lock'
I'm not certain when this was generated since it is possible that nohup.out is appended and not rewritten and there are two EPG Update complete lines in the file. If that supposition is correct, the last update looks clean from nohup.out standpoint. Tomorrow will tell if all is well again.
Is there a way to tell if the update is waiting to take place? I've seen the thread when it is working, but I only know it because I could read the process thread number in update.lock. Since there is no update.lock right now, I have no idea what the update thread id is. You might know a better way to find out if all is well right now instead of waiting 3 hours.
Bob