Replies: 4 comments 2 replies
-
freebsd is mostly community-supported and the instructions on the wiki are also maintained by the community. Last we checked (which was in the last month) - they did work. |
Beta Was this translation helpful? Give feedback.
-
I have chia running in a jail on FreeBSD 13. Assuming a freshly created jail called 'chia' with internet access you first install the packages needed and create a chia user: jexec chia pkg install bash git python screen bash gmake rust cmake gmp py38-sqlite3 py38-pybind11 pybind11
jexec chia bash -c '(echo chia::::::::: | adduser -f - -q -s bash -w no)' Then enter the jail jexec -U chia chia bash Now cd to the home folder and start screen, I use a detached screen session to keep plotters running. You could omit this step, although you should probably still cd
screen Next we build chia: git clone https://github.com/Chia-Network/chia-blockchain.git -b latest
cd chia-blockchain
bash ./install.sh This will fail, but has setup the python env we need, so we now install the missing clvm_rs: . ./activate
cd ..
git clone https://github.com/Chia-Network/clvm_rs.git
cd clvm_rs
pip install maturin
maturin develop --release --cargo-extra-args="--features=openssl" We can now run the build again: cd ../chia-blockchain/
deactivate
bash ./install.sh
. ./activate This should work second time round. Next One thing to note, if upgrading and you have a password protected keychain then edit
to
and put your keyring password in the string on the next line. |
Beta Was this translation helpful? Give feedback.
-
Confirmed that these instructions ever when followed to a T will not work I am trying mrrooster's suggestions above , I am running in the jails console so not using jexec, I will post my results, hopefully positive, when done! |
Beta Was this translation helpful? Give feedback.
-
I tried a fresh install recently and it's now pretty smooth on FreeBSD. If upgrading to 1.5.1 there's the possibility you could hit this issue.
I could never get the ZFS jail options to work the way I thought they should. (Not sure if it was my issue or they were genuinly broken). My main chia has the ZFS storage mounted within it (by just changing the fs mount point.), however this is a home system and I do have user ID parity between my user and the chia user in the jail which saves a lot of permission messing about. Your other option, and retrospectivly probably the one I would choose now is to use nullfs to mount the ZFS fs into the jail. You can do this with the
Create the mountpoint in your jail: $ mkdir /usr/jail/myjail/mnt/chia_farm Then create
Assuming your jail is rooted at |
Beta Was this translation helpful? Give feedback.
-
Hello,
today I tried to follow the instruction on how to install Chia on FreeBSD (I used a fresh install 11.4, even if it's outdated).
The instructions are not up to date and, in the end, even manually changing many variables it's impossible to install Chia.
The last error I got (after spending a couple of hours I gave up) is this one:
ERROR: Could not build wheels for chiapos, which is required to install pyproject.toml-based projects
Could anyone provide an updated guide (maybe for FreeBSD12) or could you just have an already compiled Chia if that is impossible (maybe a .pkg so it can be downloaded via the package manager).
Or please just remove support for FreeBSD and just tell people to use Ubuntu/Debian :(
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions