cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco pdf-toolkit IO Error

ejike
Confirmed Champ
Confirmed Champ

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

image

I would be grateful is anyone can give me a guide to resolving this.

Thanks and regards,

Ejike

1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

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...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

11 REPLIES 11

ejike
Confirmed Champ
Confirmed Champ

@angelborroy @abhinavmishra14 can anyone please assist with the issue I have below

abhinavmishra14
World-Class Innovator
World-Class Innovator

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/ 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Hi @abhinavmishra14 

It now works but when it gets to the image below to clean out "tomcat/webapps/alfresco directory", everything becomes "Access denied".

image

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?

imageimage

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.

imageimageimage

This is really confusing, please what could be the issue here?

I look forward to hearing from you.

Thanks

ejike
Confirmed Champ
Confirmed Champ

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,

abhinavmishra14
World-Class Innovator
World-Class Innovator

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...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Thanks for the response @abhinavmishra14 I appreciate it.