#Error: Machine learning repository not been setup

1 messages · Page 1 of 1 (latest)

latent shell
#

mmich runs in a docker container.
http://192.168.26.110:3003 is defined as machine learning server

192.168.26.110 is reacheble from immich:
$docker exec -it immich_server curl -v http://192.168.26.110:3003

  • Trying 192.168.26.110:3003...
  • Connected to 192.168.26.110 (192.168.26.110) port 3003
  • using HTTP/1.x

GET / HTTP/1.1
Host: 192.168.26.110:3003
User-Agent: curl/8.14.1
Accept: /

  • Request completely sent off
    < HTTP/1.1 200 OK
    < date: Sun, 02 Aug 2026 15:41:20 GMT
    < server: uvicorn
    < content-length: 23
    < content-type: application/json
    <
  • Connection #0 to host 192.168.26.110 left intact
    {"message":"Immich ML"}

In the logfile the remote-ml instance is seen:
immich_server | [Nest] 25 - 08/02/2026, 6:17:30 PM LOG [Api:MachineLearningRepository] Machine learning server became healthy (http://192.168.26.110:3003).

But for every job que is see:
immich_server | [Nest] 7 - 08/02/2026, 6:17:25 PM ERROR [Microservices:{"source":"upload","id":"41eef934-043f-4102-9c1c-26e0f3f8db30"}] Unable to run job handler (AssetDetectFaces): Error: Machine learning repository not been setup
immich_server | Error: Machine learning repository not been setup
...

As result no tasks are scheduled to the remote-ml.

What to do to setup the Machine learning repository?

noble forumBOT
#

:wave: Hey @latent shell,

Thanks for reaching out to us. Please carefully read this message and follow the recommended actions. This will help us be more effective in our support effort and leave more time for building Immich immich.

References

#

Checklist

I have...

  1. :blue_square: verified I'm on the latest release(note that mobile app releases may take some time).
  2. :blue_square: read applicable release notes.
  3. :blue_square: reviewed the FAQs for known issues.
  4. :blue_square: reviewed Github for known issues.
  5. :blue_square: tried accessing Immich via local ip (without a custom reverse proxy).
  6. :blue_square: uploaded the relevant information (see below).
  7. :blue_square: tried an incognito window, disabled extensions, cleared mobile app cache, logged out and back in, different browsers, etc. as applicable

(an item can be marked as "complete" by reacting with the appropriate number)

Information

In order to be able to effectively help you, we need you to provide clear information to show what the problem is. The exact details needed vary per case, but here is a list of things to consider:

  • Your docker-compose.yml and .env files.
  • Logs from all the containers and their status (see above).
  • All the troubleshooting steps you've tried so far.
  • Any recent changes you've made to Immich or your system.
  • Details about your system (both software/OS and hardware).
  • Details about your storage (filesystems, type of disks, output of commands like fdisk -l and df -h).
  • The version of the Immich server, mobile app, and other relevant pieces.
  • Any other information that you think might be relevant.

Please paste files and logs with proper code formatting, and especially avoid blurry screenshots.
Without the right information we can't work out what the problem is. Help us help you ;)

If this ticket can be closed you can use the /close command, and re-open it later if needed.

gaunt lagoon
#

Have you tried restarting immich-server?

latent shell
gaunt lagoon
#

Please post the full log file

latent shell
gaunt lagoon
#

Does this error keep logging after the server has been up for a while? It seems to me like it's just catching a few jobs while everything is still initializing

latent shell
grim hornet