-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time no longer updating #245
Comments
I just noticed the same and did a little digging. For me, it seems that:
I was able to get it up and running, by running the following command as root: This will add the folder where the wordclock application is installed to the git config and mark it as secure.
This will probably impact every user which installs on a new OS or does package upgrades. I can not say what the best solution is, but some that come into my mind are:
These are my quick findings and ideas. I hope the command above helps to solve it for other people until a definitive fix is found. |
For us non technical sorts, why would this occur with a working system (not a clean os install) ? Is it the way the word clock has been written or the external programs that interface with it ? |
If my analysis is correct, it is because a newer version of git was installed and this version is now more picky concerning file permissions. But this was on my system after I updated the packages, so it makes sense on my systesm. |
@R0lleston can you supply what is being printed in the terminal? |
@FrankX0 i think I might have powered down the pi a few too many times without a proper shutdown, I think I’ll need to do a full reinstall of the OS. I’ll let you know when I’ve done that |
@FrankX0 have reinstalled buster and loaded the word clock. Can confirm it work’s initially, but soon drops off, no longer updates time and essentially freezes up. The connection to the app fails, and it longer updates logs when viewed from putty. The pi is still accessible via putty however you can restart by the sudo python3 word clock.py commmand |
@oxivanisher tried your fix (not as root, but as user pi) worked for a bit but ultimately looked up again |
@R0lleston if you have the same problem as me, you have to do the "fix" (more workaround) as root or it will not help. |
@oxivanisher ok, I’ll work out how to do that and give it a crack |
@R0lleston I can help you with that. Connect to the wordclock and run |
@R0lleston I expect the clock application somewhere stops due to an error. Can you supply what is being printed to the terminal? |
@FrankX0 see previous post. As mentioned previously the clock was working fine prior to an update of the Buster OS |
This looks fine. There is no information after "Running plugin time_default"? Also not after a few minutes? |
Can’t tell the exact time it dies, but it didn’t change any of the data after 3 or 4 mins. Interestingly enough it seems to keep going (more than 5 mins) if the app to change settings is open @FrankX0 |
Ok confirmed that if I have a connection to the clock via its app it operates fine. I tested it for 1.5hrs with the app open on a chrome tab on my phone, time was constantly correct. Take away that connection and after about 5 mins the clock stops updating and the SSH drops out |
It seems to me the raspberry pi loses its WiFi connection. |
@FrankX0 did the above and can confirm the issue remains |
I don't see why this issue would be related to the word clock application. |
@FrankX0 @oxivanisher looks like I might have found the issue. Seems that the problem occurs when an ssh connection or the app is no longer connected to the pi. A little googling indicates that python programs stop working after ssh disconnects (buggered if I can work out why this has suddenly become an issue with workclock). If you install SCREEN and then run screen python3 rpi_wordclock.py it works as it used to. Screen appears to keep programs running in the background. |
This is expected behaviour and not typical for the wordclock. |
Thanks for looking into this, @FrankX0 @oxivanisher. @R0lleston, I close this for now. Best, |
I had the same problem after a fresh installation. I had to start the clock myself because the cronjob did not work following the ReadtheDocs 'installation' manual. |
Silly me decided to update the buster os on my pi this morning, but now the clock will not update the time.
initially running the word clock.py loads the clock, sets the correct time etc, But after this the time no longer refreshes.
Before the buster package update it was working perfectly
any ideas.
The text was updated successfully, but these errors were encountered: