Archiving to 365 - view logs

Alphabetic

3CX MVP
Silver Partner
Advanced Certified
Joined
Jul 1, 2016
Messages
6,672
Reaction score
2,663
Version 20.0 Update 9 (Build 670 Alpha)

Good morning,

Which is the best log to view/troubleshoot archiving to 365?

any buzz words / phrases to search for in this log?

thank you.
 
Hello @Alphabetic,

Once you put the PBX to Verbose and replicate, download the Support Info and navigate to Logs > SystemService.log for any errors or exceptions related to Microsoft at the time of the replication.
In adition you can search withe archive but this will give you back more results.
You can also check the Event log in the PBX to see if you are getting any related errors.
 
  • Like
Reactions: Alphabetic
Hello @Alphabetic,

Once you put the PBX to Verbose and replicate, download the Support Info and navigate to Logs > SystemService.log for any errors or exceptions related to Microsoft at the time of the replication.
In adition you can search withe archive but this will give you back more results.
You can also check the Event log in the PBX to see if you are getting any related errors.
Thanks.

The problem I had was, local recordings became full and archiving hadnt run for 7 days.

The policy is to archive older than 30 days.

I checked Sharepoint storage and this was fine - no errors or quotas.

I unchecked settings in 3CX for turning on archiving and stuff and I can see in Sharepoint files being uploaded now so I'm not entirely sure what the problem was.

Looking at the older logs in 3CX (in verbose), I have the following:

Code:
2026/03/29 09:07:15.920|0037|Debg| [Quartz.Core.JobRunShell] Calling Execute on job RemoteArchiveSchedulerService.RecordingCleanup
2026/03/29 09:07:15.921|0037|Info| [_3cxSystemService.RecordingCleanup] Starting
2026/03/29 09:07:15.923|0005|Trac| ###TRANSACTION.128212 started
2026/03/29 09:07:15.923|0005|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Enqueue Inserted.TRANSACTION.128212
2026/03/29 09:07:15.924|0021|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Dequeue Inserted.TRANSACTION.128212
2026/03/29 09:07:15.924|0005|Trac| +++TRANSACTION.128212 updated - elapsed 0.703
2026/03/29 09:07:15.924|0005|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Enqueue Updated.TRANSACTION.128212
2026/03/29 09:07:15.924|0034|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Dequeue Updated.TRANSACTION.128212
2026/03/29 09:07:15.924|0005|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Enqueue Updated.PARAMETER.3780
2026/03/29 09:07:15.924|0034|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Dequeue Updated.PARAMETER.3780
2026/03/29 09:07:15.924|0005|Trac| Finalizing TRANSACTION.128212
2026/03/29 09:07:15.924|0037|Info| [_3cxSystemService.RecordingCleanup] Starting auto archiving of recordings older than 30...
2026/03/29 09:07:15.924|0005|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Enqueue Deleted.TRANSACTION.128212
2026/03/29 09:07:15.924|0005|Trac| ---TRANSACTION.128212 finished 0.9538ms
    data:0.7028ms
    Events:0.146ms
    externals:0.105ms
2026/03/29 09:07:15.924|0034|Debg| [_3cxSystemService.ObjectModelManager.ObjModelManager] Dequeue Deleted.TRANSACTION.128212
2026/03/29 09:07:15.925|0037|Trac| [Npgsql.Connection] Opening connection to /var/run/postgresql:5432/database_single...
2026/03/29 09:07:15.925|0037|Debg| [Npgsql.Connection] Opened connection to /var/run/postgresql:5432/database_single
2026/03/29 09:07:15.925|0037|Trac| [Npgsql.Connection] Start user action
2026/03/29 09:07:15.925|0037|Debg| [Npgsql.Command] Executing command: SELECT * FROM recordings WHERE archived=$1 AND start_time<$2
2026/03/29 09:07:15.930|0037|Trac| [_3cxSystemService.RecordingCleanup] Postpone archiving of rec.190877
2026/03/29 09:07:15.930|0037|Trac| [_3cxSystemService.RecordingCleanup] Postpone archiving of rec.190878
2026/03/29 09:07:15.930|0037|Trac| [_3cxSystemService.RecordingCleanup] Postpone archiving of rec.190879

Theres then a wall of text for "postpone archiving of...." and then
Code:
2026/03/29 09:07:16.056|0037|Trac| [Npgsql.Command] Cleaning up reader
2026/03/29 09:07:16.056|0037|Info| [Npgsql.Command] Command execution completed (duration=130ms): SELECT * FROM recordings WHERE archived=$1 AND start_time<$2
2026/03/29 09:07:16.056|0037|Trac| [Npgsql.Connection] End user action
2026/03/29 09:07:16.056|0037|Trac| [Npgsql.Connection] Closing connection to /var/run/postgresql:5432/database_single...
2026/03/29 09:07:16.056|0037|Trac| [Npgsql.Connection] Start user action
2026/03/29 09:07:16.056|0037|Trac| [Npgsql.Connection] End user action
2026/03/29 09:07:16.056|0037|Debg| [Npgsql.Connection] Closed connection to /var/run/postgresql:5432/database_single
2026/03/29 09:07:16.056|0037|Info| [_3cxSystemService.RecordingCleanup] Finished recordings auto archiving...

Any ideas what would cause this?
 
@Alphabetic on the Admin Console >> Integrations >> Transcription, what do you have on the " Transcription Provider " section ?
 
@Alphabetic open a ticket and lets take it from there.
Restart the services also once, then set it up to Verbose and lets see.
 
@Alphabetic open a ticket and lets take it from there.
Restart the services also once, then set it up to Verbose and lets see.
Hi Nikos,

I installed U9 yesterday do the services would have restarted then, so this morning the archiving didnt resume.

I wont bother with the support ticket and i'll treat it as a one off. If it occurs again i'll open a ticket.

thanks for the help.
 
  • Like
Reactions: NikosT_3CX

Latest Posts

Forum statistics

Threads
112,283
Messages
591,694
Members
165,405
Latest member
ARKC