Hello again @mrm
I am currently running PS latest prealpha
(.17) on my DS920+ and no sync is happening, logtail
is very quiet no matter what I try.
I am using the following environment vars:
PUID=1030
PGID=100
TZ=Europe/London
PS_LIBRARY_DIR=/ps/library
PS_COPY_ASSETS_TO_LIBRARY=0
PS_SCAN_ALL_DRIVES=1
PS_FORCE_LOCAL_DB_REPLICA=0
PS_PROCESS_PRIORITY=BelowNormal
PS_CPU_LOAD_PERCENT=100
PS_FFMPEG_THREADS=3
PS_MAX_CONCURRENT_IMPORTS=3
PS_SHARP_THREADS_PER_PROCESS=2
PS_LOG_LEVEL=info
PS_TAIL_LOGS=1
There are two mountpaths bound to the container:
/ps/library
>/volume1/docker/photostructure/library
-/Archive
>/volume1/Archive
I created a docker-user
(id: 1030
) on DSM which has access to the above mount paths.
I verified these mount paths are R/W from within a container terminal session with:
sudo docker exec -u photostructure -it photostructure-server-prealpha bash
I have tried rebuilding, restarting sync, etc. but nothing appears to happen except for a quick “Syncing” UI message on /ps/library
which only contains previews, and no action whatsoever on the mount path that I actually need synced /Archive
Something that sticks out in the logs is:
2023-10-08T12:53:04.553Z sync info_ event.SharedState(/ps/library/.photostructure/cache-1030/shared-state)#783 save() { state:
{ pid: 783,
paused: false,
syncing: true,
events: [ { name: 'updateProgress', args: [], uid: '1jd7pkce8-8dx25zj' } ],
tasks: [] } }
2023-10-08T12:53:04.681Z sync warn_ Error onError() { event: 'nonFatal',
error:
'g: unhandledRejection: invalid clamp(256, 125, 100) at E (/opt/photostructure/bin/sync.js:14:24659); t.isTooBusy (/opt/photostructure/bin/sync.js:9:940173); a (/opt/photostructure/bin/sync.js:9:941886); t.doNotRun (/opt/pho…ostructure/bin/sync.js:9:140744)' }
Otherwise I’m 100% at a loss of what else I should try…
2.1-alpha.7
was somewhat syncing, but needed the occasional restart, leaving a lot of holes even after days being left to itself.
-prealpha.17
sits there doing apparently nothing.
The /Archive
folder is a mixed-content folder. No just photos. I used .NoMedia
extensively to prevent it from scanning non-applicable subdirs.