Middleware Backup Import Issues

@jsnewby trying to import the latest backup from https://backups.aeternal.io/2019-12-12/ on testnet yields some errors for me, I am running the 0.12.0 release (latest docker image)

ERROR:  relation "protocols" does not exist
LINE 1:  SELECT effective_at_height FROM protocols WHERE version = $...
                                         ^
QUERY:   SELECT effective_at_height FROM protocols WHERE version = $1 
CONTEXT:  SQL function "get_fork_height" during inlining

Can you help me here?

Even after successfull sync of middleware and no errors some items seem missing, e.g.

https://mdw.testnet.aeternity.art/middleware/contracts/transactions/address/ct_V1QhjGfgotjMojidAg745N6SdNjEVTsH21bfL8JP2nTvw6ZTC?limit=1&page=1
https://testnet.aeternal.io/middleware/contracts/transactions/address/ct_V1QhjGfgotjMojidAg745N6SdNjEVTsH21bfL8JP2nTvw6ZTC?limit=1&page=1

@jsnewby reloading the block of this transaction manually won’t work

root@7d7f3f2cc011:/app# ./aeternal -T 181700
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("missing field `block_height`", line: 0, column: 0)', src/libcore/result.rs:1189:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

-T is the option for reloading a transaction, -H is for reloading a height. So for -T you need to give a transaction hash.

j

1 Like

@jsnewby reloading the corresponding height didn’t make the transaction appear :frowning: (no errors occuring)