Closed Protected closed 5 years ago
There was a misconfiguration in the reverse proxy combined with database corruption (caused either by it or by the broken migration script).
After migrating a server with an SQLite database to PostgreSQL, I have the same errors. Messages are correctly sent and received over federation, but because of this, the device list of remote users are never updated. What did you do to fix this problem?
Nevermind, I found the way. See my comment on #4877.
Description
I set up PostgreSQL on my server, created a user and database as instructed in the documentation and set the homeserver config to use those credentials. This is a fresh, non-migrated database (because the migration script is currently broken, and anyway I had no local message data in my homeserver yet).
After starting synapse, clients can use the server and exchange messages without issue. They can also receive messages originating from remote servers. However, messages they send are never received by clients in remote servers. No error is displayed on the client (riot), but you can tell the messages aren't being sent because there are no read confirmations in the interface.
Steps to reproduce
Listed above. I'm not sure if this is a bug or misconfiguration, but I was told to report here.
The following types of error recur in my log:
See also: #4628
Note: I have tried to turn metrics on and off; It doesn't seem to have made any difference.
Version information
If not matrix.org:
Version: Synapse/0.99.1.1
Install method: pip
Platform: Debian Stretch; Intel Xeon E5-1650v4; 32gb RAM; Database partition on SSD with 199gb free space; Home partition on SSD with 918gb free space, running as a user.