When the database is already initialized, avoid overriding it by the sonictool genesis tool:
sonictool --datadir=/tmp/opera genesis fake 1
database in datadir is already initialized: database directories 'chaindata' and 'carmen' already exists
When any of the carmen or chaindata directories are missing, the database is supposed to be corrupted, directories are removed and recreated from the genesis file.
When the database is already initialized, avoid overriding it by the sonictool genesis tool:
When any of the carmen or chaindata directories are missing, the database is supposed to be corrupted, directories are removed and recreated from the genesis file.