portdb from SQLite to Postgres fails if Sliding Sync has been used: sliding_sync_connections.connection_key
: cannot insert a non-DEFAULT value
#18053
Labels
Description
Hi,
I have an old version of the synapse server that I installed myself with SQLite database. I have set up a new one with the https://github.com/spantaleev/matrix-docker-ansible-deploy and trying to migrate my old SQLite to Postgres.
Getting error when it tries to insert values in identity column.
Steps to reproduce
ansible-playbook -i inventory/hosts setup.yml --tags=install-all
Workaround attempts:
I also tried to adjust the migration script:
The migration itself went well but then my synapse wont start with it and I've got a database with an issue:
Homeserver
personal homeserver
Synapse Version
1.121.1
Installation Method
Default configuration using https://github.com/spantaleev/matrix-docker-ansible-deploy
Database
PostgreSQL
Workers
I don't know
Platform
Ubuntu 24.04
Configuration
Standard configuration set up by the default setup of https://github.com/spantaleev/matrix-docker-ansible-deploy
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: