tari-project / tari

The Tari protocol
https://tari.com
BSD 3-Clause "New" or "Revised" License
354 stars 219 forks source link

minotari_node fails to start after update to 1.9.0-rc.0 #6691

Closed snex closed 6 days ago

snex commented 1 week ago

Updated to 1.9.0-rc.0, minotari_node fails to start with the following error:

tari@crypto:~$ minotari_node
Initializing logging according to "/home/tari/.tari/nextnet/config/base_node/log4rs.yml"
10:09 WARN  Loading SMT into memory from stored db
10:09 ERROR Could not deserialize lmdb: Custom("The input data was the incorrect length to perform the desired conversion")
10:09 ERROR Could not could not deserialize value from lmdb: Error::ValRejected("The input data was the incorrect length to perform the desired conversion")
ExitError { exit_code: DatabaseError, details: Some("Access to the underlying storage mechanism failed: Value conversion failed: The input data was the incorrect length to perform the desired conversion") }
10:09 ERROR Exiting with code (114): ExitError { exit_code: DatabaseError, details: Some("Access to the underlying storage mechanism failed: Value conversion failed: The input data was the incorrect length to perform the desired conversion") }

Downgrading back to 1.8.0-rc.0 works.

To Reproduce Steps to reproduce the behavior:

  1. Compile 1.9.0-rc.0 from source with TARI_TARGET_NETWORK=nextnet cargo build --release
  2. Run minotari_node

Expected behavior The node should start.

Desktop (please complete the following information):

snex commented 6 days ago

Was able to fix by deleting the blockchain and rebuilding it. Using "--rebuild-db" did not work and produced a similar error.