dcaputo-harmoni / open-balena-ui

Administration interface for open-balena
MIT License
5 stars 7 forks source link

Uncaught TypeError on UI Access at Port 8080 #5

Open matiasAS opened 6 months ago

matiasAS commented 6 months ago

Hello,

I've encountered an issue when starting services with Docker Compose for the open-balena-admin interface. After initiating the services and navigating to the IP and port 8080 in my browser, I'm presented with a JavaScript error in the console:

Uncaught TypeError: Cannot read properties of undefined (reading 'resources')

This error prevents the interface from loading properly. I followed the standard Docker Compose setup instructions without making modifications to the codebase. Could you please provide guidance on how to resolve this issue?

Note: I have opened this same issue in the open-balena-admin repository, because I don't really know which repository is more correct. Sorry if it causes confusion or any kind of problems

Thank you. Regards Matias

@danclimasevschi @dcaputo-harmoni

dcaputo-harmoni commented 5 months ago

@matiasAS unfortunately I am not well positioned to help you with this as we only run it in kubernetes - which is an entirely different deployment than docker compose. Perhaps someone else who is using docker compose can help?

matiasAS commented 5 months ago

@dcaputo-harmoni And why is docker compose there? I also see that you are the owner of the repository

danclimasevschi commented 5 months ago

@dcaputo-harmoni And why is docker compose there? I also see that you are the owner of the repository

I did use it, adapted to our projects’ needs though. I would say it is easier to take your time and understand how docker and docker-compose work, because everyone has quite different requirements. I didn’t run into your problem though. Ended up using balena cloud anyway, because open-balena is poorly documented and hard to maintain/debug/scale yourself.

shaunco commented 4 months ago

@dcaputo-harmoni And why is docker compose there? I also see that you are the owner of the repository

helm charts for k8s are very different from docker-compose. You should probably start with https://open-balena.pages.dev/getting-started/