Joystream / Joystream/joystream
Raspberry Pi 4 - "joystream-node: No such file or directory" Error
@mnaamani is already working on this.
Since Feb 21, 2021.
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Hi Everyone,
I was tried to run the joystream node on pi 4 & Ubuntu Server 20.04 LTS, but it was giving me that error:
./joystream-node --chain /home/hakan/joystream/joy-testnet-4.json --pruning archive --validator
-bash: ./joystream-node: No such file or directory
I also tried with run it with giving the full path and with sudo, but that did not work too.
So what I did is, recompiled the node from source. But when I recompiling the source, I had some errors and I fixed them one by one. I hope this will help to who could not run their node in raspberry pi 4.
1. First clone the project
git clone https://github.com/Joystream/joystream.git
2. Go to joystream directory and run the setup.sh
- But it gave me some errors, so I open the script and I run the commands one by one. So at this point I recommend you to install this development tools which mentioned in this page.
Also install missing packages with rustup when it gaves you error. Also you need the install nodejs & yarn if you haven't installed. These are mentioned in that page under Development Tools.
3. After you finish seup.sh commands succesfully, you need to install dependencies, run:
$ yarn install
- This will take some time, and hardest part, you will get many errors, so please install the missing packages using "npm install [missing_package]
4. If you succesfully completed the step 3, run the command:
$ WASM_BUILD_TOOLCHAIN=nightly-2020-05-23 cargo build --release
- Also this step will give you more errors :) So install the missings manually, some tips:
- install python and set it as environment variable using npm install
- for any related with librocksdb-sys error, run :
$ sudo apt install make clang pkg-config libssl-dev - This will take some time, it will try to compile the sources, so if you fail, fix the error and run it again.
5. Final step is running the compiled node.
$ wget https://github.com/Joystream/joystream/releases/download/v7.5.0/joy-testnet-4.json
$ ./target/release/joystream-node --chain joy-testnet-4.json --pruning archive --validator
- In this step please use the full path of node and json file when giving parameter.
I lost the full commands because I had to restart raspberry pi a few times and my sessions got lost, so If you failed to run again please comment below with exact error message.
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.