Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

This document captures random notes. This might include troubleshooting, workarounds, or other information that not captured anywhere else.

Building the DevNet tool

Clone the dapixio DevNet repo located at dapixio/fio-devnet: devnet remote node management tool (github.com).

As this is a private repo, you will need to be granted access as well as have either a GitHub Api Token or other means of ‘cloning’ the repo.

Once the repo is cloned, cd to the fio-devnet/cmd/devnet

Execute the cmd, 'go build'

These steps were performed on a machine with all the necessary dependencies, i.e. go, c/c++ compiler.

Troubleshooting

Database Dirty Flag

Relevant Issues

  1. V1 History config:

    1. https://developers.fioprotocol.io/docs/chain/node-build-history

    2. warning Without the history-index-state-db-size-mb and history-state-db-size-mb settings nodes may stop with the warning: Database has reached an unsafe level of usage, shutting down to avoid corrupting the database. Please increase the value set for chain-state-db-size-mb and restart the process!

  2. Ye olde folder deletion problem where you have to manually delete some folders when doing a replay

    1. BD-1953 - Getting issue details... STATUS

    2. To solve this you have to delete the history and history-state folders if you are not running v1 history

BP Input

[Ross/EOSphere} Restart with a snapshot from here and check the nodeos usage example at the bottom.

https://snapshots.eosphere.io

Also delete the two history folders in the nodeos binary directory you started from.

Outcome

Thanks Ross; this particular setup has /var/lib/fio/ with data and history folders. It has no snapshots nor blocks dirs in data. There were two history* folders.

Taking what you said and doing what I could, I deleted the contents of the two history folders (backed up elsewhere). and restarted.

All is good with that node now! Repeated on my third node and wallah - Great. Thank you so much.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.