-
The bugTrying to start the machine learning service results in the following error before termination:
The OS that Immich Server is running onContainerised on Linux Ubuntu 22.04.4 LTS Version of Immich Serverv1.103.1 Version of Immich Mobile AppN/A Platform with the issue
Your docker-compose.yml contentapiVersion: apps/v1
kind: Deployment
metadata:
labels:
io.kompose.service: immich-machine-learning
name: immich-machine-learning
spec:
replicas: 1
selector:
matchLabels:
io.kompose.service: immich-machine-learning
strategy:
type: Recreate
template:
metadata:
labels:
io.kompose.service: immich-machine-learning
spec:
containers:
- image: ghcr.io/immich-app/immich-machine-learning:v1.103.1
name: immich-machine-learning
ports:
- containerPort: 3003
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 10m
memory: 64Mi
volumeMounts:
- mountPath: /cache
name: model-cache
restartPolicy: Always
volumes:
- name: model-cache
hostPath:
path: /volumes/immich/model-cache Your .env contentN/A Reproduction steps1. Apply the above kubernetes manifest
2. Observe that the container fails with the error Relevant log outputError: Unable to configure handler 'console' Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
lhjt
May 3, 2024
Replies: 1 comment 11 replies
-
This seems like a problem with your container environment. You're using kubernetes? Can you provide more detail? |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently I had to have the env var
MACHINE_LEARNING_PORT
set on the machine learning service; setting it fixed the problem 🤔