Error error_ sync.DirectorySync(/ps/library)

I’m running the docker compose alpha image and I keep getting

2024-06-02T17:44:21.803Z sync-3249 error_ sync.DirectorySync(/ps/library) onTaskRejected() { task:
{ ‘$ctor’: ‘models.Task’,
id: 2103,
fn: ‘syncFile’,
argsJSON: ‘{“path”:“/var/photos-photo-on1/2023/Jul/2023-07-15_DSC00852.jpg”}’,
priority: 0,
retries: 0 },
error:
‘i: aborted by new work at t.Abortable.throwIfAborted_ (/opt/photostructure/bin/sync.js:9:132539); g.throwIfAborted_ (/opt/photostructure/bin/sync.js:9:565402); q._run (/opt/photostructure/bin/sync.js:9:1208363); processTick…structure/bin/sync.js:9:1079795)’ }

and

2024-06-02T17:44:22.673Z sync-3249 error_ sync.DirectorySync(/var/photos-photo-on1) onTaskRejected() { task:
{ ‘$ctor’: ‘models.Task’,
id: 2105,
fn: ‘syncFile’,
argsJSON: ‘{“path”:“/var/photos-photo-on1/2023/Jul/2023-07-15_DSC00853.jpg”}’,
priority: 0,
retries: 0 },
error:
‘i: aborted by new work at t.Abortable.throwIfAborted_ (/opt/photostructure/bin/sync.js:9:132539); g.throwIfAborted_ (/opt/photostructure/bin/sync.js:9:565402); q._run (/opt/photostructure/bin/sync.js:9:1208363); processTick…structure/bin/sync.js:9:1079795)’ }

This is in docker running on a mac and /var/library and /var/photos-photo-on1 volumes are an SSD on that mac.

I have been tearing my hair out trying to get this to work at all. I run into both problems of the db being clearly corrupted or not read and problem of the task scanning the photo just all hanging and nothing scanning.

Any pointer on how to debug this?

Welcome to PhotoStructure, @fluffy!

Sorry you’re having issues, that’s frustrating.

If you’re on a Mac, this edition may work smoother (there’s macOS-specific code that should be more efficient than if you’re using docker):

(Make sure you’re on the beta branch!)