Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

SQLite is not working #3435

Open
paigeadelethompson opened this issue Sep 28, 2024 · 1 comment
Open

SQLite is not working #3435

paigeadelethompson opened this issue Sep 28, 2024 · 1 comment

Comments

@paigeadelethompson
Copy link
Contributor

paigeadelethompson commented Sep 28, 2024

followed the documentation @ https://matrix-org.github.io/dendrite/installation/manual/database and it don't work

monolith-1  | time="2024-09-28T13:21:13.627063518Z" level=panic msg="failed to connect to room server db" error="near \"SEQUENCE\": syntax error"
monolith-1  | panic: (*logrus.Entry) 0xc0002682a0
  database:
    connection_string: file:dendrite_component.db
    max_open_conns: 5
    max_idle_conns: 5
    conn_max_lifetime: -1

tried file:/// and it dont work

@manchelsi
Copy link

Note that Dendrite cannot share a single SQLite database across multiple components. Each component must be configured with its own SQLite database filename. You will have to remove the global.database section from your Dendrite config and add it to each individual section instead in order to use SQLite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants