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