- Joined
- Nov 23, 2020
- Messages
- 104
- Reaction score
- 22
Hello gentlemen,
Today one of our four 3CX instances failed to complete the nightly backup. The error log emailed lists the following lines:
Your 3CX backup failed due to the following reason(s):
System.Exception: System.IO.IOException: Entries cannot be created while previously created entries are still open.
at System.IO.Compression.ZipArchive.AcquireArchiveStream(ZipArchiveEntry entry)
at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName)
at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName, CompressionLevel compressionLevel)
at System.IO.Compression.ZipArchive.DoCreateEntry(String entryName, Nullable`1 compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, IFile src)
at _3cxNetBackupAndRestore.BackupTasks.BaseFilesTask.BackupFiles()
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at _3cxFilesystemImplementations.GoogleBuckets.InvertedStream.StreamForWriter.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Compression.ZipArchiveEntry.WriteCentralDirectoryFileHeader()
at System.IO.Compression.ZipArchive.WriteFile()
at System.IO.Compression.ZipArchive.Dispose(Boolean disposing)
at _3cxNetBackupAndRestore._3cxBackup.FinishingTask()
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
What could be the reason for this backup failure? All our systems are scheduled to backup to Google Drive, and the other three ones experienced no issues with backing up last night. Just in case, the questioned 3CX instance free disk space currently consists 65% or 20GB.
Thank you for response!
3CX Version: Enterprise Annual 16.0.8.9
Server OS: Debian 9 v16.0.655
Is the 3CX Server Hosted: no
IP Phone Make/Model/Firmware: Yealink T58A v58.86.0.20
Provisioning Method: SBC
Trunk Provider: Vitelity
Has the Firewall Checker passed: YES
Are custom Phone Templates being used: NO
Today one of our four 3CX instances failed to complete the nightly backup. The error log emailed lists the following lines:
Your 3CX backup failed due to the following reason(s):
System.Exception: System.IO.IOException: Entries cannot be created while previously created entries are still open.
at System.IO.Compression.ZipArchive.AcquireArchiveStream(ZipArchiveEntry entry)
at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName)
at System.IO.Compression.ZipArchiveEntry..ctor(ZipArchive archive, String entryName, CompressionLevel compressionLevel)
at System.IO.Compression.ZipArchive.DoCreateEntry(String entryName, Nullable`1 compressionLevel)
at _3cxNetBackupAndRestore._3cxBackup.CreateEntry(String name)
at _3cxNetBackupAndRestore._3cxBackup.ZipFile(String dst, IFile src)
at _3cxNetBackupAndRestore.BackupTasks.BaseFilesTask.BackupFiles()
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.IO.MemoryStream.set_Capacity(Int32 value)
at System.IO.MemoryStream.EnsureCapacity(Int32 value)
at System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
at _3cxFilesystemImplementations.GoogleBuckets.InvertedStream.StreamForWriter.Write(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.Compression.ZipArchiveEntry.WriteCentralDirectoryFileHeader()
at System.IO.Compression.ZipArchive.WriteFile()
at System.IO.Compression.ZipArchive.Dispose(Boolean disposing)
at _3cxNetBackupAndRestore._3cxBackup.FinishingTask()
at _3cxBackupRestoreImpl.BackupRestoreUtils.Backup(IFilesystem filesystem, String instanceId, String cfgPath, String dbConnectionString, BackupConfig options, String fullpathFilename, Boolean sendEmail)
at BackupRestoreSchedule.BackupJob.Execute(IJobExecutionContext context)
What could be the reason for this backup failure? All our systems are scheduled to backup to Google Drive, and the other three ones experienced no issues with backing up last night. Just in case, the questioned 3CX instance free disk space currently consists 65% or 20GB.
Thank you for response!
3CX Version: Enterprise Annual 16.0.8.9
Server OS: Debian 9 v16.0.655
Is the 3CX Server Hosted: no
IP Phone Make/Model/Firmware: Yealink T58A v58.86.0.20
Provisioning Method: SBC
Trunk Provider: Vitelity
Has the Firewall Checker passed: YES
Are custom Phone Templates being used: NO