cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Permanent SItes in Share

johnpelquingua
Champ in-the-making
Champ in-the-making
Hi All,

I want to add a Permanent Site in Share and the thing is when I run my Alfresco Share it
automatically deletes my site so I have to create another one.

I am developing a Project using:

Maven 3.0.5
Java 1.7
Eclipse with Maven Plugin
Git for Repository

Best Regards,
8 REPLIES 8

rjohnson
Star Contributor
Star Contributor
How are you creating your site? I create sites every day and they are "permanent"

Bob Johnson

Hi rjohnson,

I'm basically developing a project that will consist of 5k+ sites and Im still on the development stage and every time someone
on my team committed a code from Git(git is our repository)and I pulled that code and I start my alfresco all of the sites
I created previously is getting removed. This is the first case.

The second case is what if the whole system restarted will all the sites still be there?

I'm creating sites like any other users ->Sites->Create a Site.


Best Regards,



zladuric
Champ on-the-rise
Champ on-the-rise
Weird, how are you deploying Alfresco?

Sites, once created, are persisted and should not be deleted. Do you see your sites in the Explorer or are they completely gone? Do you have in the Deleted items in backend admin console?

johnpelquingua
Champ in-the-making
Champ in-the-making
Hi Zladuric,

I'm deploying Alfresco using Maven.

This is the command I use to deploy Alfresco: mvn clean install -Prun

Yup they are completely gone and I don't have them on the Deleted items in the backend console.


Best Regards,



rjohnson
Star Contributor
Star Contributor
I have no real experience of Maven, but I suspect that you are overwriting your alf_data directory which is creating a fresh Alfresco install each time you pull and build.

Bob Johnson

That may have been the reason. I'll try and explore that possibility I'll update you if that's really the case.


Best Regards,

If you are running this from Maven then make sure you aren't running the purge profile (-Ppurge on the command line or in your IDE) since that will clean your alf_data directory and wipe the DB.

Hi eamell,

Thank you very much! Smiley Happy


Kind Regards,