Closed yolabingo closed 9 months ago
Running on mariadb is not supported for 1.X
versions. 2.0
is not released yet as it is still being worked on (#4171).
This is a bit misleadingly documented indeed.
With (2.0.0)
we mean that said feature is only available AFTER said version.
I don't know if/how this needs changing, since this is in the For Development only
section.
We are currently in the process of finalising said release and publishing 2.0.0-beta.0
See https://github.com/louislam/uptime-kuma/pull/4171 for the bugs that still require addressing before this can happen.
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
I would like to use external mariadb instead of sqlite. I think this is supported but cannot find working examples. Any guidance would be appreciated.
I tried setting
UPTIME_KUMA_DB_*
environment variables in docker-compose.yml to connect to a mariadb server:based on https://github.com/louislam/uptime-kuma/blob/master/server/setup-database.js#L71-L81
But uptime-kuma still seems to use sqlite
This env var
UPTIME_KUMA_ENABLE_EMBEDDED_MARIADB (2.0.0) Set 1 to enable
is mentioned in the docs https://github.com/louislam/uptime-kuma/wiki/Environment-Variablesbut it is not clear to me how to use it. I would prefer to use external mariadb but at this point I'm looking for guidance on if/how I can use mariadb in any way.
Thanks in advance!
📝 Error Message(s) or Log
no errors
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
louislam/uptime-kuma:1.23.11-debian Docker container
🌐 Browser
all
🖥️ Deployment Environment