Closed Akhilesh-Anb closed 6 years ago
@Akhilesh-Anb I suggest you create an issue against the source github repo for this as opposed to the admin-ui repo. You refer to https://github.com/orange-cloudfoundry/admin-ui-configurer and that has not been updated with a release since Jun 22, 2017 indicating it is very downlevel.
You might also refer to this prior issue regarding running the admin ui as a CF application: https://github.com/cloudfoundry-incubator/admin-ui/issues/145
Lastly, the logs created by your pushed application should indicate where the admin-ui is failing.
@Akhilesh-Anb I just ran the latest admin ui as a CF app on a bosh-lite deployment of cf-deployment. I did the following on top of the standard instructions in the readme to get it to work:
Realize the stats won't be persisted across restarts since the sqlite DB is created local to the application. I didn't try to tie this in to a separate service.
Hi rboykin,
Thank you so much for the explanation and your response on this. Could you please help me to understand more on 2nd point.
Appreciate your help on this!
Thanks, Akhilesh Appana
@Akhilesh-Anb Within the admin ui code itself, there is the file lib/admin/config.rb. That code does not currently handle using the CF app port for execution as a CF app. After cloning the admin-ui, you have to modify that code, specifically here: https://github.com/cloudfoundry-incubator/admin-ui/blob/master/lib/admin/config.rb#L273
@Akhilesh-Anb I'll add that specific logic in point two to the base code and update the admin ui repo. Give me a bit since I will need to go through a test cycle.
@Akhilesh-Anb Added commit so you no longer have to adapt for point two: https://github.com/cloudfoundry-incubator/admin-ui/commit/0f56d5628926356ac9545359e765b945bbc54126
Hi,
I have hosted admin-ui as application. I'm facing few issues
1) Under stats tab- When i click on create stats, its throwing me an error like "Error saving statistics: Internal Server Error".
2) Components Tab:- I'm not getting the data into this.
Note:- I have followed this to host this as an application (https://github.com/orange-cloudfoundry/admin-ui-configurer)
Appreciate your help/suggestions on this.
Thanks, Akhilesh Appana