cancel
Showing results for 
Search instead for 
Did you mean: 

Refreshing Alfresco Installation/Cleaning up Alfresco

loshmeey
Champ in-the-making
Champ in-the-making
Hello everyone,

i am having trouble with cleaning/refreshing alfresco repository. I basically need to return the whole repository to the state it was after alfresco was installed.

I have found a forum thread that gives the steps to refresh the installation. The steps i am following are:

1. Stop Tomcat
2. Drop database
3. Re-create the database
4. Remove everything from alf-data
6. Restart tomcat.

The problems i am having are the following:

1. If i remove everything from alf-data, i cannot start postgres. I can fix this by putting the postgres folder back in,
2. Tomcat keeps throwing file not found exceptions for different files and folders that used to be in alf-data.
3. Also if i put everything back in i get solr exceptions and i cannot log in to alfresco since there are no users in the new db.

Is there any other way to do this, or am i missing something?

Thanks in advance!
2 REPLIES 2

kavilash23
Champ on-the-rise
Champ on-the-rise
Hi,

Try the following

1. Stop Tomcat
2. Drop database
3. Re-create the database
4. Delete everything from contentstore and contentstore.deleted
5. Delete archive and workspace folder from solr folder
6. Delete cached content model data at ../solr/archive-SpacesStore/alfrescoModels/*
7. Delete cached content model data at ../solr/workspace-SpacesStore/alfrescoModels/*
8. Delete everything from ../tomcat/work/*
9. Delete everything from ../tomcat/temp/*
10. Restart tomcat and use the username/password you used when you initially installed the alfresco application.

Hope this works for you.

loshmeey
Champ in-the-making
Champ in-the-making
It works perfectly. Thanks Kavi!

Regards,
Milos