Parity-ethereum: Error upgrading parity data: CannotCreateConfigPath when starting parity

Created on 15 Aug 2017  ·  12Comments  ·  Source: openethereum/parity-ethereum

actual behavior
Error upgrading parity data: CannotCreateConfigPath

expected behavior
Start parity.

steps to reproduce
Run: $parity

I'm running:

  • Parity version: v1.7.0-beta-5f2cabd6e-20170727/x86_64-linux-gnu/rustc1.19.0
  • Operating system: Arch Linux
  • And installed: binaries (Pacman)
M4-core ⛓ Z1-question 🙋‍♀️

Most helpful comment

If you use --db-path to specify database path, make sure that your storage is properly mounted and and writable

All 12 comments

Could you paste the full log output here please?

There is nothing in the logfile, even when I run with --log-file.
I found out I can run parity with sudo, so it had to do with permissions. Seems like it tries to find the blockchain and keys in a different folder than before.
After supplying --db-path and --keys-path, the problem was fixed.

Please, don't run Parity with superuser privileges.

I didn't refer to a log file, but the terminal output. Where do you see CannotCreateConfigPath? Is there anything else?

_Error upgrading parity data: CannotCreateConfigPath when starting parity_
is the only thing I see.

@WouterSchaekers what is the output of:

strace -fs 80 $parity |& grep ENO | uniq

If you use --db-path to specify database path, make sure that your storage is properly mounted and and writable

miner@nuzilan:~/.safe$ parity --db-path="/balls/parity/"
Error upgrading parity data: CannotCreateConfigPath
miner@nuzilan:~/.safe$ strace -fs 80 $parity |& grep ENO | uniq

miner@nuzilan:~/.safe$
miner@nuzilan:~/.safe$

Same issue

This happens when installing stable parity from a snap (sudo snap install parity). It does not happen when installing stable parity from a .deb (bash <(curl https://get.parity.io -L). @5chdn

Yeah, don't use the snaps. It's evil :p

Yep, switching to .deb install from snap fixed it for me.

Got this error when --db-path provided was incorrect or storage was not mounted

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uluhonolulu picture uluhonolulu  ·  3Comments

jurijbajzelj picture jurijbajzelj  ·  3Comments

jordipainan picture jordipainan  ·  3Comments

barakman picture barakman  ·  3Comments

BillSantos picture BillSantos  ·  3Comments