cancel
Showing results for 
Search instead for 
Did you mean: 

Install Fails on PostgreSQL

huge321
Champ in-the-making
Champ in-the-making
I am trying to install alfresco-community-4.2.c-installer-win-x64.exe on a clean install of Windows Server 2012. I install with administrative rights, but the install always fails when installing PostgreSQL. I had reinstalled Windows just to make sure there were no issues there, but no change…

Looking for help!
8 REPLIES 8

abarisone
Star Contributor
Star Contributor
Hi,
did you check the version of PostgreSQL you're using against the supported compatibility matrix?
Moreover I don't know if Windows Server 2012 is supported.
Where does the PostgreSQL installation fails? Can you provide a log file with the errors?

Regards,
Andrea

huge321
Champ in-the-making
Champ in-the-making
I am installing from the setup file provided by Alfresco. Here is the error:

There has been an error

Error running initdb.exe -U SYSTEM -E UTF8 -D D:/Alfresco/alf_data/POSTGR~1Smiley Tonguerogram ended with an error exit code
The application will exit now

samuelmunguti5
Champ in-the-making
Champ in-the-making

Kindly can someone help me. I am trying to install Alfresco community version and the above error is brought up.

There has been an error


Error running initdb.exe -U SYSTEM -E UTF8 -D D:/Alfresco/alf_data/POSTGR~1Smiley Tonguerogram ended with an error exit code
The application will exit now

abarisone
Star Contributor
Star Contributor
Hi, try to follow this threads opened about this issue https://issues.alfresco.com/jira/browse/MNT-6309?page=com.atlassian.jira.plugin.system.issuetabpanel...
Especially this reported in a comment http://community.jaspersoft.com/questions/543924/cannot-install-jasper-report-server
It seems to be a permission problem…

Regards,
Andrea

cwynter
Champ in-the-making
Champ in-the-making
Hi Huge321,

I came across this link when looking an answer to the same isue with the new Alfresco 5 release.

The simple solution I found was to create the c:\Alfesco folder and applies full rights to the Domain Admin account and the local administrator account. The run the install as Domain Administrator. Postgres installs correctly. I am not certain that the local admin account needs full rights and will rerun the install to test.

The comment from Abarisone on permissions was the key pointer.

I hope this helps others with this issue. It should be addressed by the installer script to set the correct permissions. I rate it as a major bug as it has been around in version 4.2 and still on 5.

droberts1
Champ in-the-making
Champ in-the-making
I can confirm that this is still a problem with Alfresco 5.0.d running on Windows Server 2008 R2. cwynter's procedure does fix it, though!

spirost
Champ in-the-making
Champ in-the-making
Had the same exact issue. I did two things and the installation concluded successfully. Firstly I explicitly added the Domain Admin Account I was logged in with, to Alfresco folder Security with full permissions. Secondly I started the setup not using elevated privileges as I tried at first but simply double clicking the executable. Don't know which one of the two did the trick, but setup has run smoothly.

gioru
Champ in-the-making
Champ in-the-making
I'd experienced the same. After I explicitly added the Domain Admin Account, the installation was OK. Thank's everyone!!