cancel
Showing results for 
Search instead for 
Did you mean: 

Help with deploying our application - Really important!!!

shlomi
Champ in-the-making
Champ in-the-making
Hello, please read and help me out with this issue..

We have configured alfresco to reflect our application, and would like to deploy a fresh installation to a client.

The application also consists of a certain structure of spaces, users and groups, with rules and custom scripts.

In our development env, we have added and removed files, to test the application, and we would like to deliver the application with an empty repository, yet a fully customized one (as described above).

I have removed all files (and permanently removed them from the console too), but our "empty" repository is 2 gb (!!!) :shock:  :shock:

How can I reduce the size of the repository? this is waaaaay too much for an empty one..

Please help me out here, this is sooo important, i have got my bosses all stressed and pissed with me here..  :evil: and I have to deliver a cd for the installation (not a dvd…) in the next few days..

ANY HELP IS APPRECIATED!!

Good day,
Shlomi
5 REPLIES 5

mikeh
Star Contributor
Star Contributor
It depends where the space is being used up - which folders are taking up all the space?

Did you try removing the indexes and rebuilding them?

Thanks,
Mike

davidc
Star Contributor
Star Contributor
You ought to extract your custom configuration into XML files.  That way, you can alter the Alfresco bootstrap process to import them on startup.  That means, you can destroy your repository store (db & file system) and install your app onto any fresh db and file system.

It also means you can apply source code control to all of your application artifacts.

One option is to perform a full export and restore.

shlomi
Champ in-the-making
Champ in-the-making
You ought to extract your custom configuration into XML files. …
davidc, could you please point me out to where I can learn how to do this process?

It depends where the space is being used up - which folders are taking up all the space?
contentStore is taking up almost 2 gb (though it supposed to be empty), the contentStore.deleted is about 40mb (though I have deleted permanently).
The indexes are only 14 mb..

thanks!
Shlomi

mikef
Champ in-the-making
Champ in-the-making
You have orphaned content in your content store (which is normal). See http://wiki.alfresco.com/wiki/Content_Store_Configuration for details on how content deletion works and how to automatically clean it up.

It also suggest you consider deploying your application as an AMP. This is portable way to package up your appliction and deploy it into another Alfresco instance. See http://wiki.alfresco.com/wiki/AMP_Files

shlomi
Champ in-the-making
Champ in-the-making
Thanks mikef, ill look into the orphaned content..

meanwhile I was trying the follow davidc's comment, and tried the export/import mechanism, only it absolutely doesn't work.. There is an entire thread about it ( http://forums.alfresco.com/viewtopic.php?p=29352&sid=8648a44d13b36e7dc7d20caf017eff08 ), I tried to follow it, but no help.. I get the aspect_root error even when I export and import from exactly the same db schema, version and all.. :cry:

is there any other option ??
I must deploy the repository to the clients (with a new database), and I dont know how to progress.

davidc said something about extracting the xml files and use the bootstrap to import them.. what does this mean? I used the bootstrap to try to import the exported repository, but I dont get the thing about the xml files..

Please help,

Have a great week,
Shlomi