I imported tens of thousands of photos. The progress bar was seeing tens of thousands of photos. They processed suspiciously fast (less than 1 hour). Sure enough, there are only about 2,500 assets in the library. Way too few even if I had a 50% rate of duplication…
So I looked in the logs. I see A LOT of errors.
This is 1.0.0-beta.4 on Docker (specifically a NAS running UNRAID)
I tried to send the logs through the UI, that fails also.
{"ts":1623249885307,"l":"debug","ctx":"ChildProcess","msg":"execFile()","meta":{"command":"/ps/app/tools/linux-x64/jpegtran/jpegtran","args":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"],"maxAgeMs":30000}}
{"ts":1623249885312,"l":"warn","ctx":"ChildProcess","msg":"stdoutResult(): on(error)","meta":{"cmd":"/ps/app/tools/linux-x64/jpegtran/jpegtran","args":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"],"opts":{"timeout":30000},"error":{"errno":-2,"code":"ENOENT","syscall":"spawn /ps/app/tools/linux-x64/jpegtran/jpegtran","path":"/ps/app/tools/linux-x64/jpegtran/jpegtran","spawnargs":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"],"stack":["Error: spawn /ps/app/tools/linux-x64/jpegtran/jpegtran ENOENT"," at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)"," at onErrorNT (node:internal/child_process:480:16)"," at processTicksAndRejections (node:internal/process/task_queues:83:21)"]}}}
{"ts":1623249885312,"l":"warn","ctx":"Deferred({\"cmd\":\"/ps/app/tools/linux-x64/jpegtran/jpegtran\",\"args\":[\"-outfile\",\"/dev/null\",\"/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg\"]})","msg":".reject()","meta":{"errno":-2,"code":"ENOENT","syscall":"spawn /ps/app/tools/linux-x64/jpegtran/jpegtran","path":"/ps/app/tools/linux-x64/jpegtran/jpegtran","spawnargs":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"],"stack":["Error: spawn /ps/app/tools/linux-x64/jpegtran/jpegtran ENOENT"," at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)"," at onErrorNT (node:internal/child_process:480:16)"," at processTicksAndRejections (node:internal/process/task_queues:83:21)"]}}
{"ts":1623249885312,"l":"info","ctx":"Deferred(AssetFileImporter(/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg).apply)","msg":".reject()","meta":{"cause":{"cause":{"errno":-2,"code":"ENOENT","syscall":"spawn /ps/app/tools/linux-x64/jpegtran/jpegtran","path":"/ps/app/tools/linux-x64/jpegtran/jpegtran","spawnargs":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"]},"retriable":false,"fatal":false},"retriable":false,"fatal":false,"stack":["Error: spawn /ps/app/tools/linux-x64/jpegtran/jpegtran ENOENT"," at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)"," at onErrorNT (node:internal/child_process:480:16)"," at processTicksAndRejections (node:internal/process/task_queues:83:21)"]}}
{"ts":1623249885312,"l":"debug","ctx":"ValidFile","msg":"isIgnorableValidationError","meta":{"result":false}}
{"ts":1623249885312,"l":"debug","ctx":"ChildProcess","msg":"stdoutResult.errorIsRetriable()","meta":{"result":false,"error":{"errno":-2,"code":"ENOENT","syscall":"spawn /ps/app/tools/linux-x64/jpegtran/jpegtran","path":"/ps/app/tools/linux-x64/jpegtran/jpegtran","spawnargs":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"],"stack":["Error: spawn /ps/app/tools/linux-x64/jpegtran/jpegtran ENOENT"," at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)"," at onErrorNT (node:internal/child_process:480:16)"," at processTicksAndRejections (node:internal/process/task_queues:83:21)"]},"cmd":"/ps/app/tools/linux-x64/jpegtran/jpegtran","args":["-outfile","/dev/null","/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg"]}}
{"ts":1623249885312,"l":"debug","ctx":"AssetFileFinder(/pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg)","msg":"apply(): validFile rejected: Error: invalid file /pictures/201511 November 2016/00016IMG_00016_BURST20161114172221_COVER.jpg: code ENOENT: spawn /ps/app/tools/linux-x64/jpegtran/jpegtran ENOENT⁶³²"}