Closed jordancrawfordnz closed 3 months ago
I wondered if this related to Ruby 3 compatibility, but it seems like docker-imap-backup
uses Ruby 3.2 - https://github.com/theohbrothers/docker-imap-backup/blob/master/generate/templates/Dockerfile.ps1 - so I don't think that's relevant.
I downgraded my version and confirmed the backup job ran successfully on 14.6.1.
If I get a chance later I'll try a run on another machine with the same config and email account to see if I can reproduce the issue.
Hi @jordancrawfordnz
Thanks for opening this issue.
I'll get a fix out asap.
BTW: the "official" container image for this project is ghcr.io/joeyates/imap-backup:latest
Excellent - thank you, the new version is working now. I didn't realise there was an official container image - maybe I missed that when I originally set it up, I'll switch over to that - thanks for the tip!
Environment
I use imap-backup to backup my iCloud email. I run the software in Docker on my Synology NAS - the Docker image I use is https://github.com/theohbrothers/docker-imap-backup.
A weekly cron job runs a script which pulls the latest image and kicks off the backup.
Version
This issue has started happening on version v15.0.1
About the issue
Stack trace:
See the full redacted sync log -
imap-backup-redacted-error.txt
Relevant code: https://github.com/joeyates/imap-backup/blob/main/lib/imap/backup/flag_refresher.rb#L31
uids_and_flags
appears to have been nil, causing the error.This error happened 5 minutes into the job and fairly soon after
Folder 'Trash' caused a NoMethodError
which happens regularly due to Apple Mail servers so may not be particularly relevant. The backup tends to run for about 50 minutes most weeks.I kicked off a manual backup and confirmed it happened again at the same point.
Please let me know if there's anything else I can do to help debug the issue.