Errore esecuzione backup dopo aggiornamento Debian 10 e 3CX v18

Daniele.Ricci-2345

Customer
Registrato
1 Febbraio 2022
Messaggi
2
Buongiorno a tutti,

dopo aver installato l'aggiornamento di release e S.O. seguendo la procedura da interfaccia web di 3CX, si riscontra il seguente errore di esecuzione backup:


Your 3CX backup failed due to the following reason(s):
System.Exception: System.AggregateException: One or more errors occurred. (Exception while connecting)
---> Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (110): Connection timed out
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.CreateConnectionAsync(CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.BeginTransactionAsync(IsolationLevel level)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.<.ctor>b__0_0(BaseTask x)
at _3cxNetManagement.BaseTask.Run()
System.AggregateException: One or more errors occurred. (Exception while connecting)
---> Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (110): Connection timed out
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.CreateConnectionAsync(CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.BeginTransactionAsync(IsolationLevel level)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.<.ctor>b__0_0(BaseTask x)
at _3cxNetManagement.BaseTask.Run()
System.AggregateException: One or more errors occurred. (Exception while connecting)
---> Npgsql.NpgsqlException (0x80004005): Exception while connecting
---> System.Net.Sockets.SocketException (110): Connection timed out
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|283_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.CreateConnectionAsync(CancellationToken cancellationToken)
at _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.BeginTransactionAsync(IsolationLevel level)
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.RunAll(BaseTask ignore)
at _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.<.ctor>b__0_0(BaseTask x)
at _3cxNetManagement.BaseTask.Run()
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)

------------------------------------------------------------------------------------------------------------------------------------

Qualcuno riesce a capire qual'è il problema?
Ho notato che il report Chiamate dopo l'aggiornamento non è più visibile...non so se questo possa essere d aiuto
 
Ciao, ci dev'essere un problema con il database. Hai già provato a riavviare il centralino e/o i servizi?
Penso che un'installazione pulita della v18 con ripristino del backup sia la soluzione più immediata
 
Ho risolto, aggiungendo la regola di Loopback ACCEPT su iptables

Grazie per il supporto
 

Inizia con 3CX – Admin

Forum statistics

Discussioni
44.659
Messaggi
233.415
Membri
78.445
Ultimo Iscritto
NordNico