<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Importing a Tenant ... in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263923#M217053</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have made some step ahead but got stuck again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I have to say I faced another issue before getting this one: missing model (dynamically deployed in tenant Data Dictionary). I "solved" that one by loading the model from the classpath (just for the import to succeed). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Than I got the post error "Invalid storeRef" and, after a little debugging, I found that the storef being created in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MultiTAdminServiceImpl.bootstrapVersionTenantStore(ImporterBootstrap userImporterBootstrap, String tenantDomain, char[] tenantAdminRawPassword)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;was the lightVersionStore while in the "tenant"_version2.acp I have only references to version2Store, so I changed the line &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bootstrapStoreRef = new StoreRef(bootstrapStoreRef.getProtocol(), tenantService.getName(bootstrapStoreRef.getIdentifier(), tenantDomain));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bootstrapStoreRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, tenantService.getName(STORE_BASE_ID_VERSION2, tenantDomain));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I managed to go ahead this issue. Now I'm stuck at the next acp (the spacesStore one, which weights 21G) where the import fails at this line &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zipFile = new ZipFile(file, "UTF-8");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACPImportPackageHandler.startImport()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with the following exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"central directory is empty, can't expand corrupt archive."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any idea how to get over this one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Jul 2013 15:38:15 GMT</pubDate>
    <dc:creator>eureka</dc:creator>
    <dc:date>2013-07-01T15:38:15Z</dc:date>
    <item>
      <title>Importing a Tenant ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263921#M217051</link>
      <description>Hey guys, I'm having troubles trying to do this on my company.1. Install Alfresco 4.0.e (OK).2. Export a tenant from my working repository Alfresco 4.0.d (OK)3. Enable MT in Alfresco 4.0.e (OK)4. Restart Alfresco 4.0.e (OK)5. Access to the MT Admin Console in the 4.0.e repository (OK)6. Import tenan</description>
      <pubDate>Mon, 24 Sep 2012 22:43:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263921#M217051</guid>
      <dc:creator>darkmstr</dc:creator>
      <dc:date>2012-09-24T22:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a Tenant ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263922#M217052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the exact same issue (same alfresco version). Did you maaged to solve this? &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 08:37:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263922#M217052</guid>
      <dc:creator>eureka</dc:creator>
      <dc:date>2013-07-01T08:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Importing a Tenant ...</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263923#M217053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have made some step ahead but got stuck again. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First I have to say I faced another issue before getting this one: missing model (dynamically deployed in tenant Data Dictionary). I "solved" that one by loading the model from the classpath (just for the import to succeed). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Than I got the post error "Invalid storeRef" and, after a little debugging, I found that the storef being created in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MultiTAdminServiceImpl.bootstrapVersionTenantStore(ImporterBootstrap userImporterBootstrap, String tenantDomain, char[] tenantAdminRawPassword)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;was the lightVersionStore while in the "tenant"_version2.acp I have only references to version2Store, so I changed the line &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bootstrapStoreRef = new StoreRef(bootstrapStoreRef.getProtocol(), tenantService.getName(bootstrapStoreRef.getIdentifier(), tenantDomain));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bootstrapStoreRef = new StoreRef(StoreRef.PROTOCOL_WORKSPACE, tenantService.getName(STORE_BASE_ID_VERSION2, tenantDomain));&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I managed to go ahead this issue. Now I'm stuck at the next acp (the spacesStore one, which weights 21G) where the import fails at this line &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;zipFile = new ZipFile(file, "UTF-8");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ACPImportPackageHandler.startImport()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;with the following exception&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"central directory is empty, can't expand corrupt archive."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any idea how to get over this one? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Angelo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Jul 2013 15:38:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/importing-a-tenant/m-p/263923#M217053</guid>
      <dc:creator>eureka</dc:creator>
      <dc:date>2013-07-01T15:38:15Z</dc:date>
    </item>
  </channel>
</rss>

