Skip to content

[Bug]: Scheduled Sync Broken #224

@lionfish2

Description

@lionfish2

Bug Description

It appears scheduled sync is broken. Jobs are not synced according to the environmental variables.

Image Image

Steps to Reproduce

  1. Install via the config below
  2. add accounts
  3. accounts dont sync according to config below

`docker run
-d
--name='mail-archiver'
--entrypoint='REDACTED'
--net='REDACTED'
--pids-limit 2048
-e TZ="REDACTED"
-e HOST_OS="Unraid"
-e HOST_HOSTNAME="REDACTED"
-e HOST_CONTAINERNAME="mail-archiver"
-e 'ConnectionStrings__DefaultConnection'='REDACTED;'
-e 'Authentication__Enabled'='true'
-e 'Authentication__Username'='REDACTED'
-e 'Authentication__Password'='REDACTED'
-e 'TimeZone__DisplayTimeZoneId'='REDACTED'
-e 'Authentication__SessionTimeoutMinutes'='15'
-e 'Authentication__CookieName'='MailArchiverAuth'
-e 'MailSync__IntervalMinutes'='120'
-e 'MailSync__TimeoutMinutes'='120'
-e 'MailSync__ConnectionTimeoutSeconds'='180'
-e 'MailSync__CommandTimeoutSeconds'='300'
-e 'MailSync__AlwaysForceFullSync'='false'
-e 'MailSync__IgnoreSelfSignedCert'='false'
-e 'BatchRestore__AsyncThreshold'='50'
-e 'BatchRestore__MaxSyncEmails'='150000'
-e 'BatchRestore__MaxAsyncEmails'='50000'
-e 'BatchRestore__SessionTimeoutMinutes'='30'
-e 'BatchRestore__DefaultBatchSize'='150'
-e 'BatchOperation__BatchSize'='150'
-e 'BatchOperation__PauseBetweenEmailsMs'='50'
-e 'BatchOperation__PauseBetweenBatchesMs'='250'
-e 'Selection__MaxSelectableEmails'='550'
-e 'Npgsql__CommandTimeout'='900'
-e 'Upload__MaxFileSizeGB'='30'
-e 'Upload__KeepAliveTimeoutHours'='1'
-e 'Upload__RequestHeadersTimeoutHours'='1'
-e 'CA_TS_FALLBACK_DIR'='REDACTED
-e TAILSCALE_HOSTNAME='REDACTED'
-e TAILSCALE_ALLOW_LAN_ACCESS='REDACTED'
-e TAILSCALE_USE_SSH='REDACTED'
-e TAILSCALE_USERSPACE_NETWORKING='REDACTED'
-e TAILSCALE_SERVE_PORT='REDACTED'
-e ORG_ENTRYPOINT="dotnet MailArchiver.dll"
-l net.unraid.docker.managed=dockerman
-l net.unraid.docker.webui='http://[IP]:[PORT:REDACTED]'
-l net.unraid.docker.icon='https://i.postimg.cc/T14BNjZ0/envelope-check.png'
-l net.unraid.docker.tailscale.webui='https://[hostname][magicdns]'
-l net.unraid.docker.tailscale.hostname='mail-archiver'
-p '5000:5000/tcp'
-v '/REDACTED/data-protection-keys':'/app/DataProtection-Keys':'rw'
-v '/usr/local/share/docker/tailscale_container_hook':'/opt/unraid/tailscale'
--cap-add=NET_ADMIN
--device='/dev/net/tun' 's1t5/mailarchiver'
REDACTED

The command finished successfully!`

Application Version

2511.3

Installation Type

Docker

Management Tools

Unraid

Host System

Unraid

Mail Provider

Gmail & M365

Relevant Log Output

No logs seem to pertain to this issue. Only mail that is synced after manual sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions