cancel
Showing results for 
Search instead for 
Did you mean: 

PostgresSQL cannot startup after relocated alf_data

noveske
Champ in-the-making
Champ in-the-making
Dear All Expertise,

My Alfresco CE 5.0d is on a Windows platform and installed from the installer.

The PostgreSQL cannot startup after relocate the alf_data to a mapped drive. I did search the forums and follow the suggestion, but none was work.

Can anyone assist on this? Many thanks.
3 REPLIES 3

borzoi
Champ in-the-making
Champ in-the-making
Did you modify dir.root property in alfresco-global.properties file, pointing to the new alf_data directory?

noveske
Champ in-the-making
Champ in-the-making
Hi borzoi,

Yes, I did. And the alfresco-global.properties file was attached as text file.

Thank you.

eswbitto
Confirmed Champ
Confirmed Champ
You have your alf_data on your T: drive and the solr index is still pointed to the c: drive. If you don't change that in your postgresql directory then you will have two locations to backup:

1. T:drive alf_data
2. C:drive solr folder in your default alf_data folder

Start with editing the file that should be named ctl.exe (I'm sorry its named ctl.sh in linux which is what I use) you'll have to do some digging to find it. I have it located in linux at…

install/postgresql/scripts/ctl.sh

I also modified setenv.sh file to point the PGDATA to my separate location:

install/postgresql/bin/setenv.sh

I realize this is for windows, but you may have some luck if you find files that are similar to help you point to the new location.