mist icon indicating copy to clipboard operation
mist copied to clipboard

Accounts missing from 0.7.4

Open efox29 opened this issue 10 years ago • 13 comments

Node type: geth OS: windows Network type: main Mist version: 0.7.4

I've been using mist 0.6.1 and 0.6.2 since I reported issue #525. I've had watch contracts up for the DOA. I have not deleted them.

I recently upgraded to 0.7.4 and it asked me to create a new account (as if this was the first time), and I did. After a few days of hangs, today I was finally able to get into the wallet. However, none of the accounts are there.

When I look at the the backup folder, I see what I think are my keys. I see 5 files (which sounds like my missing wallets).

I was led to believe that mist wallet automatically finds the accounts (and I have had not had any issues going from 0.6.1 to 0.7.2 and back. It's just 0.7.4.

How can get my accounts back into 0.7.4 ?

efox29 avatar Jun 01 '16 14:06 efox29

@efox29 are these five files located under %APPDATA%\roaming\Ethereum\keystore?

luclu avatar Jun 01 '16 14:06 luclu

@luclu correct.

efox29 avatar Jun 01 '16 17:06 efox29

@luclu do you have any suggestions ? I'd like to collect my DAO tokens so I can participate but I am still unable to get access to my wallet which I've used to buy DAO tokens.

efox29 avatar Jun 04 '16 16:06 efox29

@efox29 if you regard yourself as tech-savvy I would love you to open up the dev-console in Ethereum-Wallet 0.7.4 by hitting Ctrl+Alt+i and type web3.eth.accounts. Does this show all of your account addresses?

If not please try those two things:

  1. Create a backup of the keystore-folder and remove the %APPDATA%\Ethereum-folder, restore the keyfiles after that. You might have to resync after this - to avoid this also backup the chaindata-folder.
  2. If you want to participate in the "The DAO" proposals right now I recommend to try out myetherwallet.com.

luclu avatar Jun 04 '16 21:06 luclu

@luclu it displays nothing.

When pressing Ctrl+Alt+i it opens up the Audits tab of the Developer tools. When I click on the console tab, and I enter 'web3.eth.accounts' the text I have entered disappears, and nothing is displayed.

I'll wait a few hours before moving onto deleting the Ethereum folder in case you have some other things you want to try.

efox29 avatar Jun 05 '16 20:06 efox29

@luclu I first deleted the entire Ethereum folder (made a copy of keystore and chaindata). I started up Mist again and it loaded nor did I have to resync anything. I was able to see the "new" addresses (not the ones I really want to see) and everything was fine. When I went into '%APPDATA%', the Ethereum folder (which I deleted before), is not even there.

I deleted the Mist folder as well in the same section and restarted Mist. Same thing, it starts up with no issues and with no resync. Looks like it can see the blockchain somewhere even though I deleted chaindata.

efox29 avatar Jun 06 '16 01:06 efox29

@luclu I have installed Mist on my laptop (previously was not installed) and synced the blockchain and then copied my keys over. Mist on my laptop took it. I can see my previous accounts along with whatever balance was there.

I cannot repeat that process on my desktop. Even though I have deleted the Mist folder and Ethereum folder from '%APPDATA'.

How can I delete all traces on Mist wallet on my desktop to repeat the success I had with my laptop (which never had Mist installed).

efox29 avatar Jun 06 '16 17:06 efox29

good to hear! What does happen when you open menu -> accounts -> backup -> accounts in Ethereum-Wallet on the desktop-pc?

luclu avatar Jun 06 '16 18:06 luclu

@luclu On the desktop, when I go to 'menu -> accounts -> backup -> accounts', I see 4 folders and a file.

  1. chaindata
  2. dapp
  3. keystore
  4. nodes
  5. nodekey (file)

Basically I see what I have seen in the past.

But..

The other day I created 2 new accounts the other day to see if I could get them to be seen. They are seen. Those 2 new accounts show up in Mist. They do NOT show up in the keystore though. When I look into my keystore in 'menu -> accounts -> backup -> accounts', I see 5 accounts (my missing 5 accounts), and the date they were modified was March and April.

So where exactly are private keys being held ?

efox29 avatar Jun 06 '16 20:06 efox29

I'm not quite sure if I can follow you on this. There is only one keystore under the active users %APPDATA%\Ethereum-folder. Try to delete:

  • %APPDATA%\Ethereum
  • %APPDATA%\Mist

Then start it again. Did you mix up users accounts by any chance? Or did you use an alternative --datadir with geth?

luclu avatar Jun 06 '16 20:06 luclu

@luclu I have deleted both folders as you have said.

I just started Mist 0.7.4 again. The wallet is synced. I did not have to resync. When I try manually entering in the Ethereum folder, this is what I get..

Mist + cant find folder error

Notice that it cannot find the Ethereum folder (which includes chaindata and keystore) and yet my wallet has 3 addresses, and is fully synced to the network.

added

I did a search within my '%APPDATA%' to find any references of 'Ethereum' since there was no folder called called Ethereum in %APPDATA% directly because where were my private keys stored as in the image above.

I found them.

%APPDATA%\SPB_Data\AppData\Roaming\Ethereum

Inside this new path - I see all the standard folders, and within keystore, I see the 3 accounts which I currently have. The dates modified show that there was recent activity.

How did the wallet end up here ? How does every version of Mist suddenly begin looking at this address for the private keys ?

Thoughts ?

** added **

I deleted the Ethereum folder, and started Mist again. It prompted me to create a new account (like normal), but its still referencing this new path. It's creating another Ethereum folder in the path above.

efox29 avatar Jun 06 '16 21:06 efox29

@efox29 please excuse my late reply. It seems that your environment variable $HOME was changed. This might happen if you install some application as this thread suggests:

Unfortunately $HOME was set to C:\Users\AppData\Roaming\SPB_Data by OrCAD\PSpice.

(Cadence's Software for example is known for nesting itself deeply into the system.)

Do you still encounter problems using the latest version 0.8.2? I will close this for now as of the long time being past.

luclu avatar Sep 18 '16 03:09 luclu

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

lock[bot] avatar Mar 31 '18 20:03 lock[bot]