Skip to content

docker image broken due to sqlite not supporting a query. #8231

@2Fast2BCn

Description

@2Fast2BCn

68f3649

introduced a query that isn't supported by the sqlite that is shipped with the docker image.
This is fine:

docker run -d --name cln --network=host --platform=linux/amd64 -v clnLightningVolume:/root/.lightning -v bitcoindRegtestVolume:/root/.bitcoin -e LIGHTNINGD_DATA=/root/.lightning elementsproject/lightningd:v25.02 --network=regtest

this is not:

docker run -d --name cln --network=host --platform=linux/amd64 -v clnLightningVolume:/root/.lightning -v bitcoindRegtestVolume:/root/.bitcoin -e LIGHTNINGD_DATA=/root/.lightning elementsproject/lightningd:latest --network=regtest
2025-04-11T07:55:06.761Z **BROKEN** lightningd: Error executing statement: wallet/db.c:2044: UPDATE addresses SET addrtype = ? FROM channels  WHERE addre
sses.keyidx = channels.shutdown_keyidx_local AND channels.state != ? AND channels.state != ? AND channels.state != ?: near "FROM": syntax error
Error executing statement: wallet/db.c:2044: UPDATE addresses SET addrtype = ? FROM channels  WHERE addresses.keyidx = channels.shutdown_keyidx_local AND
 channels.state != ? AND channels.state != ? AND channels.state != ?: near "FROM": syntax error

Metadata

Metadata

Labels

Type::BugAn error, flaw, or fault that produces an incorrect or unexpected result

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions