Refreshing Alfresco Installation/Cleaning up Alfresco

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2014 12:49 PM
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!
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!
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2014 03:49 AM
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.
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2014 05:20 AM
It works perfectly. Thanks Kavi!
Regards,
Milos
Regards,
Milos
