cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 6.2.2 share can't upload a .msg file. It gives a "Failure: parameters are missing" error.

lancestine
Champ in-the-making
Champ in-the-making

Alfresco 6.2.2 share can't upload a .msg file. It gives a "Failure: parameters are missing" error. This is occurring when the file is uploaded through the normal upload windows in the share website. There is not an error in the logs for this. I've attached a screen shot of the error below.

Is there a way to have this error appear in the logs at least?

image

8 REPLIES 8

abhinavmishra14
World-Class Innovator
World-Class Innovator

Did you reviewed the logs? 

It will be helpful for the folks here if you can post share.log, alfresco.log and catalina.out log, so that it can be reviewed.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

This is what the alfresco.log has for this upload:

WARN http-nio-8080-exec-3 org.springframework.extensions.webscripts.servlet.FormData - Failed to get content: /profile/alfresco/tomcat/temp/upload_623c66fa_520f_4a30_81b1_719d101c77ba_00000179.tmp (Operation not permitted)

The share.log and catalina.log files has nothing for the uplaod.

Still not helpful to figureout the error unless you share the full log.

can you also enable following log and see if you could spot something 

#Transaction specific logs

log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=DEBUG

#Solr specific logs

log4j.logger.org.alfresco.solr.query.AbstractQParser=DEBUG

log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=DEBUG

#Metadata extractor

log4j.logger.org.alfresco.repo.content.metadata.AbstractMappingMetadataExtracter=DEBUG


@lancestine wrote:

This is what the alfresco.log has for this upload:

WARN http-nio-8080-exec-3 org.springframework.extensions.webscripts.servlet.FormData - Failed to get content: /profile/alfresco/tomcat/temp/upload_623c66fa_520f_4a30_81b1_719d101c77ba_00000179.tmp (Operation not permitted)

The share.log and catalina.log files has nothing for the uplaod.


~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Did you see that my question was "Is there a way to have this error appear in the logs at least?". That's why I'm not posting the full logs. There isn't anything there.

Yes i saw that, and that's why i have requested you to enable to additional logs if you see the previous response @lancestine . And when i say full logs, sometimes an issue is caused by some other issue and having the full log allow reviewing all those. If you are enterprise user, utilize the alfresco support as well if that helps.

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

After adding the log settings above the logs say nothing different. Only the warning about the temp file is logged. There isn't any debug level activity surrounding it. I looked in the alfresco, share, and catalina logs.

That's strange, this log config 

log4j.logger.org.alfresco.repo.transaction.RetryingTransactionHelper=DEBUG

usually enables for every single transactional activity. 

I am not sure why you are not seeing anything. 

Hope you have the log config file at the path example:

$ALF_INSTALL_PATH/tomcat/shared/classes/alfresco/extension/custom-log4j.properties

here is a sample: https://github.com/abhinavmishra14/alfresco62ga-solr-dist-setup/blob/master/linux-platform/alfresco-...

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Here is a little more from the logs:

2022-03-18 02:46:02,514 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.servlet.WebScriptServletRequest - Content Type: multipart/form-data

2022-03-18 02:46:02,514 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.WebScriptRequestImpl - Converting request (mimetype: multipart/form-data) to org.springframework.extensions.webscripts.servlet.FormData

2022-03-18 02:46:02,514 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractRuntime - Agent: null

2022-03-18 02:46:02,550 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractRuntime - Invoking Web Script org/alfresco/repository/upload/upload.post (format json, style: any, default: json)

2022-03-18 02:46:02,568 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.DeclarativeWebScript - Executing script classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js

2022-03-18 02:46:02,697 WARN http-nio-8080-exec-6 org.springframework.extensions.webscripts.servlet.FormData - Failed to get content: /profile/alfresco/tomcat/temp/upload_98115f12_3fde_4a99_b5ed_80d524c2b659_00000147.tmp (Operation not permitted)

2022-03-18 02:46:02,699 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractWebScript - Executed script classpath*:alfresco/templates/webscripts/org/alfresco/repository/upload/upload.post.js in 129.80956ms

2022-03-18 02:46:02,700 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractWebScript - Force success status header in response: false

2022-03-18 02:46:02,700 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractWebScript - Sending status 400 (Template: /json.status.ftl)

2022-03-18 02:46:02,700 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractWebScript - Rendering response: content type=application/json

2022-03-18 02:46:02,700 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.servlet.WebScriptServletResponse - Cache - set response header Cache-Control: no-cache

2022-03-18 02:46:02,700 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.servlet.WebScriptServletResponse - Cache - set response header Pragma: no-cache

2022-03-18 02:46:02,712 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractWebScript - Rendered template /json.status.ftl in 11.956479ms

2022-03-18 02:46:02,714 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractRuntime - Web Script org/alfresco/repository/upload/upload.post executed in 199.65463ms

2022-03-18 02:46:02,714 DEBUG http-nio-8080-exec-6 org.springframework.extensions.webscripts.AbstractRuntime - Processed script url (POST) /api/upload in 200.12761ms