Closed steffen-poulsen closed 4 months ago
Ok, it seems I have hit a 1.000.000 file limit for telegram channels here.
My last entries in the "parts" column of the "files" table has crossed 1.000.000 by almost 190.000:
"[{""id"": 1189026, ""salt"": <redacted>}]"
And when I try to retrieve a file part using manual links in the browser, all parts before 190.000 are simply gone:
Also, my "Channel info" in the Telegram app shows that there are only 999.860 files in the channel - not 1.189.026 files as expected.
The page describing the limits for telegram does however not seem to mention a 1.000.000 file limit: https://limits.tginfo.me/en. Some sources say its a known bug for supergroups and channels.
Anyway, to sum up: File uploads beyond 1.000.000 parts simply pushes out/deletes the oldest parts quietly, FIFO-style.
Suggestions:
As my teldrive database and the telegram backend are now out of sync, I'm wondering how to bring them back in sync again. A magic "reestablish teldrive database integrity against telegram backend"-button would have been be absolutely marvelous here :D
The magic button would:
1) Walk through all files in the teldrive database, making sure each file is still available in the telegram backend.
This could also be a scheduled "scrubbing" job, running periodically in the background.
I get this error when I try to download files that were uploaded in 2023.
Initial inspection suggests that files uploaded before 9-Dec-2023 fail, files uploaded after 12-Dec-2023 are ok.
This is a docker install off the main branch. Just updated recently, hasn't been updated for a while.