backfill command does nothing and log shows a 403
When I run !tg backfill in any telegram chat there is no response from the bot, however, all other commands seem to work just fine. Also, not sure if it's relevant but I do see a 403 legged:
[2022-11-03 22:49:13,076] [[email protected]] Handling transaction 1030 with 1 EDUs [2022-11-03 22:49:13,076] [[email protected]] Finished handling transaction 1030 [2022-11-03 22:49:13,077] [[email protected]] 127.0.0.1 [04/Nov/2022:02:49:13 +0000] "PUT /transactions/1030?access_token=redacted_token HTTP/1.1" 200 159 "-" "Synapse/1.66.0" [2022-11-03 22:49:13,129] [[email protected]] Handling transaction 1031 with 1 PDUs [2022-11-03 22:49:13,129] [[email protected]] Finished handling transaction 1031 [2022-11-03 22:49:13,129] [[email protected]] 127.0.0.1 [04/Nov/2022:02:49:13 +0000] "PUT /transactions/1031?access_token=redacted_token HTTP/1.1" 200 159 "-" "Synapse/1.66.0" [2022-11-03 22:49:13,129] [[email protected]] Received Matrix event $zTMi-ggdJoM38y7Wl0Ig7otKZNUCzFB6IEvmiUKmvy4 from @user:redacted.domain in !sbaZOSWLrHPncuoxMv:redacted.domain [2022-11-03 22:49:13,130] [[email protected]] req #35: POST http://localhost:8008/_matrix/client/v3/join/%21sbaZOSWLrHPncuoxMv%3Aredacted.domain?user_id=@telegrambot:redacted.domain {} [2022-11-03 22:49:13,145] [[email protected]] req #35 (/v3/join/%21sbaZOSWLrHPncuoxMv%3Aredacted.domain) completed in 15.0ms with status 403
Issue 540 seems to be my exact problem. They resolved it by switching the database, I'd prefer to keep using sqlite if possible.
mautrix-telegram v0.12.1
With v0.12.2 the backfill command now seems to give feedback, however, the log always says there are no messages to backfill so nothing is populated.