How do I fix machine-learning container "Control server error: Permission denied"?
🗄️Server❓Question
Hello, I run Immich v2.6.2 on TrueNAS Scale. I re-installed Immich recently and notied an error message in the machine-learning container workload log after starting Immich:
2026-03-26 07:07:05.595706+00:00[2;36m[03/26/26 07:07:05][0m[2;36m [0m[34mINFO [0m Starting gunicorn [1;36m25.1[0m.[1;36m0[0m 2026-03-26 07:07:05.596641+00:00[2;36m[03/26/26 07:07:05][0m[2;36m [0m[34mINFO [0m Listening at: [4;94mhttp://[0m[1m[[0m::[1m][0m:[1;36m32002[0m[1m([0m[1;36m51[0m[1m)[0m 2026-03-26 07:07:05.597290+00:00[2;36m[03/26/26 07:07:05][0m[2;36m [0m[34mINFO [0m Using worker: immich_ml.config.CustomUvicornWorker 2026-03-26 07:07:05.600046+00:00[2;36m[03/26/26 07:07:05][0m[2;36m [0m[1;31mERROR [0m Control server error: [1m[[0mErrno [1;36m13[0m[1m][0m Permission denied 2026-03-26 07:07:05.603873+00:00[2;36m[03/26/26 07:07:05][0m[2;36m [0m[34mINFO [0m Booting worker with pid: [1;36m56[0m 2026-03-26 07:07:07.772196+00:00[2;36m[03/26/26 07:07:07][0m[2;36m [0m[34mINFO [0m Started server process [1m[[0m[1;36m56[0m[1m][0m 2026-03-26 07:07:07.772788+00:00[2;36m[03/26/26 07:07:07][0m[2;36m [0m[34mINFO [0m Waiting for application startup. 2026-03-26 07:07:07.773658+00:00[2;36m[03/26/26 07:07:07][0m[2;36m [0m[34mINFO [0m Application startup complete.
I saw the error comes from gunicorn, and that disabling gunicorn control socket fixes the error, but I have no idead how to do that. How do I fix this? Do I need to fix this?
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
I
Immich
A place to hang out, get support, discuss Immich, get announcements about releases and anything else going on.