synapse_scripts
synapse_scripts copied to clipboard
Tools for maintaining a matrix synapse chat server // SEEKING MAINTAINERS
Key (room_id)=(!NFBkIKQHXkwtmAyxaE:permaweb.io) is still referenced from table "destination_rooms".
Hey guys tried the script but get following Error Message: ``` postgres@7bef9c5eb50c:~/data$ psql -d synapse -f synapse_scripts/synapse_janitor.sql DROP FUNCTION CREATE FUNCTION DROP FUNCTION CREATE FUNCTION DROP FUNCTION CREATE FUNCTION DROP...
Will be good to add an option for cleanup old messages in active rooms, that sent from other Matrix servers, from local database. Eg all messages older than 3 months....
Hi, When I run the script on matrix-synapse v0.99.5.2 I get the following error: `ERROR: relation "state_forward_extremities" does not exist`. See the full log bellow: ``` ~/synapse_scripts$ psql matrix <...
script should include the settings PGUSERNAME= PGHOST= PGPASSWORD= so it works with production environments
there is no need to keep those messages in the database, and especially in irc bridged rooms, there are thousand of join and part messages. At least successive part messages...
The old nuke-room-from-db.sh script from synapse master (before it was removed) did not delete all traces of a room, so I tried to clean up the remaindants with these commands:...
Why do you source `~/.bashrc` in `synapse_startloop.sh`? If you have some important stuff in your `.bashrc` for this project, please add it to the files in the repo.
Abandoned Rooms function must cleanup all rooms without members. But users can leave and rejoin old rooms later. So will be have an option to keep abandoned rooms some time,...