wileyj
wileyj
@rafaelcr i haven't been able to reproduce this - but incidentally, someone else just had the same issue that i was able to get logs from. i'm still of the...
one more caveat to consider - CPU/disk IO. when version 7 of the API, the cpu/io requirements are quite a bit higher than in the past. restoring from an archive...
this error is specific to the API/postgres. 2 possibilities are top of mind: 1. there were errors running the import with `seed-chainstate.sh`, so the DB was not properly imported 2....
> I try it many times and it still shows the same error. Here is my logs: > > [postgres.log](https://github.com/stacks-network/stacks-blockchain-docker/files/11273156/postgres.log) [stacks-blockchain.log](https://github.com/stacks-network/stacks-blockchain-docker/files/11273157/stacks-blockchain.log) [stacks-blockchain-api.log](https://github.com/stacks-network/stacks-blockchain-docker/files/11273159/stacks-blockchain-api.log) right, but what i want to see is...
> To save time in multiple attempts, I only commented out the delete file and download file operations Here is my seed-chainstate.sh and seed-chainstate log. [seed-chainstate.sh.txt](https://github.com/stacks-network/stacks-blockchain-docker/files/11276605/seed-chainstate.sh.txt) [seed-chainstate.log](https://github.com/stacks-network/stacks-blockchain-docker/files/11276606/seed-chainstate.log) thanks! these both...
got it, thanks! i'll see if i can reproduce. both of those versions should be fine (barring an issue with archive file itself).
> I'm using the `mainnet-blockchain-2.1.0.0.2-latest.tar.gz.sha256` content is: `c4b15816b48bdb2e6bd3e079da4af1b6c091bd4754bab28037b8f73fac5bc6bc /hirosystems/data/mainnet-stacks-blockchain-2.1.0.0.2-20230416.tar.gz` the `stacks-blockchain-api-pg-15-7.1.2-latest.dump.sha256` content is: `0e714123cbe0512c7012dfeffcfcc813665f1a4c9319f827c6306110b488b8f0 /hirosystems/data/stacks-blockchain-api-pg-15-7.1.2-20230406.dump` I just run `cp sample.env .env` to make my .env `STACKS_BLOCKCHAIN_VERSION=2.1.0.0.2 STACKS_BLOCKCHAIN_API_VERSION=7.1.2` i can reproduce...
i'll leave this open as a TODO, but i'm not sure when or even if it'll be possible to solve for this outside of always using teh latest versions of...
> +1, just had the same issue. any better way to run this script to avoid this issue? it'll take some thought, for now i've added in this line: https://github.com/stacks-network/stacks-blockchain-docker/blob/master/scripts/seed-chainstate.sh#L5...
Interesting. i'll have to double check this on a few different OS'es, but i recall trying `whoami` initially and had some problems with it on a debian based os (i...