cancel
Showing results for 
Search instead for 
Did you mean: 

Take Ownership

dnguyen
Champ in-the-making
Champ in-the-making
Hello,

I have a user that left the company so we deleted his account, but when I login as admin and try to do 'Take Ownership' of the files that he uploaded, I get this error


"A system error happened during the operation: Non-unique path: found : /app:company_home/app:user_homes 0"


Can someone please tell me how can I fix it ?  I am using version 3.2r

Thank You
5 REPLIES 5

afaust
Legendary Innovator
Legendary Innovator
Hello,

it appears that taking ownership triggers a lazy re-creation of the user account that was deleted, which in turn causes the home folder to be created anew, conflicting with the already existing (undeleted) user home of the old user.

1) Consider migrating to a current Alfresco version - chances are, this issue may be fixed already since 3.2r was a long time ago
2) Short-term workaround: delete the old user home of the deleted user before attempting to take ownership - then this conflict should not occur, although you'll be left with a new person object in the system (nobody should be able to login with this, unless you set a password)

Regards
Axel

dnguyen
Champ in-the-making
Champ in-the-making
Hello Axel,

Thank You for replying to my question.  Where is the user home folder ?  I login as admin and can't find his folder any where.  I don't even see 'Users Home' folder.  Do I have to write a javascript to delete it ?  If I do, do you have a sample of the script I can take a look ?

Thank You again for your help.

afaust
Legendary Innovator
Legendary Innovator
Hello,

user home should be within company home, but it joined the Alfresco community after 3.2r, so it may have been different way back then… You shouldn't need to use a script to delete the specific user home.

Regards
Axel

dnguyen
Champ in-the-making
Champ in-the-making
Hello Axel,

I looked under company home and I can't find his user home, I also looked in all the folders under company home and still can't find it.  Is there another way to find it ?

Thanks again.

afaust
Legendary Innovator
Legendary Innovator
Hello,

other than Lucene search or admin console, I wouldn't know. Have you checked the repository.properties / alfresco-global.properties and / or context XMLs for the base path to the user homes container?

Regards
Axel