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

Does this support OpenBalena v4.1.x? #42

Open
alekbless opened this issue Oct 4, 2024 · 6 comments
Open

Does this support OpenBalena v4.1.x? #42

alekbless opened this issue Oct 4, 2024 · 6 comments

Comments

@alekbless
Copy link

I just tried setting up open-balena-admin to test this nice looking, and helpful software.

When accessing :8080 after all containers started, connected to PostgreSQL DB, i'am returned with: Not Found

Blank page with Not Found.

Using latest OpenBalena. Any suggestions on where to start debugging?

@brydenver2
Copy link

I am hoping the dev replies, but I have found that the issue with the NotFound has to do with the REACT_APP_BANNER_IMAGE env variable. I added an image but I believe the resolution is wrong as I just get a blank screen. I think, the banner image that is in the container was some how corrupted or missing for a default.

@brydenver2
Copy link

Actually after digging into the UI docker image I believe it is looking for the API version tag but it does not exist for API v30. I'm looking into the coding for the versions to see if any changes need to be made or if we can just you the last listed version.

@giuseppe443
Copy link

giuseppe443 commented Nov 6, 2024

I am hoping the dev replies, but I have found that the issue with the NotFound has to do with the REACT_APP_BANNER_IMAGE env variable. I added an image but I believe the resolution is wrong as I just get a blank screen. I think, the banner image that is in the container was some how corrupted or missing for a default.

I think i have been able to fix that issue by adding
REACT_APP_BANNER_IMAGE: ./banner_illustration.svg
to the ui container in compose/services.yml right under the other values in environment:.

But i am pretty sure open-balena-admin has further problems with the new open balena update

@brydenver2
Copy link

I believe your right, i tried that and setting the API version to 0.185.0 and still no UI. Have you been able to get a version of open-balena working with Admin?

@giuseppe443
Copy link

I believe your right, i tried that and setting the API version to 0.185.0 and still no UI. Have you been able to get a version of open-balena working with Admin?

Kinda, not 100% functionality but some of it. If i remeber right the only fixes i needed to do was the banner image thing, and further down in the services.yml was give the postgrest container the docker IP of the db container from openbalena.
So instead of
@db.${OPENBALENA_HOST_NAME}
i had to replace that with the docker IP openbalena_db.

Although this worked to give somewhat functionality, thev ssh from the web portal wouldnt work. I assume there have been some changes to how openbalena manages users .
I have since decided to revert to old openbalena version and just wait and see if this will get any updates

@dcaputo-harmoni
Copy link
Owner

@giuseppe443 @alekbless apologies for the delay in jumping in here - there have been a lot of updates to the open-balena-admin app since those docker scripts were built. The primary method of deploying it is in kubernetes via helm, and I've been keeping those up to date. If you look at the commit logs of the various open-balena-admin components (ui, postgres, remote) you should see the environment variables / other configuration items that have been added, and I would welcome any PR's to keep those docker scripts updated. Otherwise I'm sure I'll get around to this at some point, it's just not a focus at the moment.

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