3CX Phone System - Scheduled Backup Failed

Discussion in '3CX Phone System - General' started by Futureweb, Oct 10, 2017.

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

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    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)
    
     
  2. Philip Darnell

    Philip Darnell New Member

    Joined:
    Jan 26, 2017
    Messages:
    154
    Likes Received:
    10
    I have had this issue with a couple of systems recently, I've had to disable automatic backup till I get a solution.
     
  3. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    219
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. GiannosC_3CX

    GiannosC_3CX Guest

    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.
     
  5. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    We are on 15.5.3849.1 already - will see if Errors persists
     
  6. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    219
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    we are on Windows ... we will see it it's more often there ;-)
     
  8. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    219
    It never happened on Windows for me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    Happened again tonight ... (Windows)
     
  10. sip.bg

    sip.bg Active Member

    Joined:
    Nov 7, 2016
    Messages:
    704
    Likes Received:
    219
    What version of Windows are you using? Mine is 2012 R2 Standard (SPLA licenses).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    also Windows Server 2012 R2 Standard ... ;-)
     
  12. AndreyP

    Joined:
    Apr 11, 2017
    Messages:
    41
    Likes Received:
    7
    Happening on 15.5.3849.1 too.
     
  13. Philip Darnell

    Philip Darnell New Member

    Joined:
    Jan 26, 2017
    Messages:
    154
    Likes Received:
    10
    Seems to only happen on my Linux installs that I have noticed so far.
     
  14. agp

    agp 3CX Team

    Joined:
    Aug 19, 2015
    Messages:
    140
    Likes Received:
    21
    This will be fixed in the upcoming SP2 release.
     
  15. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    restart of all 3CX services did the Trick ... backups working again ... waiting for SP2 ... ;-)
     
  16. Schrodz

    Schrodz New Member

    Joined:
    Apr 21, 2017
    Messages:
    100
    Likes Received:
    14
    Do you backup to a Network location or the server 3cx is on?
     
  17. Futureweb

    Futureweb New Member

    Joined:
    Jun 29, 2015
    Messages:
    163
    Likes Received:
    14
    backup is local
     
Thread Status:
Not open for further replies.