Database config error
Hey
I've encountered this error this the last update :
kresus_1 | [2023-07-12T19:36:17.667] [ERROR] apply-config - database type not set to sqlite, but a sqlite path is provided.
kresus_1 | /usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:19
kresus_1 | throw new Error(msg);
kresus_1 | ^
kresus_1 |
kresus_1 | Error: database type not set to sqlite, but a sqlite path is provided.
kresus_1 | at crash (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:19:11)
kresus_1 | at dependentCheck (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:423:17)
kresus_1 | at Object.apply (/usr/local/share/.config/yarn/global/node_modules/kresus/build/server/config.js:634:9)
kresus_1 | at Object.<anonymous> (/usr/local/share/.config/yarn/global/node_modules/kresus/bin/kresus.js:195:14)
kresus_1 | at Module._compile (node:internal/modules/cjs/loader:1256:14)
kresus_1 | at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
kresus_1 | at Module.load (node:internal/modules/cjs/loader:1119:32)
kresus_1 | at Module._load (node:internal/modules/cjs/loader:960:12)
kresus_1 | at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
kresus_1 | at node:internal/main/run_main_module:23:47
I'm using the official docker compose and PostgreSQL as database.
Here is my conf for years
kresus:
image: "bnjbvr/kresus:latest"
restart: always
ports:
- "9876:9876"
environment:
# See
# https://framagit.org/kresusapp/kresus/-/blob/master/support/docker/config.example.ini
# for more configuration options
- LOCAL_USER_ID=1000
- KRESUS_DB_TYPE=postgres
- KRESUS_DB_HOST=db
- KRESUS_DB_PORT=5432
-
Regards,
Edited by dada