07-31-2023 10:25 AM
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
08-01-2023 10:32 AM
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...
07-31-2023 11:08 AM
@angelborroy @abhinavmishra14 can anyone please assist with the issue I have below
07-31-2023 11:59 AM
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/
07-31-2023 12:44 PM
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.
07-31-2023 12:51 PM
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,
07-31-2023 01:05 PM
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
07-31-2023 01:46 PM
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
08-01-2023 07:41 AM
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,
08-01-2023 10:32 AM
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...
08-02-2023 06:27 AM
Thanks for the response @abhinavmishra14 I appreciate it.
Explore our Alfresco products with the links below. Use labels to filter content by product module.