This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Exception from 'rotate_notifs' shown when running the synapse_port_db script #15789
Labels
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
When migrating an ~5Gb SQLite3 Database to PostgreSQL as described in the documentation, the script printed an exception repeatedly from the
rotate_notifs
background process.After about 10 minutes the script started to output database migration progress and I didn't see this exception again.
Steps to reproduce
systemctl stop matrix-synapse
/etc/matrix-synapse/conf.d/postgres.yaml
homeserver.yaml
and all files in theconf.d
directory into a single configuration for the migration scriptsynapse_port_db --sqlite-database /var/lib/matrix-synapse/homeserver.db --postgres-config concatenated_config.yaml
Homeserver
Self hosted homeserver
Synapse Version
1.81.0+bullseye1 and 1.85.2+bookworm1 after server upgrade
Installation Method
Debian packages from packages.matrix.org
Database
SQLite3 3.40.1-2
Workers
I don't know
Platform
Debian Bullseye and Debian Bookworm on a VM in a Proxmox Cluster
Configuration
No response
Relevant log output
Anything else that would be useful to know?
Maybe the issue is caused by the large DB size of ~5Gb and while the DB is loaded the exceptions are thrown due to missing data (just my assumption).
The text was updated successfully, but these errors were encountered: