cancel
Showing results for 
Search instead for 
Did you mean: 

Issue after moving alf_data/ContentStore

tierneyja
Champ in-the-making
Champ in-the-making
Not sure if this is the right forum to use, but Installation seems to be the closest forum to use.

After running Alfresco 1.4 for over a year, we started to run out of disk space for the Content Store, so we did the steps listed below.

Afterwards, we cannot change the password of a user (UserId does not exist error) and we cannot delete a UserId (which we tried as a work around for the problem with changing the password).

We are running this on RedHat Linux with MySQL and Tomcat 5.5.  Everything is a standard, basic installation of 1.4.

There are no log errors, just the Red errors in the UI when trying to change password or delete user.

Here are the steps:
1. created a smbfs entry in /etc/fstab for a smb share on another machine with more room to mount to /usr/local/alfresco/alf_data/contentstore
2. mv /usr/local/alfresco/alf_data/contentstore /usr/local/alfresco/alf_data/contentstore.old
3. mkdir /usr/local/alfresco/alf_data/contentstore
4. explicitly defined dir.root as /usr/local/alfresco/alf_data/ in /usr/local/alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties
5. set index.recovery.mode=FULL in repository.properties
6. started alfresco
7. stopped alfresco

Here is the result of ls –l in /usr/local/alfresco/alf_data


total 160
-rw-r–r–  1 root root 124852 Dec 10 11:43 alfresco.log
drwxr-xr-x  2 root root   4096 Jul  2 16:00 audit.contentstore
drwxr-xr-x  7 root root   4096 Dec 10 03:00 backup-lucene-indexes
drwxr-xr-x  4 root root   4096 Dec 10 11:12 contentstore
drwxr-xr-x  3 root root   4096 Nov 20 04:00 contentstore.deleted
drwxr-xr-x  2 root root   4096 Dec  8 14:23 contentstore.mnt
drwxr-xr-x  2 root root   4096 Feb  6  2007 hsql_data
drwxr-xr-x  7 root root   4096 Dec 10 12:03 lucene-indexes
drwxr-xr-x  7 root root   4096 Jul  2 17:31 lucene-indexes.bkp

Is it possible that the change we made is entirely unrelated?
Thanks!,
Jim
1 REPLY 1

tierneyja
Champ in-the-making
Champ in-the-making
We had some success today and were able to delete userIds and re-add them.  Once re-added everything seems to work fine.  We still do not understand how moving the Content Store would do this, but maybe everything was not 100% shutdown before the move???
Jim