You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to migrate from sqlite to postgres using the provided script on Ubuntu: synapse_port_db --sqlite-database homeserver.db.snapshot --postgres-config homeserver-postgres.yaml
It threw the error that the script couldn't find the synapse module, so i installed it like this: sudo python3 -m pip install --target=/usr/lib/python3.12 synapse
When running the script after that, it throws the following:
Traceback (most recent call last):
File "/usr/local/bin/synapse_port_db", line 31, in <module>
from synapse.config.database import DatabaseConnectionConfig
ModuleNotFoundError: No module named 'synapse.config'
Traceback (most recent call last):
File "/usr/local/bin/synapse_port_db", line 31, in<module>
from synapse.config.database import DatabaseConnectionConfig
ModuleNotFoundError: No module named 'synapse.config'
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered:
Description
When trying to migrate from sqlite to postgres using the provided script on Ubuntu:
synapse_port_db --sqlite-database homeserver.db.snapshot --postgres-config homeserver-postgres.yaml
It threw the error that the script couldn't find the synapse module, so i installed it like this:
sudo python3 -m pip install --target=/usr/lib/python3.12 synapse
When running the script after that, it throws the following:
Steps to reproduce
sudo python3 -m pip install --target=/usr/lib/python3.12 synapse
Homeserver
Synapse self-hosted
Synapse Version
1.118.0
Installation Method
Debian packages from packages.matrix.org
Database
SQLite
Workers
Single process
Platform
Ubuntu 24.04 LTS
Configuration
Basic homeserver.yml config
Relevant log output
Anything else that would be useful to know?
No response
The text was updated successfully, but these errors were encountered: