teddycloud icon indicating copy to clipboard operation
teddycloud copied to clipboard

Function "Auto-Update tonies.json" does not update periodically

Open oliver-koch opened this issue 1 year ago • 9 comments

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:

  1. Goto TeddyCloud webinterface and enable setting "Auto-Update tonies.json"
  2. Restart Container (done at 2024-01-23T07:30)
  3. 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

oliver-koch avatar Jan 25 '24 10:01 oliver-koch