<?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 Problem with Users when Importing Alfresco Repository in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-users-when-importing-alfresco-repository/m-p/14318#M6175</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We're using Alfresco 1.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We wish to reuse a standard set of test data (documents + metadata) for every developer and between versions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To export the data, I attempted to back up the source alf_data and performed a mysql dump of the alfresco database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The target is a clean deployment of Alfresco with no documents or added users. I then reversed the export process for the import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Copied across the backed up alf_data&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and loaded the mysql dump into the target database&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Searching and retrieving documents appears to work without a problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Users do not seem to be transferred across to the target database however.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;e.g.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;using &lt;/SPAN&gt;&lt;A href="http://localhost:8080/alfresco/faces/jsp/users/users.jsp" rel="nofollow noopener noreferrer"&gt;http://localhost:8080/alfresco/faces/jsp/users/users.jsp&lt;/A&gt;&lt;SPAN&gt; to view the list of users only displays the default Admin user and we get error occuring on create user or delete user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you then log out and try to login again with the admin user, the following error is recieved:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;HTTP Status 500 -&lt;BR /&gt;&lt;BR /&gt;type Exception report&lt;BR /&gt;&lt;BR /&gt;message&lt;BR /&gt;&lt;BR /&gt;description The server encountered an internal error () that prevented it from fulfilling this request.&lt;BR /&gt;&lt;BR /&gt;exception&lt;BR /&gt;&lt;BR /&gt;org.alfresco.repo.security.authentication.AuthenticationException: Could not find user by userName: admin&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.setCurrentUser(AbstractAuthenticationComponent.java:84)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.repo.security.authentication.AuthenticationServiceImpl.validate(AuthenticationServiceImpl.java:111)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;java.lang.reflect.Method.invoke(Method.java:585)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:155)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:122)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:57)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:144)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:174)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;$Proxy19.validate(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.app.servlet.AuthenticationHelper.authenticate(AuthenticationHelper.java:66)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.app.servlet.AuthenticationFilter.doFilter(AuthenticationFilter.java:67)&lt;BR /&gt;&lt;BR /&gt;note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It would appear this is because the user information becomes out of sync when transferring data.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to either:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;UL&gt;&lt;STRONG&gt;Cleanly transfer users? OR&lt;BR /&gt;Isolate users from being affected by the import process?&lt;/STRONG&gt;&lt;/UL&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate that this will be something that is looked at in Alfresco 1.3, but our development effectiveness is currently hindered by not being able to quickly establish a test set of data to work with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lakhdip&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Mar 2006 17:54:13 GMT</pubDate>
    <dc:creator>lnagra</dc:creator>
    <dc:date>2006-03-15T17:54:13Z</dc:date>
    <item>
      <title>Problem with Users when Importing Alfresco Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-users-when-importing-alfresco-repository/m-p/14318#M6175</link>
      <description>Hi,We're using Alfresco 1.1We wish to reuse a standard set of test data (documents + metadata) for every developer and between versions.To export the data, I attempted to back up the source alf_data and performed a mysql dump of the alfresco database.The target is a clean deployment of Alfresco with</description>
      <pubDate>Wed, 15 Mar 2006 17:54:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-users-when-importing-alfresco-repository/m-p/14318#M6175</guid>
      <dc:creator>lnagra</dc:creator>
      <dc:date>2006-03-15T17:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Users when Importing Alfresco Repository</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problem-with-users-when-importing-alfresco-repository/m-p/14319#M6176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you performed a full database export/import then users will be transferred.&amp;nbsp; Ensure your repository.properties on your destination alfresco point to your new imported database and copied alf_data directory.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Mar 2006 18:16:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problem-with-users-when-importing-alfresco-repository/m-p/14319#M6176</guid>
      <dc:creator>davidc</dc:creator>
      <dc:date>2006-03-17T18:16:11Z</dc:date>
    </item>
  </channel>
</rss>

