cancel
Showing results for 
Search instead for 
Did you mean: 

can not delete version using version service

nhinguyen
Champ in-the-making
Champ in-the-making
Hi all,
I'm using version service to delete the version.
I'm getting the error:
org.alfresco.repo.security.permissions.AccessDeniedException: 11270200 Access Denied.  The system is currently in read-only mode.
   at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:57)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:225)
….

If the system is in read-only mode, why I can create the document, create the new version, delete the document…. but not for delete version.
The alfresco version is 3.4.0 (and 4.0 community)
Thanks
2 REPLIES 2

sujaypillai
Confirmed Champ
Confirmed Champ
Hi Nhinguyen,

Are you currently using Enterprise version? If yes, then the error is due to an expired/no license.

If no, can you please paste the log when you give a start to Alfresco.


Thanks,

mitpatoliya
Star Collaborator
Star Collaborator
If you are using the trail version and license got expired it will show up in your logs during startup of alfresco.
Also if that is the case you will not be allowed to create new content.

So,If you are able to do other operations and problem is just with versioning license is not an issue.
Also if you are using any java code for this then you should set the user as system or admin before using APIs of delete.