Back
Stats shows only last 25days, everyday it deletes 26th day, we have available space on server.
- 0
- Self Hosted

Interesting but no idea why and whats happening, any idea?
TL;DR
Stats are only showing the last 25 days because the 26th day's data is being deleted every day from the logs. There is available space on the server, and the logs seem normal. The developers are unsure why this is happening and are seeking suggestions.
TypeScript
$ root@Appwrite#6771:~/appwrite# docker logs appwrite-worker-usage
[Job] Received Job (663ec1cf2e7f18.44255279).
[Job] (663ec1cf2e7f18.44255279) successfully run.
[Job] Received Job (663ec1cf3a2a34.00096276).
[Job] (663ec1cf3a2a34.00096276) successfully run.
[Job] Received Job (663ec1cf3b4a26.20487644).
[Job] (663ec1cf3b4a26.20487644) successfully run.
[Job] Received Job (663ec1f2a7ec87.40288580).
[2024-05-11 00:55:14.690] Aggregated 48 keys
[Job] (663ec1f2a7ec87.40288580) successfully run.
[Job] Received Job (663ec1f301e680.96420073).
[Job] (663ec1f301e680.96420073) successfully run.
[Job] Received Job (663ec1f31091b2.68470278).
[Job] (663ec1f31091b2.68470278) successfully run.
[Job] Received Job (663ec1f31f5c56.22408789).
[Job] (663ec1f31f5c56.22408789) successfully run.
[Job] Received Job (663ec1f3206830.30223697).
[Job] (663ec1f3206830.30223697) successfully run.
[Job] Received Job (663ec2034866a2.21384295).
[Job] (663ec2034866a2.21384295) successfully run.
[Job] Received Job (663ec203719154.69889124).
[Job] (663ec203719154.69889124) successfully run.
[Job] Received Job (663ec203810eb3.08792306).
[Job] (663ec203810eb3.08792306) successfully run.
[Job] Received Job (663ec2038cc792.59530985).
[Job] (663ec2038cc792.59530985) successfully run.
[Job] Received Job (663ec2038dfaa7.69224691).
[Job] (663ec2038dfaa7.69224691) successfully run.
[Job] Received Job (663ec20aef4882.79561108).
[Job] (663ec20aef4882.79561108) successfully run.
[Job] Received Job (663ec20b473296.39832354).
[Job] (663ec20b473296.39832354) successfully run.
[Job] Received Job (663ec20b55aae1.82137677).
[Job] (663ec20b55aae1.82137677) successfully run.
[Job] Received Job (663ec20b6287a6.39422468).
[Job] (663ec20b6287a6.39422468) successfully run.
[Job] Received Job (663ec20b63b715.78696231).
[Job] (663ec20b63b715.78696231) successfully run.

TypeScript
$ root@appwrite:~/appwrite# docker logs appwrite-worker-usage-dump
[Job] Received Job (663eb42f814a97.27890873).
[2024-05-10 23:56:31.530] ProjectId [3] ReceivedAt [2024-05-10 23:56:31.529] 7 keys
[Job] (663eb42f814a97.27890873) successfully run.
[Job] Received Job (663eb450965344.53840528).
[2024-05-10 23:57:04.616] ProjectId [3] ReceivedAt [2024-05-10 23:57:04.615] 7 keys
[Job] (663eb450965344.53840528) successfully run.
[Job] Received Job (663eb46f73b080.51314690).
[2024-05-10 23:57:35.474] ProjectId [3] ReceivedAt [2024-05-10 23:57:35.473] 7 keys
[Job] (663eb46f73b080.51314690) successfully run.
[Job] Received Job (663eb4a7183590.89048165).
[2024-05-10 23:58:31.100] ProjectId [3] ReceivedAt [2024-05-10 23:58:31.099] 7 keys
[Job] (663eb4a7183590.89048165) successfully run.
[Job] Received Job (663eb4c69c3115.45089428).
[2024-05-10 23:59:02.646] ProjectId [3] ReceivedAt [2024-05-10 23:59:02.639] 7 keys
[Job] (663eb4c69c3115.45089428) successfully run.
[Job] Received Job (663eb4ef75da01.63850870).
[2024-05-10 23:59:43.483] ProjectId [3] ReceivedAt [2024-05-10 23:59:43.482] 8 keys
[Job] (663eb4ef75da01.63850870) successfully run.
[Job] Received Job (663eb51fd08dc5.56622408).
[2024-05-11 00:00:31.855] ProjectId [3] ReceivedAt [2024-05-11 00:00:31.854] 7 keys
[Job] (663eb51fd08dc5.56622408) successfully run.
[Job] Received Job (663eb55c4852d3.81129997).
[2024-05-11 00:01:32.297] ProjectId [3] ReceivedAt [2024-05-11 00:01:32.296] 7 keys
[Job] (663eb55c4852d3.81129997) successfully run.
[Job] Received Job (663eb5981d4df9.86638348).
[2024-05-11 00:02:32.121] ProjectId [3] ReceivedAt [2024-05-11 00:02:32.119] 7 keys
[Job] (663eb5981d4df9.86638348) successfully run.

Log looks OK as well 🤦🏻♂️
Recommended threads
- Having errors migrating to cloud
Project will not migrate compeltely
- ENV vars not updating
When i do `nano .env` it shows `_APP_DOMAIN_TARGET=` as set to my domain, but when i do `docker compose exec appwrite vars` it shows `_APP_DOMAIN_TARGET=` as ...
- Index with the requested key already exi...
I'm using appwrite cli to create DB and I'm getting index_already_exists Is there a way to undestand the index name and maybe to skip if it's already exits?
