Skip to content

fix(matrix): mautrix-discord に appservice.database を書く - #518

Merged
gapul merged 1 commit into
mainfrom
fix/mautrix-discord-database
Aug 30, 2026
Merged

fix(matrix): mautrix-discord に appservice.database を書く#518
gapul merged 1 commit into
mainfrom
fix/mautrix-discord-database

Conversation

@gapul

@gapul gapul commented Aug 30, 2026

Copy link
Copy Markdown
Owner

症状

FTL Configuration error error="appservice.database not configured"
mautrix-discord.service: Scheduled restart job, restart counter is at 2.

原因

nixpkgs の mautrix-discord0.7.7 で bridgev2 より前の設定の形。DB は top-level の database ではなく appservice.database に置く。

signalmeta はモジュール側が既定を持っているが、discord の settings の既定は {} なので自分で書かないと落ちる。

ついでに

これは #490 で入れた再起動ループ検知の対象そのもの。放っておいても 15 分で通知が来る状態だった(今回は deploy 直後に見ていたので先に気付いた)。

"appservice.database not configured" で起動を繰り返していた。

nixpkgs の mautrix-discord は 0.7.7 で bridgev2 より前の設定の形をしている。
DB は top-level の database ではなく appservice.database に置く。signal や meta は
モジュール側が既定を持っているが、discord の settings の既定は {} なので
自分で書かないと落ちる。

#490 で入れた再起動ループ検知の対象そのものなので、放っておいても 15 分で
通知が来る状態だった。
@gapul
gapul merged commit 04d67c0 into main Aug 30, 2026
5 checks passed
@gapul
gapul deleted the fix/mautrix-discord-database branch August 30, 2026 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant