12:16:57 <KeshavGupta[m]> GUYS I NEED SOME HELP WITH DAEMON SYNCHRONIZATION !!! 12:16:57 <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. 12:16:57 <KeshavGupta[m]> Thanks in advance. 12:18:36 <ofrnxmr[m]> Everything all over again? 12:18:45 <ofrnxmr[m]> It should continue from where you left off 12:19:39 <ofrnxmr[m]> there are 2 sync bars in the bottom leftc what do they say 12:19:59 <ofrnxmr[m]> * there are 2 sync bars in the bottom left. What do they say? 12:28:17 <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. 12:29:18 <ofrnxmr[m]> lets start here 12:29:38 <ofrnxmr[m]> youre running debian. 12:29:39 <ofrnxmr[m]> what version of monero GUI are you running? 12:30:14 <ofrnxmr[m]> Apt, Getmonero.org, or flatpak? 12:30:50 <ofrnxmr[m]> And is that from* apt, Getmonero.org, or flatpak? 12:31:37 <ofrnxmr[m]> It definitelty does NOT restart the sync unless youve changed configs 12:33:23 <selsta> KeshavGupta[m]: can you go to Settings -> Log, type "status" into the textbox and then share the output? 12:34:40 <KeshavGupta[m]> ofrnxmr[m]: i installed the gui from getmonero.org , 12:36:09 <ofrnxmr[m]> selsta: Try this please ^ 12:36:37 <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) 12:36:37 <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 12:37:07 <selsta> Do you have a custom blockchain location set? 12:37:12 <selsta> You can check in Settings -> Node 12:37:42 <KeshavGupta[m]> selsta: its all default 12:38:32 <selsta> Are you sure that you were fully synced up before? 7h doesn't sound enough. 12:40:48 <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. 12:40:56 <selsta> 662320 is the current height 12:41:12 <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. 12:41:54 <moneromooo> 100% could be "I was offline and so didn't see anything to sync". 12:42:14 <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. 12:42:18 <moneromooo> (unless the GUI catches that) 12:42:43 <KeshavGupta[m]> moneromooo: what does that mean if you dont mind ? 12:43:08 <selsta> as far as I know monero doesn't have any code that would delete the blockchain, it always has to be done manually 12:43:49 <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. 12:44:31 <selsta> KeshavGupta[m] can you make a screenshot of the bottom left corner of the GUI? 12:45:00 <KeshavGupta[m]> moneromooo: damn, that means the entire blockchain wasnt downloaded 12:45:05 <KeshavGupta[m]> selsta: yea for sure 12:46:08 * KeshavGupta[m] uploaded an image: (16KiB) < https://libera.ems.host/_matrix/media/v3/download/matrix.org/SiNSxDzZfnXvTwVLozPzxZbp/Screenshot_2023-06-20_18-15-30.png > 12:46:53 <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 12:47:01 <selsta> do you have an SSD or HDD? 12:47:34 <KeshavGupta[m]> selsta: i have an hdd 12:47:51 <selsta> ok then you definitely were not synced up 12:48:08 <selsta> syncing on HDD takes multiple days, it's way quicker with SSD 12:48:37 <ofrnxmr[m]> Definitely takes longer than 7hrs then 12:48:42 <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 12:49:06 <KeshavGupta[m]> ofrnxmr[m]: i have no clue how long it takes, any guesses ? 12:49:20 <ofrnxmr[m]> looking at closer to a week 12:49:45 <KeshavGupta[m]> ofrnxmr[m]: WHAT 12:50:29 <ofrnxmr[m]> Ssd on a fast pc, 8-24 hrs 12:50:29 <ofrnxmr[m]> hdd on a fast pc, 4+days, probably over 7 12:50:29 <ofrnxmr[m]> Hdd on a slow pc, over a month 12:50:51 <KeshavGupta[m]> ofrnxmr[m]: > <@ofrnxmr:monero.social> Ssd on a fast pc, 8-24 hrs 12:50:51 <KeshavGupta[m]> > hdd on a fast pc, 4+days, probably over 7 12:50:51 <KeshavGupta[m]> > Hdd on a slow pc, over a month 12:50:51 <KeshavGupta[m]> OH MY GOD 12:51:38 <ofrnxmr[m]> No access to an ssd? 12:51:54 <moneromooo> You can twiddle sync settings for a good speedup on HDDs though. 12:52:45 <moneromooo> --db-sync-mode fast:async:1000000 12:53:02 <moneromooo> However, your machine needs to not crash in the middle of doing things. 12:53:09 <KeshavGupta[m]> ofrnxmr[m]: i mean, no. i do all the work on my personal laptop and it has an hdd 12:53:27 <KeshavGupta[m]> moneromooo: whats that 12:53:36 <moneromooo> A monerod command line option. 12:53:45 <ofrnxmr[m]> moneromooo: This flag^ 12:53:56 <KeshavGupta[m]> moneromooo: oh, what does it do ? 12:54:06 <moneromooo> It gives a good speedup on HDDs. 12:54:19 <ofrnxmr[m]> youd enter this into "startup flags" field on the node tab in GUI 12:54:36 <KeshavGupta[m]> moneromooo: oh thanks 12:54:47 <moneromooo> It'll still be days though. Just fewer of them. 12:55:27 <KeshavGupta[m]> guys will this be done when the bars reach 100 percent ? 12:55:30 <moneromooo> Syncing elsewhere on SSD, then copying the data.mdb file would be much faster if you can. 12:55:55 <moneromooo> Yes, unless it finds itself without a view of the real chain. 12:56:26 <KeshavGupta[m]> moneromooo: can i do it on an external ssd cause i have one laying around and i can for sure use that 12:56:33 <moneromooo> Yes. 12:56:57 <ofrnxmr[m]> yea 12:57:00 <moneromooo> Copy the HDD one to SSD first to avoid redownloading the start you already got. 12:57:14 <moneromooo> And use --data-dir /your/mount/point with monerod. 12:57:42 <ofrnxmr[m]> is the startupnflags field add 12:57:42 <ofrnxmr[m]> --data-dir=path/to/externalssd/newfolderforblockchain 12:58:29 <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 : ) 12:58:41 <ofrnxmr[m]> Plug in your ssd 12:58:56 <KeshavGupta[m]> yea, 12:58:57 <ofrnxmr[m]> Create a new folder called "bitmonero" 12:59:07 <KeshavGupta[m]> ok, 12:59:26 <ofrnxmr[m]> Then in GUI, go to the node tab, thete is a field called "startup flags" 13:00:01 <ofrnxmr[m]> In that field enter 13:00:01 <ofrnxmr[m]> `--data-dir=/path/to/externalssd/bitmonero` 13:00:08 <ofrnxmr[m]> Then close monero gui 13:00:48 <KeshavGupta[m]> oh got it, thanks. 13:01:39 <ofrnxmr[m]> You can then either a) relaunch gui and the sync will start from scratch, eta 8-24hrs 13:01:40 <ofrnxmr[m]> or b) copy old download and sync from there. Eta probably 6-22hrs 13:01:57 <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 ? 13:01:57 <ofrnxmr[m]> Nope 13:02:09 <ofrnxmr[m]> The speed goes by percentage of total blocks 13:02:18 <KeshavGupta[m]> ofrnxmr[m]: > <@ofrnxmr:monero.social> You can then either a) relaunch gui and the sync will start from scratch, eta 8-24hrs 13:02:18 <KeshavGupta[m]> > or b) copy old download and sync from there. Eta probably 6-22hrs 13:02:18 <KeshavGupta[m]> oh 13:02:27 <ofrnxmr[m]> The early blocks dont have nearly as many tx to verify 13:02:47 <ofrnxmr[m]> When you get to about 2018 it slows down quite a bit 13:03:08 <KeshavGupta[m]> ofrnxmr[m]: OH SO ITS JUST GONNA SLOW DOWN, FRUSTATING TBH BUT STILL, A LITTLE PAYOFF FOR PRIVACY 13:03:48 <ofrnxmr[m]> yeah. But dont worry about that 13:03:59 <ofrnxmr[m]> Just hook up the ssd and lettr fly 13:04:08 <KeshavGupta[m]> and what happens if the ssd is unplugged in between ? 13:04:15 <KeshavGupta[m]> ofrnxmr[m]: yea 13:04:37 <ofrnxmr[m]> Youll corrupt your blockchain lol. Dont unplug the ssd while its syncing.. 13:05:13 <ofrnxmr[m]> You can unplug your ssd np. Just dont do it WHILE GUI is running 13:06:37 <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 13:06:51 <ofrnxmr[m]> No 13:07:10 <KeshavGupta[m]> oh ok 13:07:15 <ofrnxmr[m]> You dont unplug devices while theybare busy, period 13:07:27 <ofrnxmr[m]> Unless you like corrupting data 13:08:12 <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 13:08:13 <ofrnxmr[m]> Whether youre copying files over or syncing a blockchain, you cant just yank the cord 13:08:35 <KeshavGupta[m]> ofrnxmr[m]: true true 13:08:35 <ofrnxmr[m]> You can just "menu shutdown" your pc. Linux kills monerod gracefully 13:09:46 <KeshavGupta[m]> ofrnxmr[m]: like sarcasm that it kills gracefully or actually just kills the monerod ? 13:10:29 <moneromooo> Not sarcasm. 13:10:46 <KeshavGupta[m]> damn 13:10:46 <moneromooo> And my comment isn't either. 13:11:27 <moneromooo> And it kills it. Killing it will not break the DB. 13:12:11 <moneromooo> It's just Windows that's a bit shit at doing its job of keeping its filesystem from corrupting. 13:12:43 <moneromooo> So clean exit on windows is needed. On Linux, doesn't matter. 13:12:51 <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 13:13:12 <KeshavGupta[m]> moneromooo: thats great 13:13:27 <moneromooo> I think ofrnxmr[m] just meant "if you use your GUI to shut your machine down, you should be OK". 13:14:20 <ofrnxmr[m]> Right 👍 13:14:23 <KeshavGupta[m]> oh aight 13:14:30 <moneromooo> FWIW, pulling a USB cord while writing will corrupt on all OSes. Software can't beat physics. 13:14:55 <moneromooo> Well actually... scratch that. Journalling shold be able to withstand even that... 13:15:09 <KeshavGupta[m]> moneromooo: what has physics to do with files being corrupted lol 13:15:25 <moneromooo> Physics is the base layer of everything in this world. 13:15:43 <KeshavGupta[m]> moneromooo: i mean true tho 13:16:39 <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. 13:17:14 <KeshavGupta[m]> DAMN, DIDNT THINK ABOUT IT THIS WAY EARLIER 13:17:16 <ofrnxmr[m]> Did you plug in the ssd yet? Going to have some scrolling to do to get back to the instructions 13:17:19 <moneromooo> Same here. Software drives the hardware, but it doesn't know about all the physics happening to that hardware. 13:17:49 <KeshavGupta[m]> moneromooo: right 13:20:26 <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 19:26:26 <selsta> .merges 19:26:26 -xmr-pr- 4143 4144 4145 4146 4147 4149 4158 4183 4185 19:26:33 <selsta> .merge+ 4177 19:26:33 <xmr-pr> Added 19:28:25 <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 19:28:25 <KeshavGupta[m]> sync the entire blockchain again ? I hope somebody is able to answer these questions. Thanks alot in advance :) 20:11:47 <selsta> KeshavGupta[m]: the blockchain and wallet are completely separate 20:12:26 <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 21:53:07 <Lyza> the default location for the blockchain on windwos is C:\ProgramData\bitmonero