Bitcoin Forum
May 01, 2024, 12:50:16 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Connection issue between Sparrow and Bitcoin Core  (Read 102 times)
BGK045 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 6


View Profile
August 09, 2023, 03:11:12 PM
Merited by o_e_l_e_o (4), ABCbits (2)
 #1

Hi - I have my Bitcoin Core node running with the data directory on an external hard drive to save space on my laptop. When I opened Sparrow and connected it to the node the first time, everything was fine. Since then, I get an error from Sparrow that says "Connection failed: Wallet file verification failed. Failed to create database path '/Volumes/External Hard Drive/cormorant'. Database already exists.". When I close Sparrow, delete the cormorant folder from the data directory (in the external hard drive) and then reopen Sparrow, a new cormorant folder is created and everything works fine. Any idea how to fix this issue so that I don't have to delete the cormorant folder every time I reopen Sparrow? Thanks in advance!
1714567816
Hero Member
*
Offline Offline

Posts: 1714567816

View Profile Personal Message (Offline)

Ignore
1714567816
Reply with quote  #2

1714567816
Report to moderator
1714567816
Hero Member
*
Offline Offline

Posts: 1714567816

View Profile Personal Message (Offline)

Ignore
1714567816
Reply with quote  #2

1714567816
Report to moderator
"I'm sure that in 20 years there will either be very large transaction volume or no volume." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714567816
Hero Member
*
Offline Offline

Posts: 1714567816

View Profile Personal Message (Offline)

Ignore
1714567816
Reply with quote  #2

1714567816
Report to moderator
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
August 09, 2023, 03:45:29 PM
 #2

In the first instance, I would try using the -walletdir option within Bitcoin Core to change the location of your wallet directory to your main drive , but leave the blockchain data on your external drive, and then try again.

Failing that, check both Bitcoin Core's and Sparrow's log files to see if there is any useful information in them.
NeuroticFish
Legendary
*
Offline Offline

Activity: 3654
Merit: 6371


Looking for campaign manager? Contact icopress!


View Profile
August 09, 2023, 04:09:08 PM
Merited by o_e_l_e_o (4), ABCbits (1)
 #3

1. The error sounds to me like a software is trying to (re)create the wallet at each and every start (which I'd say is not normal).
2. While looking for clues I've found this user's report on Git, at Sparrow's pages, including images and log. Maybe this helps anybody: https://github.com/sparrowwallet/sparrow/issues/1053

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
BGK045 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 6


View Profile
August 09, 2023, 07:25:42 PM
 #4

In the first instance, I would try using the -walletdir option within Bitcoin Core to change the location of your wallet directory to your main drive , but leave the blockchain data on your external drive, and then try again.

Failing that, check both Bitcoin Core's and Sparrow's log files to see if there is any useful information in them.

Thanks, but I'm not sure how to use the walletdir option. How do I do that?
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
August 09, 2023, 08:01:31 PM
 #5

-snip-
That GitHub seems to confirm it's an issue with the wallet being on a different drive. Hopefully moving it to the main drive as I suggested will work.

Thanks, but I'm not sure how to use the walletdir option. How do I do that?
Either add walletdir=PATH to your bitcoin.conf file, or launch bitcoin with the added command line or shortcut option -walletdir=PATH, with PATH changed to a path to a directory on your main drive. If you say what OS you are using I can be more specific.
BGK045 (OP)
Newbie
*
Offline Offline

Activity: 14
Merit: 6


View Profile
August 09, 2023, 09:13:34 PM
 #6

-snip-
That GitHub seems to confirm it's an issue with the wallet being on a different drive. Hopefully moving it to the main drive as I suggested will work.

Thanks, but I'm not sure how to use the walletdir option. How do I do that?
Either add walletdir=PATH to your bitcoin.conf file, or launch bitcoin with the added command line or shortcut option -walletdir=PATH, with PATH changed to a path to a directory on your main drive. If you say what OS you are using I can be more specific.
Awesome - thank you for your help! I'm using a Mac. Do I have to move the cormorant folder to the main drive before adjusting the wallet path?
o_e_l_e_o
In memoriam
Legendary
*
Offline Offline

Activity: 2268
Merit: 18509


View Profile
August 10, 2023, 04:42:28 PM
 #7

Do I have to move the cormorant folder to the main drive before adjusting the wallet path?
I wouldn't. I would just change the walletdir path, relaunch Bitcoin Core, and then relaunch Sparrow, and let Sparrow create a new cormorant wallet on your main drive.

I assume you have managed to locate the bitcoin.conf file and figured out how to path to your main drive?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!