AnsweredAssumed Answered

Problem with Users when Importing Alfresco Repository

Question asked by lnagra on Mar 15, 2006
Latest reply on Mar 17, 2006 by davidc

We're using Alfresco 1.1

We 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 no documents or added users. I then reversed the export process for the import.

Copied across the backed up alf_data
and loaded the mysql dump into the target database

Searching and retrieving documents appears to work without a problem.
Users do not seem to be transferred across to the target database however.

using http://localhost:8080/alfresco/faces/jsp/users/users.jsp to view the list of users only displays the default Admin user and we get error occuring on create user or delete user.

If you then log out and try to login again with the admin user, the following error is recieved:

HTTP Status 500 -

type Exception report


description The server encountered an internal error () that prevented it from fulfilling this request.

exception Could not find user by userName: admin
   sun.reflect.GeneratedMethodAccessor236.invoke(Unknown Source)
   $Proxy19.validate(Unknown Source)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.15 logs.

It would appear this is because the user information becomes out of sync when transferring data.

Is it possible to either:

    Cleanly transfer users? OR
    Isolate users from being affected by the import process?

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.

Kind Regards,