ContinuaCI failed to install

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'.
   at Npgsql.NpgsqlClosedState.Open(NpgsqlConnector context)
   at Npgsql.NpgsqlConnector.Open()
   at Npgsql.NpgsqlConnectorPool.GetPooledConnector(NpgsqlConnection Connection)
   at Npgsql.NpgsqlConnectorPool.RequestPooledConnectorInternal(NpgsqlConnection Connection)
   at Npgsql.NpgsqlConnectorPool.RequestPooledConnector(NpgsqlConnection Connection)
   at Npgsql.NpgsqlConnection.Open()
   at FluentMigrator.Runner.Processors.Postgres.PostgresProcessor..ctor(IDbConnection connection, IMigrationGenerator generator, IAnnouncer announcer, IMigrationProcessorOptions options, IDbFactory factory)
   at FluentMigrator.Runner.Processors.Postgres.PostgresProcessorFactory.Create(String connectionString, IAnnouncer announcer, IMigrationProcessorOptions options)
   at FluentMigrator.Runner.Initialization.TaskExecutor.InitializeProcessor(String assemblyLocation)
   at FluentMigrator.Runner.Initialization.TaskExecutor.Initialize()
   at FluentMigrator.Runner.Initialization.TaskExecutor.Execute()
   at Continua.Migrations.Runner.Execute(String database, String connectionString, String fileName)
   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?  I've made a trial some months ago using win 7 and everything went well...

Best regards
Michael

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.

Hi Michael,

It might also be worth checking the installer log. This is located under C:\Users[username]\AppData\Local\Temp or in a subdirectory and is named acording to the pattern “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 for us to investigate.

Hi Michael,

Thank you for sending the installer log. 

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 available from our downloads page