3CX Phone System - Scheduled Backup Failed

Status
Not open for further replies.

Futureweb

Customer
Joined
Jun 29, 2015
Messages
159
Reaction score
22
Hey there,

anyone any idea what's wrong here?

thx
Andreas Schnederle-Wagner

Code:
3CX Phone System tried to backup but failed due to the following reason(s):
System.Exception: Error creating backup ---> System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> Npgsql.NpgsqlException: The connection pool has been exhausted, either raise MaxPoolSize (currently 100) or Timeout (currently 1024 seconds)
   bei Npgsql.ConnectorPool.<WaitForTaskAsync>d__27.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei Npgsql.ConnectorPool.<AllocateAsync>d__0.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei Npgsql.NpgsqlConnection.<OpenInternalAsync>d__0.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.<CreateConnectionAsync>d__27.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.<BeginTransactionAsync>d__37.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei _3cxNetInterfaces.Implementation.Npgsql.NpgsqlDbOperation.<BeginTransactionAsync>d__36.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei _3cxNetBackupAndRestore.BackupTasks.BaseDBTask.<RunAll>d__12.MoveNext()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   bei System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   bei _3cxNetBackupAndRestore.BackupTasks.MyPhoneTask.<.ctor>b__0_0(BaseTask x)
   bei _3cxNetManagement.BaseTask.Run()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei _3cxNetBackupAndRestore._3cxBackup.WaitForFinish()
   bei _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
   bei BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
 
I have had this issue with a couple of systems recently, I've had to disable automatic backup till I get a solution.
 
It happens to me also with all Linux implemetations -- randomly, about once in 2 months. Not happening with Windows implementations. I have a total of about 50 installs.
Problem is solved with services restart.
 
hi all,

This error happens some times which is related with the scheduled backup and there were quite a few improvements made in V15.5.3849.1 (SP1). However, If you are not using the current version which is the V15.5.3849.1, please try upgrading to this version of the 3CX Phone system. Please note that we are working on it in order to get it completely addressed in a future service pack.
 
We are on 15.5.3849.1 already - will see if Errors persists
 
We are on 15.5.3849.1 already - will see if Errors persists
With version 15.5.3849.1 on Linux this error happens rarely, but still happens, probably once in 2 months with everyday backups. I have about 50 installations of 3CX and can make relative good statistics.
 
we are on Windows ... we will see it it's more often there ;-)
 
also Windows Server 2012 R2 Standard ... ;-)
 
Happening on 15.5.3849.1 too.
 
Seems to only happen on my Linux installs that I have noticed so far.
 
This will be fixed in the upcoming SP2 release.
 
restart of all 3CX services did the Trick ... backups working again ... waiting for SP2 ... ;-)
 
Do you backup to a Network location or the server 3cx is on?
 
backup is local
 
Status
Not open for further replies.

Forum statistics

Threads
111,876
Messages
589,517
Members
164,726
Latest member
ChapplePM