Rewrite /etc/odbc.ini to point at $MARIADB_HOST on every boot

FixKlusterServices
出荷済み
2026年4月28日 5:54 UTC
プロフィール
Kamo
コンテンツ
decb5d7

The escomputers/freepbx:17 image bakes /etc/odbc.ini with Server=db (the docker-compose link target). On this Kubernetes deployment MariaDB lives at \$MARIADB_HOST (freepbx-mariadb), so left unfixed the cdr_adaptive_odbc backend silently fails to connect — odbc connection cache stays at 0 active, the cdr table never receives inserts, and the softphone shows an empty call history despite calls completing. /etc/ is ephemeral on this deployment so the bad DSN reasserts on every restart; rewriting it from startup.sh after the MariaDB readiness wait keeps the fix in place across pod restarts.

すべての変更

配送を見るのが好きですか?

これらのアップデートは、自動的にワークスペースに埋め込まれます。 週1回無料スタートし、週1回生育する.

永遠に無料で始める料金を見る