6
[master][~/parity/target/release]$ ./parity import /tmp/avatar.rlp

Error Output: Database was created with newer client version. Upgrade your client or delete DB and resync.

I could not understand: [Q]How could I delete the DB or resync it?, I couldn't find where the DB is stored?

Thank you for your valuable time.

eth
  • 85,679
  • 53
  • 285
  • 406
alper
  • 8,395
  • 11
  • 63
  • 152

6 Answers6

7

Parity developer @5chdn said to use:

parity --light db kill
Tom Hale
  • 3,107
  • 4
  • 20
  • 37
3

To be precise:

parity db kill —config /path/to/your/toml file

This helps if you have multiple chains or private chains.

0xsegfault
  • 1,260
  • 9
  • 24
2

The database location seems to have moved since Igor's answer.

I found it at:

~/.local/share/io.parity.ethereum/chains/ethereum/db

Close parity before deleting this directory.

Tom Hale
  • 3,107
  • 4
  • 20
  • 37
2

Check ~/.parity

Don't forget to backup your ~/.parity/keys

Igor Barinov
  • 2,138
  • 1
  • 16
  • 25
1
parity db kill

is nothing, it cannot remove the db data, just remove '.local/share/io.parity.ethereum/chains/ethereum/db/906a34e69aec8c0d', it will clean the world

Feuda
  • 111
  • 4
-1

And you have to delete the user_default file also.If its still there after deleting this db folder still there will be the same error