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

403 - Forbidden when installing under debian with the script #870

Open
thmsmullee opened this issue Aug 13, 2024 · 6 comments
Open

403 - Forbidden when installing under debian with the script #870

thmsmullee opened this issue Aug 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@thmsmullee
Copy link

thmsmullee commented Aug 13, 2024

I have an Odroid HC4 (aarch64) with Debian 11 (10 doesnt work on it)

wget https://raw.githubusercontent.com/mynodebtc/mynode/latest_release/setup/setup_device.sh -O mynode_setup.sh
sudo bash ./mynode_setup.sh online

It gets to:

+TARBALL=
+wget https://mynodebtc.com/device/upgrade_images/ -0 /tmp/rootfs.tar.gz
....connecting to mynodebtc.com ...
.....403 forbidden

Seems there is no image for aarch64 !?

@thmsmullee thmsmullee added the bug Something isn't working label Aug 13, 2024
@thmsmullee
Copy link
Author

I altered the setup_device.sh, so there is no query which type of device one has, just put in:

IS_RASPI=1
IS_RASPI4=1
IS_32_BIT=0
IS_ARM64=1
IS_32_BIT=0
IS_64_BIT=1

Now it installs flawlessly until the bitcoin installation. There the script says: "Unknown Bitcoin version"..
So, somewhere the script lost that IS_RASPI=1
If I put IS_RASPI=1 before the bitcoin installation block it works fine

#IS_RASPI=1
ARCH="UNKNOWN"
if [ $IS_RASPI = 1 ]; then
    ARCH="arm-linux-gnueabihf"
    if [ $IS_ARM64 = 1 ]; then
        ARCH="aarch64-linux-gnu"
    fi

elif [ $IS_ROCK64 = 1 ] || [ $IS_ROCKPRO64 = 1 ] || [ $IS_ROCKPI4 = 1 ]; then
    ARCH="aarch64-linux-gnu"
elif [ $IS_X86 = 1 ]; then
    ARCH="x86_64-linux-gnu"
else
    echo "Unknown Bitcoin Version"
    exit 1
fi

@thmsmullee
Copy link
Author

Next problem was this line:

gpg --verify SHA256SUMS.asc SHA256SUMS |& grep "gpg: Good signature"

The script just ended with "Good signature". After removing this line the script moved on. How to fix this behavior ?

@thmsmullee
Copy link
Author

The script ended and I can log in through the browser into mynode, but now it says:
Looking for Drive
Please attach a drive to your MyNode

@tehelsper
Copy link
Collaborator

You would need to attach a drive. If one is attached, the main mynode log on the status page may help. We don't support the ODROID HC4 officially, but it sounds like you may have gotten it to run as a RPi 4/5. Since there are some raspi specifics, it may be better to make it run as a rockpro64 or rockpi4.

@thmsmullee
Copy link
Author

You would need to attach a drive. If one is attached, the main mynode log on the status page may help. We don't support the ODROID HC4 officially, but it sounds like you may have gotten it to run as a RPi 4/5. Since there are some raspi specifics, it may be better to make it run as a rockpro64 or rockpi4.

Thanks, I will try that someday. In the meantime I ordered a raspery 4 and I download the blockchain on my computer onto the external hard drive, which I will attach later to the rasperry pi
Does this work ?
THANKS

@tehelsper
Copy link
Collaborator

tehelsper commented Sep 4, 2024

It could, but you'd have to copy it to a specific location. This guide may help.

https://mynodebtc.github.io/bitcoin/data-from-other-node.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants