Comments (14)
To run the deamon, you'd have to type bitcoin-core.daemon -testnet
from packaging.
This snap should give possibility to run the daemon with command "bitcoind". This is because some 3rd party wallets, like Armory, depend on running Bitcoin daemon using the standard (as in Bitcoin's delivery .tar.gz file) "bitcoind" file name.
from packaging.
So I haven’t tried to use the bitcoin-core snap for over four months. When running it, the "Welcome to Bitcoin Core" dialog offers me to choose my datadir. Now since my datadir is on a separate hard drive, snap can’t access it, so I still can’t access Bitcoin Core with my datadir. Is there any solution to this problem?
from packaging.
There is the home interface https://snapcraft.io/docs/home-interface or https://snapcraft.io/docs/personal-files-interface or https://snapcraft.io/docs/removable-media-interface or https://snapcraft.io/docs/system-files-interface
As the snap dir already resides in the home dir, I am not sure how much the home
interface is going to help. And Bitcoin Core generally does not support storing data on removable media, as it is a common cause for data corruption. I guess the removable-media-interface also gives access to "permanent" secondary disks, so I wouldn't object adding that interface.
from packaging.
With the third party package managers like snap or flatpak it is not possible to create a bitcoind
alias on installation. If an shell alias is not sufficient, you can try creating ~/bin/bitcoind
in the home dir of the user that is running the scripts.
Content of the file should be something like:
#!/usr/bin/env bash
bitcoin-core.daemon "${@}"
from packaging.
it has ignored my previous /home/user/.config/Bitcoin
Currently the default dir is in the snap dir:
Line 20 in 40f8a13
Maybe you can create a bitcoin.conf
in this dir and then change the datadir to something else in the conf file?
the Bitcoin Core GUI is not available in Unity’s dashboard.
Unity has been deprecated by Ubuntu and it doesn't seem to work with our snap. See also
- Snap install on Unity UI has qt menu bar missing #20
from packaging.
it has ignored my previous /home/user/.config/Bitcoin
Currently the default dir is in the snap dir:
Line 20 in 40f8a13
Maybe you can create a
bitcoin.conf
in this dir and then change the datadir to something else in the conf file?
I don’t have a ~/snap/bitcoin, only ~/snap/bitcoin-core, I tried creating a /common/.bitcoin in both ~/snap/bitcoin and ~/snap/bitcoin-core and place a bitcoin.conf there (my former Bitcoin-Qt.conf that I renamed), but bitcoin-core.qt ignores it.
the Bitcoin Core GUI is not available in Unity’s dashboard.
Unity has been deprecated by Ubuntu and it doesn't seem to work with our snap. See also
I see, thank you. Unity is still used by many.
from packaging.
Snap packages are supposed to be self-contained and don't allow arbitrary file-access. So my previous suggestion wouldn't work anyway. See:
$ cat ~/snap/bitcoin-core/common/.bitcoin/bitcoin.conf
regtest=1
datadir=/home/marco/Downloads/rt
uacomment=test_issue_21
$ bitcoin-core.qt
/snap/bitcoin-core/37/bin/desktop-launch: line 29: /home/marco/.config/user-dirs.locale: No such file or directory
terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
what(): boost::filesystem::create_directory: Permission denied: "/home/marco/Downloads/rt/regtest"
Aborted (core dumped)
from packaging.
Sorry, I can't help with the Unity issue, but I suggest to close this issue and track the Unity issues in (Snap install on Unity UI has qt menu bar missing #20)
from packaging.
This issue has been referenced as a bug in snapd and seems to affect multiple snaps
PX4/PX4-Autopilot#9409
https://bugs.launchpad.net/snapd/+bug/1757198
The proposed solutions suggest to edit your .bashrc
PX4/PX4-Autopilot#9409 (comment)
export LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0
Make sure you have libgtk3-nocsd.so.0 in /usr/lib/x86_64-linux-gnu/
If you didn't have it, try sudo apt-get install gtk3-nocsd
This issue and #20 look to be related to the upgrade path through Ubuntu versions.
from packaging.
Installed bitcoin-core with:
$ snap install bitcoin-core
Setup snap "bitcoin-core" (54) security profiles
Setup snap "bitcoin-core" (54) security profiles
Setubitcoin-core 0.19.0.1 from Bitcoin Core installed
Then when I run it, nothing happens:
$ bitcoind -testnet -deamon
bitcoind: command not found
Running $ l snap
does not even output a bitcoin directory.
Solved it by running (warning this might delete or make your system unrecognize previously installed snaps):
$ sudo apt purge snapd && sudo apt install snapd
$ sudo snap install bitcoin-core
Now it's here:
$ l snap | grep bitcoin-core
bitcoin-core/
However, I was still unable to run the commands. So, I decided to download the tar file from website and install it manually. Everything works now.
Hope this helps!
from packaging.
@MarcoFalke I didn't know that was the command for it. Hope others try it out and let us know.
from packaging.
i have installed, how or where do i get the bitcoin.conf file, need to add details for rcpuser and password
thanks
from packaging.
Does ~/snap/bitcoin-core/common/.bitcoin/bitcoin.conf
work?
from packaging.
Related Issues (20)
- snap: tor's cookie file not visible for Bitcoin Core HOT 3
- snap:
- G
- snap:
- ۷۸۹
- snap:
- Bitcore
- snap: bitcoin-core cannot access filesystems other than root HOT 1
- .
- snap: All snap versions mistakenly marked as "stable" HOT 1
- snap: Additional verification of the Bitcoin Core snap package needed (hash missing) HOT 1
- .
- Snap: bitcoin-core doesn't accept requests from rust bitcoincore-rpc HOT 8
- snap:
- snap:
- snap:
- Issue after rebooting system HOT 5
- Snap package of bitcoind lacks apparmor access to entropy files in proc HOT 3
- Verify the release signatures HOT 1
- snap: bitcoind gets killed because it runs out of memory HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packaging.