While trying to do complete repository export this error occurs:
Failed to execute export: org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not load an entity: [org.alfresco.repo.domain.hibernate.VersionCountImpl#component[protocol,identifier]{protocol=user, identifier=alfrescoUserStore}]; uncategorized SQLException for SQL [select versioncou0_.protocol as protocol7_0_, versioncou0_.identifier as identifier7_0_, versioncou0_.version_count as version3_7_0_ from version_count versioncou0_ where versioncou0_.protocol=? and versioncou0_.identifier=? for update]; SQL state [41000]; error code [1205]; Lock wait timeout exceeded; try restarting transaction; nested exception is java.sql.SQLException: Lock wait timeout exceeded; try restarting transaction