cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use my server disk space as the default location for alfresco repository?

samnaction
Champ in-the-making
Champ in-the-making
I installed alfresco in a local machine. Unfortunately the machine has very low disk space of around 50GB. I need to upload documents around 100 GB.I have a server with extra disk space. Can I use this server space for the document upload so that these files will be accessible in alfresco share. Thank you
10 REPLIES 10

abarisone
Star Contributor
Star Contributor
Hi,
surely you can, provided that you correctly modify your alfresco-global.properties pointing to your new server's path and, much more important, you make sure that this alf_data path is always mounted before starting Alfresco.
If this path happens to be unreachable, Alfresco would create the alf_data locally and it might corrupt your system integrity.

Regards,
Andrea

samnaction
Champ in-the-making
Champ in-the-making
do I need to edit
dir.root=C:/Alfresco/alf_data
??

Yes and this must point to the new location.
Remember that it is fine for an empty installation.
If you happen to have uploaded some content, you could face some integrity issues.
You have two choices: backup old alf_data and old_db and restore them on the new installation (remember to rebuild indexes) or abruptly wipe out your old db tables and old alf_data, let Alfresco rebuild them all from scratch and upload your contents again.
The choice it's up to you.

Regards,
Andrea

samnaction
Champ in-the-making
Champ in-the-making
How to  wipe out  old db tables and old alf_data

Hi,
to wipe out old alf_data simply delete it.
To wipe out old db delete all the tables created by Alfresco, using your DB manager application.
That is if you're using PostgreSQL use PGAdmin to delete the tables.
At restart they'll be recreated by Alfresco's sql scripts.

Regards,
Andrea

samnaction
Champ in-the-making
Champ in-the-making
You said to map alf_data. Do I need to map the new location of alf_data in the computer

Yes,
this location must be visible to your system, so you'll need to map it.
Then use the drive letter the system gave you into your alfresco-global.properties.

Regards,
Andrea

samnaction
Champ in-the-making
Champ in-the-making
I moved the alf_data to the new loaction. I mapped the new location to the local computer. It is mapped as Z:. I changed in global property as
dir.root=Z:
. But now postgre cannot start. Any help

But the new location should be Z:/alfresco/alf_data..
Could you provide your logs?
Remember to empty the DB and alf_data at the new location.
Then start again Alfresco and it should create all the tables.

Regards,
Andrea