Closed Perlover closed 4 weeks ago
hi! are you on postgres or sqlite?
hi! are you on postgres or sqlite?
sqlite
I would like to remind you that in version LNBits v0.12.10 it is also impossible to upgrade your extension from version v0.5.0 to version v0.5.2!
I see in web admin console the red warning after update:
Failed to install extension boltz (0.5.2).
500
In logs:
Jul 24 14:07:06 host poetry[767104]: 2024-07-24 14:07:06.44 | INFO | Downloading extension boltz (0.5.2).
Jul 24 14:07:06 host poetry[767104]: 2024-07-24 14:07:06.79 | INFO | Extracting extension boltz (0.5.2).
Jul 24 14:07:06 host poetry[767104]: 2024-07-24 14:07:06.83 | SUCCESS | Extension Boltz (0.5.2) installed.
Jul 24 14:07:06 host poetry[767104]: running migration boltz.5
Jul 24 14:07:06 host poetry[767104]: 2024-07-24 14:07:06.92 | WARNING | (sqlite3.OperationalError) near "DROP": syntax error
Jul 24 14:07:06 host poetry[767104]: [SQL: ALTER TABLE boltz.settings DROP COLUMN boltz_mempool_space_url]
Jul 24 14:07:06 host poetry[767104]: (Background on this error at: http://sqlalche.me/e/13/e3q8)
Jul 24 14:07:06 host poetry[767104]: 2024-07-24 14:07:06.92 | ERROR | HTTPException 500: Failed to install extension boltz (0.5.2).
SQLite 3.35.0 introduced support for ALTER TABLE DROP COLUMN.
curious can you check your sqlite version
should be fixed in 0.5.3
should be fixed in 0.5.3
Just successfully updated the extension to version 0.5.3. Thanks!
You can close the ticket!
Hello,
LNBits v0.12.8
Your extension cannot be upgraded from v0.5.0 to 0.5.2
Error in logs: