Good day All,
Please I am getting this error when I use "-force" when deploying the AMPs to WAR files using MMT tool. Find below the image
I would be grateful is anyone can give me a guide to resolving this.
Thanks and regards,
Ejike
Solved! Go to Solution.
Did you tried by opening command prompt "Run As Administrator"?
Access denied error comes if local user doesn't have permissions to delete files as obovious. You can skip the cleanup part and do it manually in case command line is causing permission issues.
After amps are installled you need to make sure you delete the exploded war files "alfresco" and "share". Once tomcat restarts the war files will explode again with the applied amps.
I think you did not delete the exploded wars that's why you can't see the module as you mentioned.
Did you also tried installing any other amps to confirm the same whether it is just the pdf-toolkit or local permission issue only.
Alternatively you can also copy the repository amp to <YourAlfrescoInstallationPath>/amps and share amp to <YourAlfrescoInstallationPath>/amps_share
and use the utility 'apply_amps.bat' that comes with out of the box installation to install amps. some details can be found here as well: https://javaworld-abhinav.blogspot.com/2022/05/setup-acs-7-ass-2-and-local-windows.html#apply-amps-a...
@angelborroy @abhinavmishra14 can anyone please assist with the issue I have below
I solved similar errors after upgrading from 5.0.X or 5.1.X to Alfresco 5.2
Can you also include -verbose option in the command after -force and see what output you get?
Also try to run the command prompt as Administrator. Use "Run As Administrator" to open command prompt.
This would may be provide a detailed log about where exactly it is failing.
here is complete detail and options on MMT: https://docs.alfresco.com/content-services/community/install/zip/amp/
It now works but when it gets to the image below to clean out "tomcat/webapps/alfresco directory", everything becomes "Access denied".
Once you press any key to continue, everything after that becomes "access denied".
Please what can i do next.
Hi @abhinavmishra14 ,
I would also want to ask, does the size of the alf_data affect the deployment of the pdf toolkit software?
if the alf_data is very large as per size, would it take a while for the pdf toolkit software to take effect?
I look forward to hearing from you.
regards,
Hi @abhinavmishra14 ,
Based on my comment earlier, the alfresco pdf toolkit has been installed as per the image below but when you click continue to clean out tomcat/webapps/alfresco directory and temporary files, it says "access denied".
Is that the normal process?
I look forward to your response.
Regards
Hi @abhinavmishra14 ,
I applied the "-verbose" command after the "-force" command, please find below the image showing the full detail.
I also checked to see if the pdf-toolkit had deployed by going to the url: "nemedms:8080/share/page/modules/deploy" and it showed that the pdf toolkit had not been deployed.
This is really confusing, please what could be the issue here?
I look forward to hearing from you.
Thanks
Hi @abhinavmishra14 @angelborroy
Please any advise or suggestions based on the images captured below using "-force" and "-verbose".
I look forward to hearing from you.
Regards,
Did you tried by opening command prompt "Run As Administrator"?
Access denied error comes if local user doesn't have permissions to delete files as obovious. You can skip the cleanup part and do it manually in case command line is causing permission issues.
After amps are installled you need to make sure you delete the exploded war files "alfresco" and "share". Once tomcat restarts the war files will explode again with the applied amps.
I think you did not delete the exploded wars that's why you can't see the module as you mentioned.
Did you also tried installing any other amps to confirm the same whether it is just the pdf-toolkit or local permission issue only.
Alternatively you can also copy the repository amp to <YourAlfrescoInstallationPath>/amps and share amp to <YourAlfrescoInstallationPath>/amps_share
and use the utility 'apply_amps.bat' that comes with out of the box installation to install amps. some details can be found here as well: https://javaworld-abhinav.blogspot.com/2022/05/setup-acs-7-ass-2-and-local-windows.html#apply-amps-a...
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
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.