Bitcoin Forum
September 28, 2025, 03:54:51 AM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1]
1  Bitcoin / Bitcoin Technical Support / Re: New Install of BC Core with old data in ubuntu on: April 17, 2023, 09:09:45 PM
Wow thanks - I did not know that snap was at least partially proprietary!
Speaking of snap - I am still lacking basic understanding of the inner workings and principles;
could you give me a hint where I can find out why (and how to fix) I am not seeing my directory
/u at all in two snap applications that I tried - bitcoin and Krita?
This is a directory that is fully accessible by everybody and I am using that for mounting all
of my external resources, so I need my apps to be able to see that.
Cheers,
Merlin
2  Bitcoin / Bitcoin Technical Support / Re: New Install of BC Core with old data in ubuntu on: April 17, 2023, 06:59:04 AM
I took Alexander the Great as an example (with his Gordic knot) and get rid of the snap and installed from the normal ...tar.gz like a proper application.
3  Bitcoin / Bitcoin Technical Support / New Install of BC Core with old data in ubuntu on: April 03, 2023, 02:00:24 AM
Bitcoin Client Software and Version Number: 24.0.1
Operating System: ubuntu 22.04
System Hardware Specs: I5 8GB memory several HD with 6-7 TB
Description of Problem: unable to get BCCore running as a user
Any Related Addresses: no
Any Related Transaction IDs: no
Screenshot of the problem: none
Log Files from the Bitcoin Client: don't know where to find them

I had BC Core running on a 20.04 Ubuntu as user gezi for years. It had an external 5TB drive with a directory .bitcoin containing all data relating to this installation. The drive was mounted on /u/bigdata2.
The hardware failed and I replace the machine and used the opportunity to start fresh with ubuntu 22.04. The 5TB drive was again mounted on /u/bigdata2.
I installed the latest BC Core as a snap.
On first start BC Core asked me for choose the data directory, but I could not select /u/bigdata2/.bitcoin - the file selector did not show the /u folder at all. When I tried to type in the full datapath the Choose button remained grayed.
I tried everything I could imagine to get this to work, including adding dataDir=/u/bigdata2/.bitcoin to the config file Bitcoin-QT.conf in
/home/gezi/snap/bitcoin-core/bitcoin-core/126/.config/Bitcoin
In order get something to work avoiding any file permission I tried to run as root:
/snap/bitcoin-core/126/bin/bitcoin-qt -datadir=/u/bigdata2/.bitcoin
and that actually worked: it got the right data, it was a few days behind but it started the synching nicely.

Obviously I tried the same command as user gezi, but first got  popup window with a Payment request error, and then
"Error: Error initializing wallet database environment "/u/bigdata2/.bitcoin"! This error could occur if this wallet was not shutdown cleanly and was last loaded using a build with a newer version of Berkeley DB. If so, please use the software that last loaded this wallet"

The last I tried was to accept the default data location and started to sync. Then, when it thought be only 5 days until done, I did as user gezi
cd ~/snap/bitcoin-core/common
mv .bitcoin save.bitcoin
ln -s /u/bigdata2/.bitcoin .bitcoin
to plant the old data into the new nest, but to no avail: BC Core thought it was a new install and asked me for the data directory again.

I am now at  total loss and hope somebody can make sense if this all.
Thanks, Merlin


4  Bitcoin / Bitcoin Technical Support / Re: backup of the index on: April 02, 2016, 12:41:58 AM
thanks!
5  Bitcoin / Bitcoin Technical Support / Re: database on one machine - wallet on another on: April 01, 2016, 07:53:14 PM
I can imagine there is documentation about that - if so, I would appreciate a hint where I could find that  :-)
6  Bitcoin / Bitcoin Technical Support / database on one machine - wallet on another on: April 01, 2016, 07:43:15 PM
I am out of my bitcoins for a day or so because Core is reindexing.
I try to find a better solution than having Core run on my daily windows machine that does need a reboot once in a while and sometimes several in a row (including forced power off).
My idea is if I could run the full node on a linux server that is on 24/7 in the basement, but have my windows machine with the wallet on that daily windows machine accessing the database on the linux server.
Is that a possibility and if so, how would I configure that?
Thanks - Merlin
7  Bitcoin / Bitcoin Technical Support / Re: backup of the index on: April 01, 2016, 07:35:37 PM
do you know if Core keeps files open that it works with or only opens them if needed?
Depending on that I would have to close down Core before I make a backup - thinking about every week or few days to minimize the reindexing time.
And, yes, I just upgraded to 0.12 so hopefully that will not be a big issue any more. I actually do backup the whole database daily already (robocopy so I don't have to copy the whole thing - only changes), unfortunately I did not think of that yesterday, so that backup was overwritten with the 2 years out of sync  :-(
8  Bitcoin / Bitcoin Technical Support / backup of the index on: April 01, 2016, 05:25:39 PM
I had another crash of my windows 8.1 machine which I run bitcoin core on - and that took down my index - - again.
Now after a night of the fan going full speed I am still 37 weeks out of date.
There must be a way to back up that work!
Would it be possible to have a back-up of the index and restore it after a crash that corrupts the index? A copy of a few GB should be faster than hours and hours of reindexing.
Or is there a reason why that should/would not work?
If it is possible would I have to shut down core before backing up the index to make sure no files are open that might not be backed up or could I use shadow copy to do that (or would I end up with a corrupted index after restoring a snapshot that core does not know what to do with)?
Thanks - Merlin
9  Other / Bitcoin Wiki / Re: Request edit privileges here on: April 01, 2016, 04:09:41 PM
merlinsilk
10  Other / Bitcoin Wiki / Re: Request edit privileges here on: September 04, 2015, 12:32:32 AM
Hi, my bitcoin wiki user name is merlinsilk and I would like get editor status.
Thanks, Merlin
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!