thread ‘main’ panicked at ‘called Result::unwrap() on an Err value: SqliteFailure(Error { code: ReadOnly, extended_code: 8 }, Some(“attempt to write a readonly database”))’, src/nodeclient/sync.rs:30:65
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
any ideas on how to fix it?
already changed my permissions on my db + scripts
Wow, I’m an idiot. As soon as I posted that image I realized my cncli.db was user:group root:root. Changed using chown command and now working without a hitch. Sorry about that!
cncli.db and db-shm and db-wal is installed as root. you need to change to cardano as you have created another user named cardano on your server. Please see my previous post.
A heads up, the cron for leaderlog will hog a lot of memory. You may end up with missed slots metric increasing or connection drops on the block. Please make sure you have enough memory and cpu.
Please refer to cncli/USAGE.md at develop · AndrewWestberg/cncli · GitHub
and ledgerset commands. I believe you want to use next vs the epoch #
–ledger-set Which ledger data to use. prev - previous epoch, current - current epoch,
next - future epoch [default: current]
The remote request to your pools ledger-state is now working, because someone at https://crypto2099.io/ ran the export.
With newer versions of cncli it is possible to run such a request in the background instead of exporting the ledger state yourself. The problem with exporting the ledger state is, that it takes about 11 GB RAM or swap to execute.