Installation mit Fehlermeldung...

norden

Free User
Mitglied seit
1. März 2018
Beiträge
11
Hi,

ich habe in einer VM mit der angebotenen ISO 3CX installiert. Diese läuft soweit auch.

Im Anschluss habe ich die VM heruntergefahren und einen LXC erstellt. In diesem habe ich 3CX manuell installiert. Auf der grafischen Oberfläche angekommen beginne ich anschliessend mit der Einrichtung. Leider erhalte ich bei der Fertigstellung folgende Fehlermeldung:

System.Exception: Error in CreatingCloudServerManagementDatabase.sql: 22023: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) ---> Npgsql.PostgresException (0x80004005): 22023: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Npgsql.NpgsqlConnector.<>c__DisplayClass160_0.<g__ReadMessageLong|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Npgsql.NpgsqlDataReader.<>c__DisplayClass41_0.<g__ReadMessageSequential|0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming) at Npgsql.NpgsqlDataReader.NextResult() at Npgsql.NpgsqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteScalar(Boolean async, CancellationToken cancellationToken) at Npgsql.NpgsqlCommand.ExecuteScalar() 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) Exception data: Severity: ERROR SqlState: 22023 MessageText: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) Hint: Use the same encoding as in the template database, or use template0 as template. File: dbcommands.c Line: 383 Routine: createdb --- 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.CreateCloudServerManagementDatabase(CloudDBManager cloudDbManager, DBConnection templateConnection) 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)

Fehlt hier etwas? Oder liegt es daran, dass zuvor eine funktionierende VM erstellt wurde? Sollte doch nicht sein, oder?

Gehe ich richtig in der Annahme, dass bei einer erneuten Installation die IP bei 3CX angepasst wird? Ich habe für meine zweite Installation eine andere IP genutzt. Beides öffentliche IPs um keine Routingprobleme zu haben.
 
Hi,
Ensure that your phone system is being deployed in a supported Linux environment, i.e virtualizations supported are cf. https://www.3cx.com/docs/manual/installing-debian-linux-pbx/#h.5hoy5wwhhk5c :

- VMware vSphere Hypervisor (ESXi) 6.X and above, with VMWare Tools package installed.
- Microsoft Hyper-V Server 2012 R2 and above capable of running Win10, Server 2016 and above
- KVM 2.8 and up
- Citrix XenServer 7.0 and above.

(LXC is not one of them.)
 
LXC wird zwar offiziell nicht unterstützt, aber so geht es:

sudo apt-get purge locales sudo apt-get install locales sudo dpkg-reconfigure locales
en_US.UTF-8 auswählen

Dann einmal reboot und anschließend die 3CX installieren.
apt update apt install 3cxpbx
 

Statistik des Forums

Themen
44.421
Beiträge
232.741
Mitglieder
78.334
Neuestes Mitglied
Uniweb_Alessio