Hi Team,
Every time i start docker based APS , system is in read only mode.
Have to upload license file from UI every time.
How to upload license in docker based APS setup.
During start-up it also gives below error for license:
sdk-setup-aps_1 | 11:22:28 [main] INFO com.alfresco.license.LicenseHolder - Using custom license loader to load license sdk-setup-aps_1 | 11:22:28 [main] INFO com.alfresco.license.LicenseHolder - Trying to load license from user home /home/alfresco/.activiti/enterprise-license/activiti.lic sdk-setup-aps_1 | 11:22:28 [main] INFO com.alfresco.license.LicenseHolder - Last fallback, trying to load license from the classpath sdk-setup-aps_1 | 11:22:28 [main] ERROR com.alfresco.license.LicenseHolder - License file could not be validated: sdk-setup-aps_1 | com.alfresco.license.LicenseNotFoundException: No license could be found sdk-setup-aps_1 | at com.alfresco.license.LicenseHolder.getLicense(LicenseHolder.java:234) sdk-setup-aps_1 | at com.alfresco.license.LicenseHolder.isLicenseValid(LicenseHolder.java:71)
I have uploaded license file in /usr/local/tomcat/lib directory,but it's not picking it up from there.
As per error logs, it is trying to find from the /home/alfresco/.... directory, i have tried to create .activiti directory but it gives permission denied error.
Thanks,
Hardik Thakkar
Build your own Docker image and put the license.lic in this path:
/home/alfresco/.activiti/enterprise-license/activiti.lic
To build your own Docker image you can use one of my following APS archetypes:
https://github.com/OpenPj/alfresco-process-services-docker-deployment
or
https://github.com/OpenPj/alfresco-process-services-project-sdk
If you need to implement your own extensions.
Hope this helps
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.