I'm currently testing the latest docker container webreaper/damselfly and am in the first stages of generating thumbnails and identifying objects and faces on a "small-ish" library before moving to my production/large image set.
Problem Report
docker logs -f damselfly was repeatedly throwing the following log entries and filling the log:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Tested Fix
I ran the following in the container and this fixed this issue:
apt-get -y install locales
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
Solution Discussion
Does it make sense for the project to install UTF-8 locales? I doubt it. Perhaps an environment variable in the docker compose/cli that allows the user to specify which locales should be installed.
Test Environment details:
System
.Net Version: v8.0.3
OS Version: Other 1.0.0.0
Client Runtime: Wasm
Server Architecture: Unix 6.8.0.40 (X64)
Processor Count: 1
Photo Collection
Folders: 3343
Images: 122668
Image File Size: 110.11 GB
Tags/Keywords: 176
Recognised Objects: 53973
Faces: 5493
People Identified: 48
Process Queue
Pending Metadata Scans: 5
Pending Thumbnails: 0
Pending AI Scans: 94063
Pending Keyword Updates: 10 (total keywords: 10)
I'm currently testing the latest docker container webreaper/damselfly and am in the first stages of generating thumbnails and identifying objects and faces on a "small-ish" library before moving to my production/large image set.
Problem Report
docker logs -f damselflywas repeatedly throwing the following log entries and filling the log:Tested Fix
I ran the following in the container and this fixed this issue:
Solution Discussion
Does it make sense for the project to install UTF-8 locales? I doubt it. Perhaps an environment variable in the docker compose/cli that allows the user to specify which locales should be installed.
Test Environment details:
System
.Net Version: v8.0.3
OS Version: Other 1.0.0.0
Client Runtime: Wasm
Server Architecture: Unix 6.8.0.40 (X64)
Processor Count: 1
Photo Collection
Folders: 3343
Images: 122668
Image File Size: 110.11 GB
Tags/Keywords: 176
Recognised Objects: 53973
Faces: 5493
People Identified: 48
Process Queue
Pending Metadata Scans: 5
Pending Thumbnails: 0
Pending AI Scans: 94063
Pending Keyword Updates: 10 (total keywords: 10)