-
KeshavGupta[m]
GUYS I NEED SOME HELP WITH DAEMON SYNCHRONIZATION !!!
-
KeshavGupta[m]
Guys i am new to the monero GUI. I synchronized the daemon after like 7 hours of keeping my pc up but whenever i open the wallet, it just starts to synchronize the entire blockchain again. Can somebody please help me with that cause i think its not supposed to synchronize everything all over again. I am using debian btw.
-
KeshavGupta[m]
Thanks in advance.
-
ofrnxmr[m]
Everything all over again?
-
ofrnxmr[m]
It should continue from where you left off
-
ofrnxmr[m]
there are 2 sync bars in the bottom leftc what do they say
-
ofrnxmr[m]
* there are 2 sync bars in the bottom left. What do they say?
-
KeshavGupta[m]
they just get empty and start from the beginning all over again. now this should not have been a issue but the synchronization takes quite a bit of time. thanks in advance.
-
ofrnxmr[m]
lets start here
-
ofrnxmr[m]
youre running debian.
-
ofrnxmr[m]
what version of monero GUI are you running?
-
ofrnxmr[m]
Apt, Getmonero.org, or flatpak?
-
ofrnxmr[m]
And is that from* apt, Getmonero.org, or flatpak?
-
ofrnxmr[m]
It definitelty does NOT restart the sync unless youve changed configs
-
selsta
KeshavGupta[m]: can you go to Settings -> Log, type "status" into the textbox and then share the output?
-
KeshavGupta[m]
ofrnxmr[m]: i installed the gui from getmonero.org ,
-
ofrnxmr[m]
selsta: Try this please ^
-
KeshavGupta[m]
selsta: yea for sure, it says this : [20/06/23 6:06 PM] 2023-06-20 12:35:59.493 I Monero 'Fluorine Fermi' (v0.18.2.2-release)
-
KeshavGupta[m]
Height: 662320/2912273 (22.7%) on mainnet, not mining, net hash 14.11 MH/s, v1, 12(out)+0(in) connections, uptime 0d 0h 12m 20s
-
selsta
Do you have a custom blockchain location set?
-
selsta
You can check in Settings -> Node
-
KeshavGupta[m]
selsta: its all default
-
selsta
Are you sure that you were fully synced up before? 7h doesn't sound enough.
-
selsta
The bar being empty on restart is normal, it always starts from 0. You have to look at the height if it also gets back to 0.
-
selsta
662320 is the current height
-
KeshavGupta[m]
selsta: i mean i started the syncing and went to sleep, woke up about 7 to 8 hours later and both the bars were at 100 percent. i thought it was done and shut down my pc. when i booted up again both the bars were at 0 percent. i am really confused right now as to what to do.
-
moneromooo
100% could be "I was offline and so didn't see anything to sync".
-
KeshavGupta[m]
selsta: i dont exactly know what a height means but as far as i understand, its the number right next to the bar, its something like 2860390.
-
moneromooo
(unless the GUI catches that)
-
KeshavGupta[m]
moneromooo: what does that mean if you dont mind ?
-
selsta
as far as I know monero doesn't have any code that would delete the blockchain, it always has to be done manually
-
moneromooo
It means... if your computer cannot see other peers, it does not see anything more it needs to download, so as far as it's concerned, it's downloaded all it knew about. So 100% done.
-
selsta
KeshavGupta[m] can you make a screenshot of the bottom left corner of the GUI?
-
KeshavGupta[m]
moneromooo: damn, that means the entire blockchain wasnt downloaded
-
KeshavGupta[m]
selsta: yea for sure
-
-
selsta
I don't think you were synced up in the first place, I don't know your hardware but usually it takes longer than 7h
-
selsta
do you have an SSD or HDD?
-
KeshavGupta[m]
selsta: i have an hdd
-
selsta
ok then you definitely were not synced up
-
selsta
syncing on HDD takes multiple days, it's way quicker with SSD
-
ofrnxmr[m]
Definitely takes longer than 7hrs then
-
KeshavGupta[m]
i mean can you see the bar and tell me that is it fast cause like the bar you see in the pic is the work of i guess 20 mins of synchronizing
-
KeshavGupta[m]
ofrnxmr[m]: i have no clue how long it takes, any guesses ?
-
ofrnxmr[m]
looking at closer to a week
-
KeshavGupta[m]
ofrnxmr[m]: WHAT
-
ofrnxmr[m]
Ssd on a fast pc, 8-24 hrs
-
ofrnxmr[m]
hdd on a fast pc, 4+days, probably over 7
-
ofrnxmr[m]
Hdd on a slow pc, over a month
-
KeshavGupta[m]
ofrnxmr[m]: > <@ofrnxmr:monero.social> Ssd on a fast pc, 8-24 hrs
-
KeshavGupta[m]
> hdd on a fast pc, 4+days, probably over 7
-
KeshavGupta[m]
> Hdd on a slow pc, over a month
-
KeshavGupta[m]
OH MY GOD
-
ofrnxmr[m]
No access to an ssd?
-
moneromooo
You can twiddle sync settings for a good speedup on HDDs though.
-
moneromooo
--db-sync-mode fast:async:1000000
-
moneromooo
However, your machine needs to not crash in the middle of doing things.
-
KeshavGupta[m]
ofrnxmr[m]: i mean, no. i do all the work on my personal laptop and it has an hdd
-
KeshavGupta[m]
moneromooo: whats that
-
moneromooo
A monerod command line option.
-
ofrnxmr[m]
moneromooo: This flag^
-
KeshavGupta[m]
moneromooo: oh, what does it do ?
-
moneromooo
It gives a good speedup on HDDs.
-
ofrnxmr[m]
youd enter this into "startup flags" field on the node tab in GUI
-
KeshavGupta[m]
moneromooo: oh thanks
-
moneromooo
It'll still be days though. Just fewer of them.
-
KeshavGupta[m]
guys will this be done when the bars reach 100 percent ?
-
moneromooo
Syncing elsewhere on SSD, then copying the data.mdb file would be much faster if you can.
-
moneromooo
Yes, unless it finds itself without a view of the real chain.
-
KeshavGupta[m]
moneromooo: can i do it on an external ssd cause i have one laying around and i can for sure use that
-
moneromooo
Yes.
-
ofrnxmr[m]
yea
-
moneromooo
Copy the HDD one to SSD first to avoid redownloading the start you already got.
-
moneromooo
And use --data-dir /your/mount/point with monerod.
-
ofrnxmr[m]
is the startupnflags field add
-
ofrnxmr[m]
--data-dir=path/to/externalssd/newfolderforblockchain
-
KeshavGupta[m]
wait this is getting complex for me as i am really new to monero and crypto in general. can you like, simplify it a little bit if you dont mind. otherwise, imma just copy paste and understand all this : )
-
ofrnxmr[m]
Plug in your ssd
-
KeshavGupta[m]
yea,
-
ofrnxmr[m]
Create a new folder called "bitmonero"
-
KeshavGupta[m]
ok,
-
ofrnxmr[m]
Then in GUI, go to the node tab, thete is a field called "startup flags"
-
ofrnxmr[m]
In that field enter
-
ofrnxmr[m]
`--data-dir=/path/to/externalssd/bitmonero`
-
ofrnxmr[m]
Then close monero gui
-
KeshavGupta[m]
oh got it, thanks.
-
ofrnxmr[m]
You can then either a) relaunch gui and the sync will start from scratch, eta 8-24hrs
-
ofrnxmr[m]
or b) copy old download and sync from there. Eta probably 6-22hrs
-
KeshavGupta[m]
btw guys, my lower bar is already at like 10-12 percent. assuming the speed stays constant, it should be done in the next 3 hours or so, hows that possible ?
-
ofrnxmr[m]
Nope
-
ofrnxmr[m]
The speed goes by percentage of total blocks
-
KeshavGupta[m]
ofrnxmr[m]: > <@ofrnxmr:monero.social> You can then either a) relaunch gui and the sync will start from scratch, eta 8-24hrs
-
KeshavGupta[m]
> or b) copy old download and sync from there. Eta probably 6-22hrs
-
KeshavGupta[m]
oh
-
ofrnxmr[m]
The early blocks dont have nearly as many tx to verify
-
ofrnxmr[m]
When you get to about 2018 it slows down quite a bit
-
KeshavGupta[m]
ofrnxmr[m]: OH SO ITS JUST GONNA SLOW DOWN, FRUSTATING TBH BUT STILL, A LITTLE PAYOFF FOR PRIVACY
-
ofrnxmr[m]
yeah. But dont worry about that
-
ofrnxmr[m]
Just hook up the ssd and lettr fly
-
KeshavGupta[m]
and what happens if the ssd is unplugged in between ?
-
KeshavGupta[m]
ofrnxmr[m]: yea
-
ofrnxmr[m]
Youll corrupt your blockchain lol. Dont unplug the ssd while its syncing..
-
ofrnxmr[m]
You can unplug your ssd np. Just dont do it WHILE GUI is running
-
KeshavGupta[m]
ofrnxmr[m]: so, i will have to start all over again ? isnt there a way that if it unplugs while gui is running and the progress is saved ? i know its ridiculous to ask but like precaution is better than cure
-
ofrnxmr[m]
No
-
KeshavGupta[m]
oh ok
-
ofrnxmr[m]
You dont unplug devices while theybare busy, period
-
ofrnxmr[m]
Unless you like corrupting data
-
KeshavGupta[m]
ofrnxmr[m]: yea had to learn that the hard way, once unplugged the hdd while the OS was running, corrupted the entire kernel lol
-
ofrnxmr[m]
Whether youre copying files over or syncing a blockchain, you cant just yank the cord
-
KeshavGupta[m]
ofrnxmr[m]: true true
-
ofrnxmr[m]
You can just "menu shutdown" your pc. Linux kills monerod gracefully
-
KeshavGupta[m]
ofrnxmr[m]: like sarcasm that it kills gracefully or actually just kills the monerod ?
-
moneromooo
Not sarcasm.
-
KeshavGupta[m]
damn
-
moneromooo
And my comment isn't either.
-
moneromooo
And it kills it. Killing it will not break the DB.
-
moneromooo
It's just Windows that's a bit shit at doing its job of keeping its filesystem from corrupting.
-
moneromooo
So clean exit on windows is needed. On Linux, doesn't matter.
-
KeshavGupta[m]
moneromooo: oh, its hard to understand this statement "You can just "menu shutdown" your pc. Linux kills monerod gracefully" but i think u meant that alt+f4 your monero gui and the blockchain will not be corrupted
-
KeshavGupta[m]
moneromooo: thats great
-
moneromooo
I think ofrnxmr[m] just meant "if you use your GUI to shut your machine down, you should be OK".
-
ofrnxmr[m]
Right 👍
-
KeshavGupta[m]
oh aight
-
moneromooo
FWIW, pulling a USB cord while writing will corrupt on all OSes. Software can't beat physics.
-
moneromooo
Well actually... scratch that. Journalling shold be able to withstand even that...
-
KeshavGupta[m]
moneromooo: what has physics to do with files being corrupted lol
-
moneromooo
Physics is the base layer of everything in this world.
-
KeshavGupta[m]
moneromooo: i mean true tho
-
moneromooo
Like you're made of mostly carbon based molecules, and use chemicals to generate electrical signals to drive your body. You just don't think of it because your mind operates at a higher level.
-
KeshavGupta[m]
DAMN, DIDNT THINK ABOUT IT THIS WAY EARLIER
-
ofrnxmr[m]
Did you plug in the ssd yet? Going to have some scrolling to do to get back to the instructions
-
moneromooo
Same here. Software drives the hardware, but it doesn't know about all the physics happening to that hardware.
-
KeshavGupta[m]
moneromooo: right
-
KeshavGupta[m]
aight, thanks alot for your help so far guys, im gonna get back to you after trying the ssd method out or if i get a question to ask
-
selsta
.merges
-
xmr-pr
4143 4144 4145 4146 4147 4149 4158 4183 4185
-
selsta
.merge+ 4177
-
xmr-pr
Added
-
KeshavGupta[m]
Guys i got some questions if you all dont mind. Where exactly is the blockchain stored like is it the device itself or the wallet or some other location ? If i use the same wallet but different device, do i need to synchronize the entire blockchain again ? If i use the same device and the same wallet but a different lan do i have to sync the entire blockchain again ? If i use the same wallet but other device and lan do i have to
-
KeshavGupta[m]
sync the entire blockchain again ? I hope somebody is able to answer these questions. Thanks alot in advance :)
-
selsta
KeshavGupta[m]: the blockchain and wallet are completely separate
-
selsta
"If i use the same device and the same wallet but a different lan do i have to sync the entire blockchain again" <-- you have to point monero-gui to a node
-
Lyza
the default location for the blockchain on windwos is C:\ProgramData\bitmonero