External Library Management faulty validation #2689

Closed
opened 2026-02-05 06:45:26 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @JW-CH on GitHub (Mar 28, 2024).

The bug

More Infos here: #8286

When declaring 'IMMICH_MEDIA_LOCATION' to '/photos' and trying to import an external library with the path '/photos_library', the validation says, 'Cannot use media upload folder for external libraries', which is wrong.

See additional information

The OS that Immich Server is running on

?

Version of Immich Server

v1.99

Version of Immich Mobile App

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

see https://github.com/immich-app/immich/discussions/8286

Your .env content

see https://github.com/immich-app/immich/discussions/8286

Reproduction steps

1. Set up env variable
2. Set up external library

Additional information

9b705e4450/server/src/services/library.service.ts (L321-L324)

9b705e4450/server/src/cores/storage.core.ts (L117-L119)

Originally created by @JW-CH on GitHub (Mar 28, 2024). ### The bug More Infos here: #8286 When declaring 'IMMICH_MEDIA_LOCATION' to '/photos' and trying to import an external library with the path '/photos_library', the validation says, 'Cannot use media upload folder for external libraries', which is wrong. See additional information ### The OS that Immich Server is running on ? ### Version of Immich Server v1.99 ### Version of Immich Mobile App - ### Platform with the issue - [X] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML see https://github.com/immich-app/immich/discussions/8286 ``` ### Your .env content ```Shell see https://github.com/immich-app/immich/discussions/8286 ``` ### Reproduction steps ```bash 1. Set up env variable 2. Set up external library ``` ### Additional information https://github.com/immich-app/immich/blob/9b705e445076db9206bc7ee4b0a878372819de60/server/src/services/library.service.ts#L321-L324 https://github.com/immich-app/immich/blob/9b705e445076db9206bc7ee4b0a878372819de60/server/src/cores/storage.core.ts#L117-L119
OVERLORD added the 🗄️servergood first issueexternal-library labels 2026-02-05 06:45:26 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#2689