Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

can't upgrade to parity 2.1.11: account not found for the current chain #10160

Closed
come-maiz opened this issue Jan 9, 2019 · 7 comments
Closed
Labels
B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M2-config 📂 Chain specifications and node configurations. M3-docs 📑 Documentation.
Milestone

Comments

@come-maiz
Copy link

come-maiz commented Jan 9, 2019

  • Parity Ethereum version: 2.1.11
  • Operating system: Linux
  • Installation: binary from github releases
  • Fully synchronized: yes
  • Network: ropsten
  • Restarted: yes

I'm trying to update our ropsten parity node from 2.0.8, but when I try to start with the binary for 2.1.11 I get the following error:

Account [...] not found for the current chain. You can create an account via RPC, UI or `parity account new --chain ropsten --keys-path /data/parity/keys`.

I tried with 2.1.10 and it works correctly, so I'm leaving it on this version for now. This is the command we use to run it:

/usr/bin/parity -l info --chain ropsten -d "[...]" --port [...] --jsonrpc-hosts all --jsonrpc-cors "*" --jsonrpc-port [...] --jsonrpc-interface local --ipc-apis="web3,eth,net,parity,parity_accounts,traces,rpc,personal" --ipc-path="[...]" --pruning=fast --unlock="[...]" --password "[...]"
@jam10o-new jam10o-new added M2-config 📂 Chain specifications and node configurations. Z1-question 🙋‍♀️ Issue is a question. Closer should answer. labels Jan 9, 2019
@jam10o-new
Copy link
Contributor

Can you check whether you see the account keys present in your keys folder in the root of your data directory or if it is in the keys folder present in ropstens chaindata folder?

@come-maiz
Copy link
Author

I have the keys in <data>/keys/test/.

<data>/keys/ropsten is empty.

@jam10o-new
Copy link
Contributor

jam10o-new commented Jan 10, 2019

if you copy the keyfile into the ropsten dir, you should be able to unlock the account associated with the keyfile when using --chain ropsten

the root keys directory is what will be used for the chain defined in your config.toml file.

@jam10o-new jam10o-new added F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. and removed Z1-question 🙋‍♀️ Issue is a question. Closer should answer. labels Jan 10, 2019
@jam10o-new jam10o-new added this to the 2.4 milestone Jan 10, 2019
@5chdn
Copy link
Contributor

5chdn commented Jan 10, 2019

oh darn, did we backport this to stable?

I'm sorry, @ElOpio can you symlink the test/ to ropsten/?

@come-maiz
Copy link
Author

Yes, the symlink works. I'm now on 2.1.11. Thanks @joshua-mir and @5chdn.

@DaWe35
Copy link

DaWe35 commented Jan 13, 2019

oh darn, did we backport this to stable?

I'm sorry, @ElOpio can you symlink the test/ to ropsten/?

I updated my parity from 1.2.10 to 2.1.11, and I also lost my Ropsten accounts. Sync restarted from block #1. Main chain not affected.

@jam10o-new jam10o-new added B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. M3-docs 📑 Documentation. labels Jan 16, 2019
@5chdn 5chdn modified the milestones: 2.4, 2.5 Feb 21, 2019
@soc1c soc1c modified the milestones: 2.5, 2.6 Apr 2, 2019
@ordian ordian modified the milestones: 2.6, 2.7 Jul 12, 2019
@adria0
Copy link

adria0 commented Jul 27, 2020

Closing issue due to its stale state.

@adria0 adria0 closed this as completed Jul 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B7-releasenotes 📜 Changes should be mentioned in the release notes of the next minor version release. F3-annoyance 💩 The client behaves within expectations, however this “expected behaviour” itself is at issue. M2-config 📂 Chain specifications and node configurations. M3-docs 📑 Documentation.
Projects
None yet
Development

No branches or pull requests

7 participants