btcpayserver-docker icon indicating copy to clipboard operation
btcpayserver-docker copied to clipboard

cp: cannot stat 'utxo-sets': No such file or directory

Open githubber opened this issue 3 years ago • 4 comments

I'm trying to run load-utxo-set.sh from within the btcpayserver-docker directory, and I get this error message. I thought the script did the heavy lifting... how, and where, do I make this directory? Thank you!

githubber avatar May 18 '22 12:05 githubber

You tried ./load-utxo-set.sh?

pavlenex avatar May 18 '22 20:05 pavlenex

Yes, I've tried ./load-utxo-set.sh, and the error is cannot stat 'utxo-sets': No such file or directory.

githubber avatar May 19 '22 11:05 githubber

@NicolasDorier any idea what's happening here?

pavlenex avatar May 19 '22 15:05 pavlenex

I mentioned in which directory I was running this, thinking that might be a factor (from within the btcpayserver-docker directory, which is itself in /root). Does it have to run within Docker, or should it have been installed in a different director/User directory?

I should say, thank you! Other than this, it installed smooth as silk, and it running well! Awesome!

githubber avatar May 19 '22 16:05 githubber

@githubber As stated in the FastSync docs, the command needs to be run in the contrib/FastSync subdirectory.

So you have to cd $BTCPAY_BASE_DIRECTORY/btcpayserver-docker/contrib/FastSync first.

I hope this helps ­— if not, feel free to reopen this issue with more details.

dennisreimann avatar Nov 22 '22 11:11 dennisreimann