cancel
Showing results for 
Search instead for 
Did you mean: 

Error while uploading Files

bisana
Champ on-the-rise
Champ on-the-rise
HI
My Alfresco is throwing error while uploading the documents, it was working fine,  I think it started happening after I changed some properties of  Custom document types,
Advice requested


2012-06-18 12:04:43,432  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-18] Exception from executeScript - redirecting to status template error: 05180002 Unexpected error occurred during upload of new content.
org.springframework.extensions.webscripts.WebScriptException: 05180002 Unexpected error occurred during upload of new content.
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:956)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:400)
        at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:462)
        at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(Repo




       at java.lang.Thread.run(Thread.java:662)
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 05180100 Failed to create directory for file storage: /opt/multitypes/alf_data/contentstore/2012/6/18/12/4
        at org.alfresco.repo.content.filestore.FileContentStore.makeDirectory(FileContentStore.java:281)
        at org.alfresco.repo.content.filestore.FileContentStore.createNewFile(FileContentStore.java:227)
        at org.alfresco.repo.content.filestore.FileContentStore.createNewFile(FileContentStore.java:195)
        at org.alfresco.repo.content.filestore.FileContentStore.getWriterInternal(FileContentStore.java:493)
        at org.alfresco.repo.content.AbstractContentStore.getWriter(AbstractContentStore.java:236)
        at org.alfresco.repo.content.ContentServiceImpl.getWriter(ContentServiceImpl.java:478)




     … 25 more
2012-06-18 12:05:28,744  ERROR [extensions.webscripts.AbstractRuntime] [http-8080-50] Exception from executeScript - redirecting to status template error: 05180003 Unexpected error occurred during upload of new content.
org.springframework.extensions.webscripts.WebScriptException: 05180003 Unexpected error occurred during upload of new content.
        at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:956)
        at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
        at org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:400)

4 REPLIES 4

bisana
Champ on-the-rise
Champ on-the-rise
Also when I create a  a new site it is throwing error

Internal Error
05180007 Wrapped Exception (with status template): 05180217 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/preference/preferences.post.json.js': 05180216 Failed to create directory for file storage: /opt/multitypes/alf_data/contentstore/2012/6/18/12/17

mitpatoliya
Star Collaborator
Star Collaborator
there are two possible issues.
As per log it is facing problem while creating the binary content inside alf_data so check for the permission on that location.
Or else check for disk space there should be enough space available.

bisana
Champ on-the-rise
Champ on-the-rise
Thanks , it was permission problem
I solved it
Thanks
Joseph John

prashidhashrest
Confirmed Champ
Confirmed Champ

Hello Bisana,

Could you please explain how you solved the permission problem.

Thanks in advance.