Cannot add licenses to new Appneta OnPrem install
search cancel

Cannot add licenses to new Appneta OnPrem install

book

Article ID: 279778

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction

We have just installed Appneta OnPrem 16.7 and when we try to add the licenses we see the following error message.

 


“There was an error while creating your order: Not Found”

 

 

Environment

Appneta OnPrem V35  version 16.7

Cause

Broken API during the install caused the licenses not to be added

Resolution

1. Confirm that the api and api.war both exist.

sudo ls -alh /data/pathview/webui/apache-tomcat/webapps

drwxr-x---  5 pvcadmin pvcadmin 4.0K May  4  2023 .
drwxr-x---  9 pvcadmin pvcadmin 4.0K May  1  2023 ..
drwxr-xr-x  4 pvcadmin pvcadmin 4.0K May  4  2023 api
-rw-r-----  1 pvcadmin pvcadmin  79M Apr 20  2023 api.war
drwxr-x--- 13 pvcadmin pvcadmin 4.0K May  1  2023 pvc
drwxr-x---  3 pvcadmin pvcadmin 4.0K Feb 16 00:00 ROOT

 

2. Workaround to delete the api folder and stop and restart the services.

sudo su
rm -rf /data/pathview/webui/apache-tomcat/webapps/api
systemctl stop apm
systemctl start apm
exit

 

3. Once services restart anything requiring the API should be functional again, so adding licensing is a good way to verify. The easiest verification is to visit the swagger API page, if it loads successfully then the API should be functional.

Additional Information

Problem will be fixed in an upgraded release.