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

Error in installation process #7

Open
RadonicA opened this issue May 14, 2024 · 11 comments
Open

Error in installation process #7

RadonicA opened this issue May 14, 2024 · 11 comments

Comments

@RadonicA
Copy link

RadonicA commented May 14, 2024

Hello, I am trying to install Open Twins, but I have the following problem. Can you help me? Thank you very much!

1

2

3
4

@juliarobles
Copy link
Member

Hi,

First you have to create the namespace opentwins with kubectl create namespace opentwins.
Remember to add and update the Helm repository with:

helm repo add ertis https://ertis-research.github.io/Helm-charts/
helm repo update

Then, I see in the last screenshots that you are trying to enable Hono. We no longer recommend its use, as it gives many more problems than benefits. The errors you get are due to the dependency with Hono, surely they have broken their helm somehow. Try without enabling it and see if it works for you.
If it still does not work, let us know.

Regards,
Julia

@RadonicA
Copy link
Author

RadonicA commented Jun 3, 2024

@juliarobles Hello, I have been struggling with the installation of opentwins for a long time. Namely, I followed the steps to install through Helm, however when I want to check the pods, some don't seem right.
I would really appreciate your help!

image

image

image
image
image

@charanhs123 Hello, I saw that you had a similar problem to me with the pods, so I was wondering if you might know how to solve this problem? I would be grateful!

@sergioinf
Copy link
Member

Hi,
Ditto Nginx is the last component to be ready and it wont be unless all other componentes are ready.

In nginx description, the container wait-for-gateway has started and it waiting ditto-gateway to be ready.

Then ditto-gateway is running but not ready, so maybe there is a problem with gateway instead of nginx.

Other problem I can see is that influx, grafana and mongodb are not running. That is strange.

Please, send come screenshots of logs and descriptions of those components.

Thank you.

@RadonicA
Copy link
Author

RadonicA commented Jun 4, 2024

@sergioinf Hi, this is screenshots of grafana:
image
image
image
image
image

This is screenshots for influx:
image
image
image
image

This is screenshots for mongodb:
image
image
image
image
image

How I can resolve this problem with gateway?

What I find very strange is that it often happens that after some time after running the get pods command over and over again, after starting minicube, grafana and mongodb, they get the running status, but it doesn't always happen.

image

I have one more question for you. Namely, I want to do an example with a Raspberry Pi device, which you have implemented on your page. Do I need to install Grafana and other tools afterwards, or do I already have it after this installation?

@sergioinf
Copy link
Member

Where are you trying to install OpenTwins?, Are those errors from an ARM device? If so, you have to modify the used mongodb image.
OpenTwins uses bitnami image of mongodb, that is built only for x86 devices, so if you want to run those components on a raspberry, you need to use other mongodb image compatible with ARM devices.

@RadonicA
Copy link
Author

RadonicA commented Jun 6, 2024

Hi @sergioinf ,
I'm using VMware Workstation-Ubuntu 64bit with amd64 x86_64. I don't run these components on a Raspberry Pi, but my plan is to test your example with a Raspberry Pi device, after I enable all the components

These are the steps I went through to install OpenTwins, with the fact that I subsequently installed minikube to run the container.
image
image
image
image
image
image

@sergioinf
Copy link
Member

That problem is becasuse helm cant reach kubernetes cluster, if you try: "kubectl get all" you should get the same error

@RadonicA
Copy link
Author

RadonicA commented Jun 8, 2024

@sergioinf

When I try kubectl get all, I get this:
image

I tried with
kubectl config view --raw >~/.kube/config
image

@vaibhavgl25
Copy link

vaibhavgl25 commented Jun 22, 2024

Hello I am trying to install opentwins, but lot of time spent on the configurations and still not done. Here is the screenshot, kindly help.
image
image

@vaibhavgl25
Copy link

Hi,

Kindly suggest the installation steps for opentwins interface. There is no specific guide to suggest about the configurations.

Thanks.

@RadonicA
Copy link
Author

RadonicA commented Jun 24, 2024

@sergioinf Hi, Can you look at this issue #17, and tell me how to import the plugins needed for the further development process? Thank you in advance!

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

No branches or pull requests

4 participants