rbapo
rbapo
IImmich
Created by rbapo on 8/5/2023 in #help-desk-support
Unable to change Face Thumbnail
Hey folks, Ever since the ability to change the face thumbnail I've been trying to change some of the feature photos... but I always run into the below error in immich_microservces regardless of the photo that I choose:
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Unable to run job handler: Error: Expected integer for width but received -2 of type number
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Error: Expected integer for width but received -2 of type number
at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:124:10)
at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:442:16)
at Array.forEach (<anonymous>)
at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:437:38)
at MediaRepository.crop (/usr/src/app/dist/infra/repositories/media.repository.js:19:14)
at FacialRecognitionService.handleGenerateFaceThumbnail (/usr/src/app/dist/domain/facial-recognition/facial-recognition.services.js:149:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /usr/src/app/dist/domain/job/job.service.js:104:37
at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:342:28)
at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:525:24)
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Object:
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Unable to run job handler: Error: Expected integer for width but received -2 of type number
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Error: Expected integer for width but received -2 of type number
at Object.invalidParameterError (/usr/src/app/node_modules/sharp/lib/is.js:124:10)
at Sharp.<anonymous> (/usr/src/app/node_modules/sharp/lib/resize.js:442:16)
at Array.forEach (<anonymous>)
at Sharp.extract (/usr/src/app/node_modules/sharp/lib/resize.js:437:38)
at MediaRepository.crop (/usr/src/app/dist/infra/repositories/media.repository.js:19:14)
at FacialRecognitionService.handleGenerateFaceThumbnail (/usr/src/app/dist/domain/facial-recognition/facial-recognition.services.js:149:58)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /usr/src/app/dist/domain/job/job.service.js:104:37
at async Worker.processJob (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:342:28)
at async Worker.retryIfFailed (/usr/src/app/node_modules/bullmq/dist/cjs/classes/worker.js:525:24)
[Nest] 7 - 08/05/2023, 3:55:05 AM ERROR [JobService] Object:
Is this a known issue?
7 replies
IImmich
Created by rbapo on 6/27/2023 in #help-desk-support
Tagging Missing Objects/Faces/Clips repeats the same photos?
Hey folks, After setting up immich_machine_learning (it's awesome!) I wanted immich to go over and tag my photos with objects/faces/clips. I went into the job status page and clicked on missing for each one of these categories. Immich got a list of photos, tagged them, everything worked beautifully. At the end, each category had 2-8 failures - so I thought I could retry by clicking missing again at the job level. To my surprise - it looked like immich started processing a large number of files similar to the initial jobs. I then repeated the same thing this morning - and again - immich generated a few thousand files for the tag objects/faces jobs. My expectation was that it would only process the delta, did I set up something wrong here?
35 replies
IImmich
Created by rbapo on 6/23/2023 in #help-desk-support
immich_machine_learning failing due to TLS error
Hey folks, I'm trying to move my immich_machine_learning to a hosted instance in oracle cloud. When main.py starts running it throws the following error: requests.exceptions.SSLError:
HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /microsoft/resnet-50/resolve/main/config.json (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1002)')))
HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /microsoft/resnet-50/resolve/main/config.json (Caused by SSLError(SSLError(1, '[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1002)')))
Connecting to the docker via /bin/bash and trying to run apt update (just as an example to test https - returns the following):
root@6cc5f1456777:/usr/src/app# apt update
Err:1 https://deb.debian.org/debian bullseye InRelease
Could not handshake: A TLS fatal alert has been received. [IP: 199.232.82.132 443]
root@6cc5f1456777:/usr/src/app# apt update
Err:1 https://deb.debian.org/debian bullseye InRelease
Could not handshake: A TLS fatal alert has been received. [IP: 199.232.82.132 443]
The cert store on the image does seem to be populated. I thought this might be a problem with the image, so I grabbed the nginx image and tried running apt update on it - that one completed without any issues. My docker compose:
version: "3.8"

services:
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- model-cache:/cache
env_file:
- .env
restart: always

volumes:
model-cache:
version: "3.8"

services:
immich-machine-learning:
container_name: immich_machine_learning
image: ghcr.io/immich-app/immich-machine-learning:release
volumes:
- model-cache:/cache
env_file:
- .env
restart: always

volumes:
model-cache:
Any help would be appreciated 🙂
16 replies