mautrix / slack

A Matrix-Slack puppeting bridge
GNU Affero General Public License v3.0
61 stars 17 forks source link

Failed to initialize db after new installation #38

Closed towerberlin closed 3 months ago

towerberlin commented 9 months ago

2023-10-03T07:59:26+02:00 INF Initializing bridge built_at="Oct 3 2023, 07:57:04" go_version=go1.20.6 name=mautrix-slack version=0.1.0+dev.4530ff39 2023-10-03T07:59:26+02:00 DBG Initializing database connection 2023-10-03T07:59:26+02:00 DBG Initializing state store 2023-10-03T07:59:26+02:00 DBG Initializing Matrix event processor 2023-10-03T07:59:26+02:00 DBG Initializing Matrix event handler 2023-10-03T07:59:26+02:00 DBG Bridge built with end-to-bridge encryption, but disabled in config 2023-10-03T07:59:26+02:00 INF Bridge initialization complete, starting... 2023-10-03T07:59:26+02:00 DBG Running database upgrades 2023-10-03T07:59:26+02:00 FTL Failed to initialize database error="unsupported database schema version: currently on v16 (compatible down to v16), latest known: v15" db_section=main 2023-10-03T07:59:26+02:00 INF Downgrading the bridge is not supported

twouters commented 9 months ago

is this a completely new installation with a newly created blank database?

towerberlin commented 9 months ago

Yes, I had completely emptied the directory before.

twouters commented 9 months ago

And you dropped and recreated the database?

towerberlin commented 9 months ago

Is the database not in the directory? Otherwise, how to delete and recreate the DB?

THANK YOU for your work :-)

twouters commented 9 months ago

Where the database lives depends on your configuration: https://github.com/mautrix/slack/blob/4530ff397d08d93b673cd71da4c2a75d969ca0df/example-config.yaml#L38-L46

towerberlin commented 9 months ago

Sorry, I was mistaken and successfully recreated the database ;-)

Thanks

niebloomj commented 4 months ago

Looks like we can close this one

sumnerevans commented 3 months ago

Closing. Configuration issues should be debugged in the Matrix room anyway.