iotaledger / hornet

HORNET is a powerful IOTA fullnode software
Apache License 2.0
310 stars 151 forks source link

Difficulty Running IOTA Hornet on Raspberry Pi 4 #1913

Open luciogtelecom opened 9 months ago

luciogtelecom commented 9 months ago

Dear IOTA Support Team,

I hope this email finds you well. My name is Lucio Gabriel, and I am currently a master's student in the field of Computer Science at the University of Campinas (Unicamp). I am writing to express my frustration and seek assistance regarding my recent attempts to run the IOTA Hornet application on my Raspberry Pi 4.

As part of my research, I am aiming to demonstrate the feasibility of running the Tangle on low-cost hardware such as the Raspberry Pi 4. To accomplish this, I have followed the official IOTA Foundation guide for installing Hornet on a Raspberry Pi. However, I have encountered significant challenges during the installation process.

Here are the issues I have faced: Given my academic background and research objectives, I am eager to contribute to the IOTA ecosystem by showcasing the capabilities of the Tangle on a Raspberry Pi 4. However, the current obstacles I am facing are hindering my progress.

I kindly request the following:

Simplified Step-by-Step Guide: It would be immensely helpful if the IOTA Foundation could provide a simplified, step-by-step guide specifically tailored to setting up Hornet on a Raspberry Pi 4. A clear and straightforward guide would greatly assist not only me but also others attempting a similar endeavor.

Technical Support: If there is a support channel or resource available for troubleshooting and resolving issues related to Hornet on Raspberry Pi, please guide me to it. Having access to expert assistance would expedite my project and research significantly.

I understand that the IOTA Foundation is committed to promoting community engagement and development. By addressing these concerns, I believe we can further demonstrate the versatility of IOTA technology and empower enthusiasts and researchers like myself to contribute effectively.

I appreciate your attention to this matter and look forward to your prompt response. If you require any additional information or details about my setup, please do not hesitate to reach out to me at [Your Email Address].

Thank you for your support, and I hope we can work together to overcome these challenges and achieve our goals.

Sincerely, Lucio Gabriel

punikus commented 9 months ago

Hi Lucio, i am not a dev, just a community member but i will help you if i can. I managed to install hornet node on raspberry pi recently and i made an easy tutorial and uploaded it to my GitHub. Hope it will help you: https://github.com/punikus/Shimmer-hornet-install-tutorial-raspberry-pi/blob/main/Hornet%20install.txt

luciogtelecom commented 9 months ago

Hi Lucio, i am not a dev, just a community member but i will help you if i can. I managed to install hornet node on raspberry pi recently and i made an easy tutorial and uploaded it to my GitHub. Hope it will help you: https://github.com/punikus/Shimmer-hornet-install-tutorial-raspberry-pi/blob/main/Hornet%20install.txt

Thanks punikus,

I think guess runnig to Hornet.

But, I have send in dasboard HTTP.

Could you help me?

2023-09-25-143434_1920x1080_scrot

punikus commented 9 months ago

Hey there, from the second attempt it seems to be working, after about a minute from node start you should be able to log in to your dashboard on your browser. Instead of localhost write your raspberry pi IP address. http://localhost/dashboard Instead of this you use http://your raspberry pi IP/dashboard. Was that the question?

luciogtelecom commented 9 months ago

Hey there, from the second attempt it seems to be working, after about a minute from node start you should be able to log in to your dashboard on your browser. Instead of localhost write your raspberry pi IP address. http://localhost/dashboard Instead of this you use http://your raspberry pi IP/dashboard. Was that the question?

Yes, that was my question.

I can't see the dashboard

punikus commented 9 months ago

Did you open the ports on your router? and allow the ports trough firewall?

luciogtelecom commented 9 months ago

image

Everything is ok with the UFW

punikus commented 9 months ago

On your router, do you have an IPv4 or IPv6 internet connection? I had the problem with my internet provider. I had an IPv6 internet connection through DS lite tunnel, so it was impossible to open ports without IPv4 connection although my router showed that the ports are open. So i called them and asked them politely to change my connection to IPv4 and since than it works.

luciogtelecom commented 9 months ago

On your router, do you have an IPv4 or IPv6 internet connection? I had the problem with my internet provider. I had an IPv6 internet connection through DS lite tunnel, so it was impossible to open ports without IPv4 connection although my router showed that the ports are open. So i called them and asked them politely to change my connection to IPv4 and since than it works.

So, would I have to call my internet provider and request this?

punikus commented 9 months ago

In your router the settings should be like this... Screenshot 2023-09-25 203834

Check your router again, and check that ports, if they are not open it will not work. My router opened the ports for IPv6 also automatically, but you only need IPv4 ports to be opened

luciogtelecom commented 9 months ago

In your router the settings should be like this... Screenshot 2023-09-25 203834

Check your router again, and check that ports, if they are not open it will not work. My router opened the ports for IPv6 also automatically, but you only need IPv4 ports to be opened

I turned off the router's firewall and pointed out ports and it still didn't work. As you can see on the dashboard, the router belongs to my internet operator. Would I have to ask them to release IPV4 only in my house?

Captura de tela 2023-09-25 155809

image

punikus commented 9 months ago

Well, some providers do connect their customers to IPv6 like in my case. Sure, you should call and ask them, I am not sure if that is the case, but it would do no harm. And if you have more advanced questions, you can freely join the community on discord and there in hornet node channel you can find devs and regular members from IOTA community that will help you . Here is the link: https://discord.gg/iota.

luciogtelecom commented 9 months ago

Well, some providers do connect their customers to IPv6 like in my case. Sure, you should call and ask them, I am not sure if that is the case, but it would do no harm. And if you have more advanced questions, you can freely join the community on discord and there in hornet node channel you can find devs and regular members from IOTA community that will help you . Here is the link: https://discord.gg/iota.

I don't think the problem is the Firewall, because I ran One-Click-tangle and managed to get it to ./private-talngle.sh

https://wiki.iota.org/introduction/how_tos/one_click_private_tangle/

image

TeeVeeEss commented 9 months ago

You can check the logs of the hornet container with this command: docker compose logs hornet That should give you a clue why hornet is not starting correct. If you tried a few different settings: bring all containers down, delete your data subdirectory and rerun the prepare_docker.sh script to make a fresh start.

Ayahatemallam223 commented 1 month ago

Well, some providers do connect their customers to IPv6 like in my case. Sure, you should call and ask them, I am not sure if that is the case, but it would do no harm. And if you have more advanced questions, you can freely join the community on discord and there in hornet node channel you can find devs and regular members from IOTA community that will help you . Here is the link: https://discord.gg/iota.

I don't think the problem is the Firewall, because I ran One-Click-tangle and managed to get it to ./private-talngle.sh

https://wiki.iota.org/introduction/how_tos/one_click_private_tangle/

image

Can you help me to deploy one click tangle in raspberry