Solved 3CX Phone System installation error

Discussion in '3CX Phone System - General' started by daglez, May 24, 2017.

Thread Status:
Not open for further replies.
  1. daglez

    Joined:
    May 24, 2017
    Messages:
    2
    Likes Received:
    0
    Hi. I can't install the 3CX Phone System. Can you help me to solve the error below:

    System.Exception: Error in CreatingCloudServerManagementDatabase.sql: 42P04: database "masterprofiles" already exists ---> Npgsql.PostgresException: 42P04: database "masterprofiles" already exists at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage) at
    Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode) at Npgsql.NpgsqlDataReader.NextResultInternal() at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior) at
    Npgsql.NpgsqlCommand.ExecuteScalarInternal() at
    PostInstall.DBConnection.ExecuteScriptInternal(NpgsqlConnection connection, String sqlQuery, IDictionary`2 parameters) at PostInstall.DBConnection.ExecuteScript(String sqlQuery, IDictionary`2 parameters) at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) --- End of inner exception stack trace --- at
    _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) at
    _3CXCloudDBManager.CloudDBManager.CreateCloudServerManagementDatabase(IDBConnection superuser, CloudServerManagementDatabaseConfiguration configuration) at
    PostInstall.SetupExecutor.CreateDatabase(Action`1 stateChanged) at
    PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)
     
  2. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,349
    Likes Received:
    274
    Hello @daglez

    Please make sure that if any previous versions of the 3CX PBX are installed on the system those are completely removed. Also make sure that your windows machine is completely up to date with windows updates.
    What version of windows are you using?
     
  3. daglez

    Joined:
    May 24, 2017
    Messages:
    2
    Likes Received:
    0
    I don't know what happened but the error has been solved by itself)
     
  4. YiannisH_3CX

    YiannisH_3CX Support Team
    Staff Member 3CX Support

    Joined:
    May 10, 2016
    Messages:
    4,349
    Likes Received:
    274
    Glad to hear the issue is resolved
     
  5. DTI

    DTI

    Joined:
    May 31, 2017
    Messages:
    4
    Likes Received:
    0
    I have the same issue... I did a fresh debian install (the iso i got it from de elastix home page) and when i try to finish my installation i get that error.....
    Npgsql.PostgresException: 42P04: la base de datos «masterprofiles» ya existe at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage) at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode) at Npgsql.NpgsqlDataReader.NextResultInternal() at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior) at Npgsql.NpgsqlCommand.ExecuteScalarInternal() at PostInstall.DBConnection.ExecuteScriptInternal(NpgsqlConnection connection, String sqlQuery, IDictionary`2 parameters) at PostInstall.DBConnection.ExecuteScript(String sqlQuery, IDictionary`2 parameters) at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) --- End of inner exception stack trace --- at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) at _3CXCloudDBManager.CloudDBManager.CreateCloudServerManagementDatabase(IDBConnection superuser, CloudServerManagementDatabaseConfiguration configuration) at PostInstall.SetupExecutor.CreateDatabase(Action`1 stateChanged) at PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged, Action`1 errorNotifier) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)" class="ng-scope" style="box-sizing: border-box; display: inline-block; max-width: 100%; margin-bottom: 5px;">System.Exception: Error in CreatingCloudServerManagementDatabase.sql: 42P04: la base de datos «masterprofiles» ya existe ---> Npgsql.PostgresException: 42P04: la base de datos «masterprofiles» ya existe at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage) at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode) at Npgsql.NpgsqlDataReader.NextResultInternal() at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.Execute(CommandBehavior behavior) at Npgsql.NpgsqlCommand.ExecuteScalarInternal() at PostInstall.DBConnection.ExecuteScriptInternal(NpgsqlConnection connection, String sqlQuery, IDictionary`2 parameters) at PostInstall.DBConnection.ExecuteScript(String sqlQuery, IDictionary`2 parameters) at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) --- End of inner exception stack trace --- at _3CXCloudDBManager.DbConnectionExtensions.ExecuteScript(IDBConnection connection, Object configurationStructure, String scriptText, Boolean asResourceName) at _3CXCloudDBManager.CloudDBManager.CreateCloudServerManagementDatabase(IDBConnection superuser, CloudServerManagementDatabaseConfiguration configuration) at PostInstall.SetupExecutor.CreateDatabase(Action`1 stateChanged) at PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged, Action`1 errorNotifier) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)
     
  6. DTI

    DTI

    Joined:
    May 31, 2017
    Messages:
    4
    Likes Received:
    0
    I could fix the database problem by deleting it and starting a fresh installation... Now i get a new error
    System.NullReferenceException: Object reference not set to an instance of an object. at PostInstall.SetupExecutor.WriteIniFiles(Boolean writePsIni, Boolean writeMediaIni, PhoneSystem root) at PostInstall.SetupExecutor.CreateDatabase(Action`1 stateChanged) at PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged, Action`1 errorNotifier) at PbxWebConfigTool.PbxSetupService.CreatePbxInternal(SetupSettings settings)
     
  7. KOUAME

    Joined:
    Aug 11, 2017
    Messages:
    3
    Likes Received:
    0
    hi
    did someone find the problem, i have the same error
     
  8. KOUAME

    Joined:
    Aug 11, 2017
    Messages:
    3
    Likes Received:
    0
    I solved installation problem "from commande line" option
     

    Attached Files:

    • 3CX.png
      3CX.png
      File size:
      21.7 KB
      Views:
      38
  9. Wilfried AGOLI-AGBO

    Joined:
    Aug 27, 2017
    Messages:
    2
    Likes Received:
    0
    Bonjour ! je n'arrive pas à installer le logiciel 3CX PhoneSystem15.5n, j'ai le message d'erreur ci-dessous à la fin . Quelqu'un peut m'aider svp ?
    '' Starting database service...
    Error starting database service: 3CX PhoneSystem Database Server
    Setup error:
    PostInstall.SetupException: Error starting database service: 3CX PhoneSystem Database Server
    à PostInstall.SetupExecutor.StartDbService()
    à PostInstall.SetupExecutor.ExecuteSetup(SetupSettings setupSettings, Action`1 stateChanged, Action`1 errorNotifier)
    à PostInstall.Setup.RequestSetupParametersAndExecute(String path, String[] commandLineArguments)''
     
  10. KOUAME

    Joined:
    Aug 11, 2017
    Messages:
    3
    Likes Received:
    0
    Bonjour
    Est ce que tu fais l'installation (configuration ) via la page web ?
     
  11. Wilfried AGOLI-AGBO

    Joined:
    Aug 27, 2017
    Messages:
    2
    Likes Received:
    0
    Bonjour Mr, oui j'ai exactement fait l'installation via non seulement la page web (option 1) mais aussi via la ligne de commande ( option 2) toujours le meme message d'erreur, j'ai désinstallé et réinstallé plusieurs fois, même message d'erreur
     
Thread Status:
Not open for further replies.