Description
After upgrading to LND v0.21.0-beta.rc1, the BOS Telegram bot is unable to fetch payments. LND v0.21.0 introduced a migration of the payments database from the KV store to a native SQL (SQLite) backend (kv_payments_migration, schema version 14).
Environment
- LND version: 0.21.0-beta.rc1
- BOS version: 20.1.4
- DB backend: SQLite (db.backend=sqlite, db.use-native-sql=true)
Steps to reproduce
- Upgrade LND from v0.20.x to v0.21.0-beta.rc1
- Allow kv_payments_migration to complete
- BOS Telegram bot no longer returns payment history
Expected behavior
BOS Telegram bot fetches and displays payments as before.
Actual behavior
Payments cannot be retrieved via the Telegram bot after the SQL migration.
P.S. Additionally, the bundled lightning library crashes with ExpectedEventTypeInChannelSubscription on subscribe_to_channels.js — LND v0.21.0 emits a new gRPC channel event type that the current lightning package does not handle, causing the bot to crash and reconnect every ~3-4 minutes.
Description
After upgrading to LND v0.21.0-beta.rc1, the BOS Telegram bot is unable to fetch payments. LND v0.21.0 introduced a migration of the payments database from the KV store to a native SQL (SQLite) backend (kv_payments_migration, schema version 14).
Environment
Steps to reproduce
Expected behavior
BOS Telegram bot fetches and displays payments as before.
Actual behavior
Payments cannot be retrieved via the Telegram bot after the SQL migration.
P.S. Additionally, the bundled lightning library crashes with ExpectedEventTypeInChannelSubscription on subscribe_to_channels.js — LND v0.21.0 emits a new gRPC channel event type that the current lightning package does not handle, causing the bot to crash and reconnect every ~3-4 minutes.