Skip to content

[ERR] LTND: unable to open channeldb: unable to remove existing edge update index: delete bucket: incompatible value #1893

@andrewallaway

Description

@andrewallaway

Was running Linux lnd-linux-amd64-v0.4.2-beta and shutdown lnd. Deleted macaroons in home/.lnd
Ran ./lnd from new version lnd-linux-amd64-v0.5-beta-rc2 error as below. Then seeing 1874 I reverted to RC1 (lnd-linux-amd64-v0.5-beta-rc1), and it worked, logs as below:

[soi@tron lnd-linux-amd64-v0.5-beta-rc2]$ ./lnd
2018-09-12 15:49:14.584 [INF] LTND: Version 0.5.0-beta commit=fb95858afce6d7129758e7677bcb1552c5be2c51
2018-09-12 15:49:14.602 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2018-09-12 15:49:14.609 [INF] CHDB: Checking for schema update: latest_version=6, db_version=0
2018-09-12 15:49:14.609 [INF] CHDB: Performing database schema migration
2018-09-12 15:49:14.609 [INF] CHDB: Applying migration #1
2018-09-12 15:49:14.609 [INF] CHDB: Populating new node update index bucket
2018-09-12 15:49:14.663 [INF] CHDB: Populating new edge update index bucket
2018-09-12 15:49:16.464 [INF] CHDB: Migration to node and edge update indexes complete!
2018-09-12 15:49:16.465 [INF] CHDB: Applying migration #2
2018-09-12 15:49:16.498 [INF] CHDB: Migrating invoice database to new time series format
2018-09-12 15:49:16.499 [INF] CHDB: Migration to invoice time series index complete!
2018-09-12 15:49:16.499 [INF] CHDB: Applying migration #3
2018-09-12 15:49:16.499 [INF] CHDB: Migrating invoice database to new outgoing payment format
2018-09-12 15:49:16.530 [INF] CHDB: Migration to outgoing payment invoices complete!
2018-09-12 15:49:16.531 [INF] CHDB: Applying migration #4
2018-09-12 15:49:16.807 [INF] CHDB: Migration of edge policies complete!
2018-09-12 15:49:16.807 [INF] CHDB: Applying migration #5
2018-09-12 15:49:16.807 [INF] CHDB: Migrating database to support payment statuses
2018-09-12 15:49:16.807 [INF] CHDB: Marking all known circuits with status InFlight
2018-09-12 15:49:18.404 [INF] CHDB: Marking all existing payments with status Completed
2018-09-12 15:49:18.404 [INF] CHDB: Migration of payment statuses complete!
2018-09-12 15:49:18.404 [INF] CHDB: Applying migration #6
2018-09-12 15:49:18.404 [INF] CHDB: Migrating database to properly prune edge update index
2018-09-12 15:49:18.410 [INF] CHDB: Unable to apply migration #6
2018-09-12 15:49:18.413 [ERR] LTND: unable to open channeldb: unable to remove existing edge update index: delete bucket: incompatible value
2018-09-12 15:49:18.413 [INF] LTND: Shutdown complete
unable to remove existing edge update index: delete bucket: incompatible value
[soi@tron lnd-linux-amd64-v0.5-beta-rc2]$ cd ..
[soi@tron lnd]$ ls
lnd-linux-amd64-v0.4.1-beta lnd-linux-amd64-v0.5-beta-rc1 lnd-linux-amd64-v0.5-beta-rc2.tar.gz
lnd-linux-amd64-v0.4.2-beta lnd-linux-amd64-v0.5-beta-rc1.tar.gz
lnd-linux-amd64-v0.4-beta lnd-linux-amd64-v0.5-beta-rc2
[soi@tron lnd]$ cd lnd-linux-amd64-v0.5-beta-rc1/
[soi@tron lnd-linux-amd64-v0.5-beta-rc1]$ ls
lncli lnd
[soi@tron lnd-linux-amd64-v0.5-beta-rc1]$ ./lnd
2018-09-12 15:56:35.173 [INF] LTND: Version 0.5.0-beta commit=73af09a06ae9cd5ba92a376e8253ae5450fe09cc
2018-09-12 15:56:35.174 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2018-09-12 15:56:35.174 [INF] CHDB: Checking for schema update: latest_version=5, db_version=0
2018-09-12 15:56:35.174 [INF] CHDB: Performing database schema migration
2018-09-12 15:56:35.174 [INF] CHDB: Applying migration #1
2018-09-12 15:56:35.174 [INF] CHDB: Populating new node update index bucket
2018-09-12 15:56:35.228 [INF] CHDB: Populating new edge update index bucket
2018-09-12 15:56:36.994 [INF] CHDB: Migration to node and edge update indexes complete!
2018-09-12 15:56:36.994 [INF] CHDB: Applying migration #2
2018-09-12 15:56:36.994 [INF] CHDB: Migrating invoice database to new time series format
2018-09-12 15:56:36.994 [INF] CHDB: Migration to invoice time series index complete!
2018-09-12 15:56:36.994 [INF] CHDB: Applying migration #3
2018-09-12 15:56:36.994 [INF] CHDB: Migrating invoice database to new outgoing payment format
2018-09-12 15:56:36.995 [INF] CHDB: Migration to outgoing payment invoices complete!
2018-09-12 15:56:36.995 [INF] CHDB: Applying migration #4
2018-09-12 15:56:37.245 [INF] CHDB: Migration of edge policies complete!
2018-09-12 15:56:37.246 [INF] CHDB: Applying migration #5
2018-09-12 15:56:37.246 [INF] CHDB: Migrating database to support payment statuses
2018-09-12 15:56:37.246 [INF] CHDB: Marking all known circuits with status InFlight
2018-09-12 15:56:37.246 [INF] CHDB: Marking all existing payments with status Completed
2018-09-12 15:56:37.246 [INF] CHDB: Migration of payment statuses complete!
2018-09-12 15:56:37.562 [INF] RPCS: password gRPC proxy started at 127.0.0.1:8080
2018-09-12 15:56:37.562 [INF] RPCS: password RPC server listening on 127.0.0.1:10009
2018-09-12 15:56:37.563 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions