# ContinuaCI failed to install

**URL:** https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948
**Category:** Bugs
**Created:** [January 20, 2015, 8:37am UTC](https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948 "2015-01-20T08:37:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![michael.jelich](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@michael.jelich](https://www.finalbuilder.com/forums/u/michael.jelich)
#### Post date: [January 20, 2015, 8:37am UTC](https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948/1 "2015-01-20T08:37:29Z")

</div>

Hi Support Team,

we want to move from FB Server to ContinuaCI. I have setup a new Windows 2012 R2 vmWare image and enabled Dot.Net 4.5 as well as IIS with ASP.Net 4.5. Static Content is also enabled.  
  
The setup shows 4 green check marks and succeeds. But the IE shows the following page after entering 127.0.0.1:8080:  
  
08:30 : Starting

08:30 : Creating Application Instance

08:30 : Starting

08:30 : Setting up Loggers

08:30 : Migrating Database

08:30 : Could not initialise database: Failed to establish a connection to '127.0.0.1'. Check the eventlog for more info.

08:30 : Starting Application Instance

 

The event log contains the following entry:  
  
Could not initialise database:

Npgsql.NpgsqlException:  
Failed to establish a connection to '127.0.0.1'.  
&nbsp;&nbsp; at Npgsql.NpgsqlClosedState.Open(NpgsqlConnector context)  
&nbsp;&nbsp; at Npgsql.NpgsqlConnector.Open()  
&nbsp;&nbsp; at Npgsql.NpgsqlConnectorPool.GetPooledConnector(NpgsqlConnection Connection)  
&nbsp;&nbsp; at Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(NpgsqlConnection Connection)  
&nbsp;&nbsp; at Npgsql.NpgsqlConnectorPool.RequestPooledConnector(NpgsqlConnection Connection)  
&nbsp;&nbsp; at Npgsql.NpgsqlConnection.Open()  
&nbsp;&nbsp; at FluentMigrator.Runner.Processors.Postgres.PostgresProcessor..ctor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)  
&nbsp;&nbsp; at FluentMigrator.Runner.Processors.Postgres.PostgresProcessorFactory.Create(String connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.InitializeProcessor(String assemblyLocation)  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()  
&nbsp;&nbsp; at FluentMigrator.Runner.Initialization.TaskExecutor.Execute()  
&nbsp;&nbsp; at Continua.Migrations.Runner.Execute(String database, String connectionString, String fileName)  
&nbsp;&nbsp; at Continua.Server.Service.Migrator.Begin()  
Exiting...  
  
  
What I have to do in order to get the server running? Is it not compatible to W2K12 R2?&nbsp; I've made a trial some months ago using win 7 and everything went well...  
  
Best regards  
Michael

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [January 20, 2015, 1:46am UTC](https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948/2 "2015-01-20T01:46:16Z")

</div>

Hi Michael   
  
 Looks like the database (postgresql) is not running. Check the windows services and see if the ContinuaCIPostgreSQL is installed. If not, then try to register it from the command line (run the cmd prompt as admin) :   
  
 C:\Program Files\VSoft Technologies\ContinuaCI\Server\PostgreSQL\bin\>pg\_ctl register -N “ContinuaCI PostgreSQL” -U machinename\user -P yourpass -S auto -o “-p 9001” -D “C:\ProgramData\VSoft\ContinuaCI\PostgreSQLDB”   
  
 If the service was already install, try to start it, if it fails, check the windows eventlog. I’ll check with the team tomorrow and see if there is anything else to investigate.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [January 20, 2015, 11:35am UTC](https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948/3 "2015-01-20T11:35:15Z")

</div>

Hi Michael,  
  
It might also be worth checking the installer log. This is located under C:\Users&#91;username]\AppData\Local\Temp or in a subdirectory and is named acording to the pattern&nbsp;“Setup Log YYYY-MM-DD #XXX.txt”. Search for lines with the text ContinuaCIPostgreSQL and look for any errors related to starting the service - or send this file to [support@finalbuilder.com](mailto:support@finalbuilder.com) for us to investigate.

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [January 22, 2015, 6:56am UTC](https://www.finalbuilder.com/forums/t/continuaci-failed-to-install/5948/4 "2015-01-22T06:56:55Z")

</div>

Hi Michael,  
  
Thank you for sending the installer log.&nbsp;  
  
We have now found that there was a bug in the code which was skipping the PostgreSQL service start up on first installs. This has now been fixed in the latest version v1.5.1.90&nbsp;available from our&nbsp;[downloads page](https://www.finalbuilder.com/downloads/continuaci)&nbsp;
