-
Notifications
You must be signed in to change notification settings - Fork 22
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
Comments
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. |
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. |
I think i have been able to fix that issue by adding But i am pretty sure open-balena-admin has further problems with the new open balena update |
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. 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 . |
@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. |
I finnally got around again to trying to upgrade. It does look like my issue might be unrelated?
I am assuming there might be a difference how openbalena 2024 manages users, but honestly not sure. Edit: and looking hrough the helms commits, i cant see anything related to the issue |
@giuseppe443 thanks for the notes, I am planning to upgrade openbalena to latest in the next few weeks, will post any changes to these repos necessary to support it after that process is complete. |
After fixing the database connection (above and here) and addressing the "Not Found" message (environment variable Based on the previous messages, it looks like the dashboard is visible, although with reduced functionality. Is that correct, or did I misunderstand something? Just to be able to use the tool while waiting for a permanent solution. In case it can be useful, my console message under the blank page
Thanks! |
alright i might have been able to reproduce this error, did you by any chance forget to add the v in config/activate? and not
(not sure if thats your api version) |
Hi @giuseppe443, thanks to quick reply. You're right, I have With the correct notation (including Now I can see the dashboard pages, but they have no content, and I always get a "fetch failed" toast message. Is this correct, or is there another issue I can fix on my own to at least view the status of the devices or services while waiting for a proper version of Open-Balena-Admin? UPDATE: In chrome console i show error related to resolution of name http://postgrest.mydomain.local:8000/device?limit=10&offset=0&order=id.asc net::ERR_NAME_NOT_RESOLVED So probably i misconfigure something. Thank you so much! |
check the logs of the postgrest container to see if its able to connect to the openbalena-db container. then go to Then restart openbalena-admin and it should now work |
Hi @giuseppe443 I realized later that it was the browser that couldn't resolve that address, so I had to add it to the client's hosts file. Now I'm getting another error: a toast with message Looking inside the container (
Thank you |
Cant say i have seen this problem before. Did you do a fresh install of openbalena v4.* or an update from an older version?
I have found the problem and the solution. I havent created a PR because i am not sure if this is a problem of my own creation or not. i did a quick and dirty modification and it works like this
|
I installed openbalena first time last month with version 4.1.311
I don't find your pull request so i don't understand how to fix (quick and dirty :-D ) this piece of code
I try this without success
Thanks. |
ah sorry, that part of the comment was a different topic. not sure if it will help with your problem. But you can sure try it, its suppost to replace line 110 |
Hi @giuseppe443 I don't think I quite understand what change I should try. Could you be more specific by telling me exactly where I need to make the modification and what I need to change? Maybe you could post the original piece of code and the modified one, just like I did. Thanks! |
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?
The text was updated successfully, but these errors were encountered: