Published Date: December 15, 2023
Audience: Everyone
Products and Versions Covered:
Jama Connect®
- Self-hosted, Replicated - KOTS
Summary
Sometimes, the tenant state needs to be reset. These steps can be tried if you see:
- tenant-manager pods are continuously being created and repeatedly crashing
- The Admin Console reports that the application is "Unavailable."
- The core-0 pod is showing running but not ready.
Last line in logs org.apache.catalina.startup.Catalina.start Server startup in [54810] milliseconds
Resolution
On the database server
Truncate the tenantstate table in the jama database
truncate table jama.tenantstate;Check that tenantstate has no rows
select * from jama.tenantstate;On the application server
Remove the tenant configuration files from the core pod and delete the tenant manager job and the related statefulsets
kubectl exec core-0 -- sh -c 'rm -rf /home/contour/tenant_properties /home/contour/tenant.properties /home/contour/setup.properties /home/contour/services.properties /home/contour/node.properties /home/contour/database.properties'
kubectl delete job/tenant-manager
kubectl delete sts/hazelcast sts/activemq sts/coreRedeploy the application from the KOTS Admin Console.
Additional Resources
- Success Programs
- Success Catalog
- Datasheets
- Request a Solution Offering or Training from the Success Catalog
Feedback:
We welcome your input! Please sign in to leave any comments, suggestions, or improvement ideas below.
Comments
0 comments
Please sign in to leave a comment.