[BUG] web: search crashes when machine learning disabled #1900

Closed
opened 2026-02-05 04:24:02 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @waclaw66 on GitHub (Dec 30, 2023).

The bug

When machine learning is disabled Immich shouldn't show message like below.
Instead of that album name search and file name search should still work.
Btw. album search doesn't work even when machine learning is enabled.

obrazek

pro 30 00:53:07 server immich-server-dev[1925230]:     at processTicksAndRejections (node:internal/process/task_queues:95:5)] Error: CLIP is not enabled
pro 30 00:56:58 server immich-server-dev[1925230]: [Nest] 1925230  - 30. 12. 2023 0:56:58   ERROR [Error: CLIP is not enabled
pro 30 00:56:58 server immich-server-dev[1925230]:     at SearchService.search (/opt/immich/server/src/domain/search/search.service.ts:64:13)
pro 30 00:56:58 server immich-server-dev[1925230]:     at processTicksAndRejections (node:internal/process/task_queues:95:5)] Failed to search

The OS that Immich Server is running on

Fedora 39

Version of Immich Server

v1.91.4

Version of Immich Mobile App

not relevant

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

1. disable machine learning
2. search something
3. crash

Additional information

No response

Originally created by @waclaw66 on GitHub (Dec 30, 2023). ### The bug When machine learning is disabled Immich shouldn't show message like below. Instead of that album name search and file name search should still work. Btw. album search doesn't work even when machine learning is enabled. ![obrazek](https://github.com/immich-app/immich/assets/15554561/41722aba-9e36-4997-a90d-60c3bd6ef963) ``` pro 30 00:53:07 server immich-server-dev[1925230]: at processTicksAndRejections (node:internal/process/task_queues:95:5)] Error: CLIP is not enabled pro 30 00:56:58 server immich-server-dev[1925230]: [Nest] 1925230 - 30. 12. 2023 0:56:58 ERROR [Error: CLIP is not enabled pro 30 00:56:58 server immich-server-dev[1925230]: at SearchService.search (/opt/immich/server/src/domain/search/search.service.ts:64:13) pro 30 00:56:58 server immich-server-dev[1925230]: at processTicksAndRejections (node:internal/process/task_queues:95:5)] Failed to search ``` ### The OS that Immich Server is running on Fedora 39 ### Version of Immich Server v1.91.4 ### Version of Immich Mobile App not relevant ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML not relevant ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps ```bash 1. disable machine learning 2. search something 3. crash ``` ### Additional information _No response_
Author
Owner

@aviv926 commented on GitHub (Dec 30, 2023):

it is not possible to search for albums or file names after the removal of Typesense,(https://github.com/immich-app/immich/issues/5982)
but this is something that will return in the future.

@aviv926 commented on GitHub (Dec 30, 2023): it is not possible to search for albums or file names after the removal of Typesense,(https://github.com/immich-app/immich/issues/5982) but this is something that will return in the future.
Author
Owner

@jrasm91 commented on GitHub (Mar 22, 2024):

This should have been addressed with recent search enhancements.

@jrasm91 commented on GitHub (Mar 22, 2024): This should have been addressed with recent search enhancements.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1900