System.Exeption during configuration 3CX on debian 8

Discussion in '3CX Phone System - General' started by confused, Oct 4, 2017.

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

    Joined:
    Oct 4, 2017
    Messages:
    2
    Likes Received:
    0
    After the installation i tried both functions (web browser and command line) to configure the 3cx. Each time i got the following error message on the next step after setting the ports for https and http:

    Starting database service...

    Database service started successfully
    Creating database (Single Instance) ...
    Setup error:
    System.Exception: Error in CreatingCloudServerManagementDatabase.sql: Version string portion was too short or too long. ---> System.ArgumentException: Version string portion was too short or too long.
    at System.Version.VersionResult.SetFailure(ParseFailureKind failure, String argument)
    at System.Version.TryParseVersion(String version, VersionResult& result)
    at System.Version.Parse(String input)
    at System.Version..ctor(String version)
    at Npgsql.NpgsqlConnector.ProcessServerVersion(String value)
    at Npgsql.NpgsqlConnector.ParseServerMessage(ReadBuffer buf, BackendMessageCode code, Int32 len, DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage)
    at Npgsql.NpgsqlConnector.DoReadMessage(DataRowLoadingMode dataRowLoadingMode, Boolean isPrependedMessage)
    at Npgsql.NpgsqlConnector.ReadMessageWithPrepended(DataRowLoadingMode dataRowLoadingMode)
    at Npgsql.NpgsqlConnector.HandleAuthentication(String username, NpgsqlTimeout timeout)
    at Npgsql.NpgsqlConnector.Open(NpgsqlTimeout timeout)
    at Npgsql.NpgsqlConnection.OpenInternal()
    at PostInstall.DBConnection.get_Connection()
    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 PostInstall.Setup.RequestSetupParametersAndExecute(String path, String[] commandLineArguments)
     
  2. confused

    Joined:
    Oct 4, 2017
    Messages:
    2
    Likes Received:
    0
    which postgres version is required for 3cx?
     
  3. axudar1

    Joined:
    Nov 11, 2013
    Messages:
    6
    Likes Received:
    1
    I had the same problem with some of my installations. Do you run the 3CX software from it's own ISO, or do you have it installed on an Hosted VPS? Because when it is a VPS, you must include your external IP address as an entry point for the Postgres.
     
Thread Status:
Not open for further replies.