cancel
Showing results for 
Search instead for 
Did you mean: 

Tenant import fails

jeto
Champ in-the-making
Champ in-the-making
Both alfresco-community 5.1e (MySQL) and the latest alfresco-one evaluation (PostgreSQL) failed the tenant import. 
Tenant export worked without errors, but import failed with the error below.
The test was done with aflresco consoles (Windoes 8.2):
  http://localhost:8080/alfresco/s/admin/admin-tenantconsole
  http://127.0.0.1:8080/share

Could anyone tell me why the import failed?

1.  create tenant1.com admin /usr/tenantstores/tenant1.com
   admin@tenant1.com/admin
2.  create group1
   create user1/ /user1@google.com/user1/password/group1
3.  create Repository/group1/testdoc1.txt
4.  export tenant1.com d:\\alfresco-doc\backup
   ACP files are generated in D:\alfresco-doc\backup\tenant1.com_*.acp
5.  delete tenant1.com
6.  stop alfrescoTomcat service
7.  delete D:\alfresco-community\alf_data\solr4\content\tenant1.com (tenant-specific index directory?)
8.  delete D:\usr\tenantstores\tenant1.com (tenant-specific content directory?)
9.  start alfrescoTomcat service
10. import tenant1.com d:\\alfresco-doc\backup /usr/tenantstores/tenant1.com

Web Script Status 500 - Internal Error
The Web Script /alfresco/s/admin/admin-tenantconsole has responded with a status of 500 - Internal Error.
   
Exception:   org.alfresco.repo.node.integrity.IntegrityException - 03081804 Found 3 integrity violations:
Mandatory property not set: Node: workspace://@tenant1.com@lightWeightVersionStore/19412204-2993-404c-89ba-9b8212bdb056 Name: testdoc1.txt Type: {http://www.alfresco.org/model/versionstore/2.0}version Property: {http://www.alfresco.org/model/versionstore/2.0}frozenNodeStoreId
Mandatory property not set: Node: workspace://@tenant1.com@lightWeightVersionStore/19412204-2993-404c-89ba-9b8212bdb056 Name: testdoc1.txt Type: {http://www.alfresco.org/model/versionstore/2.0}version Property: {http://www.alfresco.org/model/versionstore/2.0}frozenNodeId
Mandatory property not set: Node: workspace://@tenant1.com@lightWeightVersionStore/19412204-2993-404c-89ba-9b8212bdb056 Name: testdoc1.txt Type: {http://www.alfresco.org/model/versionstore/2.0}version Property: {http://www.alfresco.org/model/versionstore/2.0}frozenNodeStoreProtocol
   
   org.alfresco.repo.node.integrity.IntegrityChecker.checkIntegrity(IntegrityChecker.java:662)
   org.alfresco.repo.node.integrity.IntegrityChecker.beforeCommit(IntegrityChecker.java:764)
   org.alfresco.util.transaction.TransactionSupportUtil$TransactionSynchronizationImpl.beforeCommit(TransactionSupportUtil.java:498)
   org.springframework.transaction.support.TransactionSynchronizationUtils.triggerBeforeCommit(TransactionSynchronizationUtils.java:95)
   org.springframework.transaction.support.AbstractPlatformTransactionManager.triggerBeforeCommit(AbstractPlatformTransactionManager.java:925)
1 REPLY 1

davidd2go
Champ on-the-rise
Champ on-the-rise

Hi jeto _

I have similar problems when trying to import a tenant from 51g to 51g.

Were you ever able to solve this?

Regards,

David