teddycloud
teddycloud copied to clipboard
Function "Auto-Update tonies.json" does not update periodically
Function "Auto-Update tonies.json" does not update periodically
Tested on TeddyCloud v0.3.5 (8602da9) - 2024-01-22 13:39:05 +0000 linux-x86_64 on Docker
What was tested:
- Goto TeddyCloud webinterface and enable setting "Auto-Update tonies.json"
- Restart Container (done at 2024-01-23T07:30)
- Check Logs for auto-update entries after two days → Looks like 'tonies.json' was only updated after Container start.
What was expected:
I would expect an periodic update of the 'tonies.json' file (e.g. once a day) as the name of the settings "Auto-Update" tells.
Attached you can find the logs:
user@host:~# date
Thu Jan 25 11:08:38 AM CET 2024
user@host:~# docker logs --timestamps teddycloud 2>&1 | grep "tonies.json"
2024-01-23T07:30:23.819653378Z INFO |toniesJson.c:0057:tonies_update| Updating tonies.json from GitHub...
2024-01-23T07:30:24.161541749Z INFO |toniesJson.c:0079:tonies_update| ... success updating tonies.json from GitHub, reloading
2024-01-23T07:30:24.161621249Z INFO |toniesJson.c:0157:tonies_readJson| Trying to read /etc/teddycloud/config/tonies.json with size 4297501