• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Solved 3CX Phone System installation error

Status
Not open for further replies.

daglez

Joined
May 24, 2017
Messages
2
Reaction score
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)
 
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?
 
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?
I don't know what happened but the error has been solved by itself)
 
Glad to hear the issue is resolved
 
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)
 
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)
 
hi
did someone find the problem, i have the same error
 

Attachments

  • 3CX.png
    3CX.png
    21.7 KB · Views: 117
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)''
 
Bonjour
Est ce que tu fais l'installation (configuration ) via la page web ?
 
Bonjour
Est ce que tu fais l'installation (configuration ) via la page web ?
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
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,632
Messages
748,964
Members
144,752
Latest member
matchofficees
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.