mist icon indicating copy to clipboard operation
mist copied to clipboard

ETHER WALLET WONT SYNC

Open MrMontana opened this issue 10 years ago • 20 comments

When starting my Ether Wallet is syncs for about 10 mins and then stops....very little. Then have to close it does the same. I have tried 30+ times.

screen shot 2016-05-13 at 9 11 30 pm

MrMontana avatar May 13 '16 11:05 MrMontana

Please provide these information:

Node type: geth/eth OS: linux/windows/osx Network type: main/test Mist version: 0.0.0

luclu avatar May 13 '16 11:05 luclu

Yeah happens to me too, on both PC and Mac.. What I found to work for me was to press "skip" and let it run a little and then it starts to sync on the wallet UI itself.. It tends to get stuck less in that state..

RipperdocMD avatar May 13 '16 11:05 RipperdocMD

Maybe you can start geth --fast and let geth sync on it's own before starting the wallet UI. How you do that depends a little on:

OS: linux/windows/osx

m0se avatar May 13 '16 11:05 m0se

@m0se How to do that on OS X?

RipperdocMD avatar May 13 '16 11:05 RipperdocMD

It's been a while since I last played with mist on osx, but essentially you need stop Ethereum Wallet completely first and then open a Terminal and start geth --fast there. For that you need to find the path to the geth binary shiped with Ethereum Wallet. It should be something like /Applications/Ethereum-Wallet.app/Contents/Frameworks/node/geth/geth (asuming you put Ethereum-Wallet.app in to /Applications).

Maybe check first with running something like:

/Applications/Ethereum-Wallet.app/Contents/Frameworks/node/geth/geth help

In the output of that you can check in the section "ETHEREUM OPTIONS:" if the default --datadir points to the right place.

Then you can start geth with:

/Applications/Ethereum-Wallet.app/Contents/Frameworks/node/geth/geth --fast

It takes a few moments till it starts downloading blocks and when it does you should be able to see out put in the terminal every few secs that blocks has been downloaded mostly 256 blocks at once. When it starts to show entries with only one block ever few secs for some time then it's done and you can stop geth in the terminal with ctrl+c and try to start the Ethereum Wallet again.

m0se avatar May 13 '16 12:05 m0se

@luclu

Node type: geth 1.3.6 OS: osx Network type: main Mist version: 0.7.2

MrMontana avatar May 13 '16 12:05 MrMontana

@m0se thats some tech lingo I dont get but the app has no folders to access from the finder, it just open right up and come with some txt docs

MrMontana avatar May 13 '16 13:05 MrMontana

Sorry, I think there are not a lot of ways to explain that simpler without filling pages. Just tried to provide a instruction to @Wat3v4 since he asked for osx.

I don't think there is a graphical way to do this with Finder, for the --fast option you need to use "Terminal.app" to start geth. You could right-click on Ethereum-Wallet.app and choose "Show Package Content", then you can navigate to geth with Finder, but this won't help since just doubleclick geth will not start it with --fast for that you need to do it in the Terminal-app sorry.

@Wat3v4 one additional thing I forgot to mention, for the --fast option to work your chaindata folder.needs to be empty.

m0se avatar May 13 '16 13:05 m0se

@m0se thanks mate - I actually followed you r instructions and worked it out though I dont know what the chaindata folder is, can you direct me to doing that please?

MrMontana avatar May 13 '16 13:05 MrMontana

@m0se been like this for 10 mins now screen shot 2016-05-13 at 11 35 23 pm

MrMontana avatar May 13 '16 13:05 MrMontana

Maybe hit ctrl+c and give it another try. How are your system resources, I got that a few times when to much stuff was running on my old Mid-2012 MBA 4GB (with linux). Additionally I'm not sure if the --fast is just ignores, when chaindata contains data, but I seem to remember seeing a warning about --fast not beeing used due to allready containing data in blockchain directory.

Since I don't run OSX anymore I can't check where the caindata folder is located, but it's next to the keystore folder (in case you already found that for backup or something) in geth's datadir. check geth help to see the default value of --datadir. I think it is something like /Users/YOU/Librarry/??/chaindata.

m0se avatar May 13 '16 13:05 m0se

Everything is closed so should be running well. (2011 macbook pro)

Are these folders in the Finder?

MrMontana avatar May 13 '16 13:05 MrMontana

Yea, you should also be able to find them in Finder,.. Try something like this in the Terminal: /Applications/Ethereum-Wallet.app/Contents/Frameworks/node/geth/geth help|grep datadir

..then you should get output like this and see the path to the folder:

  --datadir "/home/username/.ethereum"      Data directory for the databases and keystore
  --keystore                            Directory for the keystore (default = inside the datadir)
  --ipcpath "geth.ipc"  

(but that's linux, yours will probably contain "Librarry/.." on osx)

m0se avatar May 13 '16 14:05 m0se

Ive done that in terminal. But what there is the folder? Please remember I am an everyday computer user...no tech or code knowledge. This s what came up...now what? screen shot 2016-05-14 at 12 13 55 am

MrMontana avatar May 13 '16 14:05 MrMontana

Easiest with finder is probably to use menu "Go->Go to Folder" and then copy&past the "/Users/.." path from Terminal. I had forgoten that Apple hides the user's Librarry folder in Finder, but with Go to Folder it shoud open that folder in Finder anyway.

In there you should only delete the content of chaindata,.. the keystore folder is very importent, your private keys are stored there (maybe make a backup of the keystore when your already there, if you havent done backups in a other way yet)

m0se avatar May 13 '16 14:05 m0se

Thanks. I did that, founf and emptied everything out of the chaindata folder. Puththe -- fast command line in and it has fatal error...see below:

Fatal: dapp db err: resource temporarily unavailable (check if another instance of geth is already running with the same data directory '/Users/joshuataylor-anderson/Library/Ethereum')

MrMontana avatar May 13 '16 14:05 MrMontana

ive just started ethereum agan and it started from 0 and moving well...sound sorted?

MrMontana avatar May 13 '16 14:05 MrMontana

Goodamn it...spoke to soon...froze at 47,000

MrMontana avatar May 13 '16 14:05 MrMontana

@m0se thank you for your help, I ended up deleting the whole program and re-downloaded. Up and running now with old keys loaded up. :)

MrMontana avatar May 14 '16 03:05 MrMontana

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 Apr 01 '18 15:04 lock[bot]