Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation support for ARM64 #149

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kuoyaoming93
Copy link

@kuoyaoming93 kuoyaoming93 commented Mar 3, 2022

Add documentation for ARM64, tested on a Raspberry Pi 4 4GB, using Raspberry OS 64 bits.
This guide is based on #1. Resolves #3, resolves thetatoken/theta-protocol-ledger#86.

The guide is only for 64 bit OS. I can't make it work for 32 bits.

Captura de pantalla de 2022-03-02 17-12-41

Captura de pantalla de 2022-03-02 22-45-54

Captura de pantalla de 2022-03-02 22-46-05

Captura de pantalla de 2022-03-02 23-03-22

Resource usage for Raspberry Pi 4 4GB:
Captura de pantalla de 2022-03-02 23-14-55

Binaries in .zip files (big sizes):

@T3Crypto
Copy link

T3Crypto commented Sep 6, 2022

Hello Techguyk,

Have initiated the launch process with a newly created password after writing the below command:

ulimit -n 4096; ./ start --config=../guardian_mainnet/node

That said, it is giving me a snapshot validation error after allocating cache and file handles:

Snapshot validation failed, err: open ../guardian_mainnet/node/snapshot: no such file or directory

Obviously has to do with the snapshot file. There is a snapshot file located in the node directory, as well as a config.yaml file. Is the snapshot file supposed to be a .yaml as well? Was going to open these binary feels to dig into it, will that potentially throw off the current node processes if I execute them in my terminal?

Have solved this problem! This may have been an error while following your commands. That said, the snapshot file saves down into the theta_mainnet directory, which is separate from the go directory. In your repository you advise to launch from the theta_mainnet repository, which is why you have us save down the snapshot in that repository. However, you need to launch the node from the

/go/bin

not the

/theta_mainnet/bin

Figured this out by looking at your screenshots from the binary repository. Solution was as simple as copying the snapshot into the go/guardian_mainnet/node directory!!

Copy and pasted through GUI. believe the command would be:

sudo cp /home/theta_mainnet/guardian_mainnet/node/snapshot /home/go/guardian_mainnet/node

Thoughts?

@rohitsud04
Copy link

@T3Crypto I found the same issue today and fixed it as well. Instead of copying the file to the other folder, I updated the command to point to the right file location instead.

However when running ./thetacli query status comment I keep getting an error: "Failed to retrieve Blockchain status: Post http://localhost:16888/rpc dial tcp [::1]:16888: connect: connection refused.

Not sure if I missed a step or there's a step that isn't documented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

make install fails on ARM64 architecture Error on "make install" command
3 participants