-
Notifications
You must be signed in to change notification settings - Fork 24
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
Not able to visit the Admin User Interface, ota-user-profile: System error #105
Comments
@adlingepa About 8 months ago, commit advancedtelematic/ota-plus-server@b03ac42 was introduced. This commit adds a call to userProfileApi within the NoLoginAction. OTA Community Edition does not use the ota-user-profile that I can see; Ota-plus-server does not even define the USER_PROFILE_HOST/PORT environment variables. I was able to bring my Ota-community-edition server up earlier without seeing this error when I connected to app.ota.local. I corrected a few more issues with the environment and now I'm seeing this error. If I figure out why I got past it, I'll let you know. |
ota-plus-server always had a reference to ota-user-profile, see the config. The thing is that, somewhere along the way, ota-plus-server became more dependent on ota-user-profile, to a point where it won't work without it. But ota-user-profile is not part of the CE, hence the problems. I guess one could implement a new |
This issue still persists and keeps coming back every now and then. Not able to open an issue in ota-plus-server repo as well. |
Is there any plan to fix this issue? Thanks. |
Sorry, but I don't think so. To the best of my knowledge, this repo is not actively maintained. |
I got the same issue,do anyone have the solution?thanks! |
I believe a patch like the following would allow the webapp to be used without user-profile, which is a closed source component: https://gist.github.com/simao/3b347729c568c8929422fce57efc222a However, like houcros said this project is not actively maintained, further development will continue at https://github.com/uptane/ota-community-edition Though a web frontend is not supported and the ota ce solution is api based only. |
Where do I apply this patch? I have been trying to use https://github.com/uptane/ota-community-edition and always end up at this error. |
You'll need to apply that patch on the webapp (https://github.com/advancedtelematic/ota-plus-server) build a webpp container, and make ota-community edition use that container. |
Are there any guide to resolve this issue now?
How to use this as web app of OTA CE? |
This project is no longer under active development, you can use https://github.com/uptane/ota-community-edition which doesn't use a web app, or you can apply that patch to webapp yourself. Again, this is not supported, but you can just
Use that image instead of the one included in this repo. If you are just trying ota-ce and see how it works you could try https://github.com/simao/ota-lith there is a |
Thank you for your reply! But the https://github.com/uptane/ota-community-edition has the same issue. Will it be updated? |
See my comments on those projects. |
Thank you very much! Now I can run this branch too. And the web UI can find device with qemu. |
in which project are you having problems with ota-cli? in which projet are you having problems with the web ui creating updates? And what exactly is the error? in which project are you having trouble using ota-cli? ota-cli should be able to be used with both. See https://github.com/simao/ota-lith/blob/master/docs/updates-ota-cli.md |
The web UI of advancedtelematic/ota-community-edition (also the local docker image of advancedtelematic/ota-plus-server) can't create update, the button of 'Create update' is missing. |
Now I can use the web UI to create update. I change the UIFeature to all open in the ota-plus-server. |
@jinlingyi |
I am trying to setup the ostree meta-update yocto build environment and OTA CE server on same VM server machine.
I am able to setup the OTA CE server using make start with docker as minikube driver.
But while trying to access the Admin user interface using http://app.ota.local url, this url is redirected to http://app.ota.local/login page automatically and gives error as "ota-user-profile: System error"
I've check below things while troubleshooting this,
All microservices are running,
tried to accessing via http tool,
Below the browser screenshot,
While checking the logs of application pod, I found some exceptions, which might help you to guide us what going wrong,
Here are the complete logs,
ota-user-profile_system_error.zip
Please help me in troubleshooting this issue.
Thanks ,
Prashant
The text was updated successfully, but these errors were encountered: