Technical Articles
✅How to fix: “n Configuration issues. Show More Information” BTP HTML5 Repository
“n Configuration Issues. Show More Information” is a common error I see customers face while using the HTML5 Application Repository. Here’s how to resolve it.
How to Fix
step zero
At the time of writing, there’s no way to resolve this issue from the UI itself, so we’ll need to use the cloud foundry cli and the cf-html5-apps-repo-cli-plugin. If you don’t want to install these tools locally or don’t have permission to install these tools on your company computer, we can use business application studio instead. The steps are the same regardless. If you don’t know what either of these are, borrow a developer who is working on your ui5 applications as they will.
Before we start save the output of our error.
step one
Log into the correct cloud foundry organization. If you aren’t sure what API_URL to use you find it it under the Overview page of your Subaccount under > Cloud Foundry Environment > API Endpoint.
Example:
cf l -a https://api.cf.eu10.hana.ondemand.com
All options:
cf login [-a API_URL] [-u USERNAME] [-p PASSWORD] [-o ORG] [-s SPACE] [--sso | --sso-passcode PASSCODE] [--origin ORIGIN]
Now we can start to look for the missing applications.
step two
Run the following command:
cf html5-list
Look for the entries under the app-host-id column that match the ID’s that the HTML5 Repository is complaining about. For now we’re looking for html5-apps-repo instance ID’s not the destination ID. You’ll also notice that the problematic entries are missing name, version and visibility so they are easy to spot if your list of apps is long.
step three
Write down the value from the ‘service-instance‘ column. You may need it later in case the following command deletes the repo service but not the corresponding destination service.
Run the following command for each affected app-host-id. This will try to delete both the associated destination and the repo service. I’ve found recently that this command does not work in all cases, so if you still see errors, go to step four.
cf html5-delete -d <app-host-id>
step four
Take note of the service instance name column and find the matching service in cloud foundry. You’ll find it under Cloud Foundry > Spaces > <select the correct space> > Instances.
If you aren’t sure if you’re correct, run the following command and compare it to the destination ID in the error of the HTML5 Repository.
cf service <service-name> --guid
After you remove each affected html5-repo service and corresponding destination service, the error messages should be resolved.
Root Cause
This issue is caused by incorrect deployment to the HTML5 Application Repository. Either there was a mistake in the repo service, destination service, or there was a problem with the content that was ultimately deployed to the repo. If you’re a developer the main thing to remember is if you try to deploy an application that fails or partially fails, the best thing to do is undeploy the associated services right after so that the destination and repo service instance are removed and don’t cause this problem.