[BUG] External Library does not create albums automatically #1356

Closed
opened 2026-02-05 01:26:44 +03:00 by OVERLORD · 8 comments
Owner

Originally created by @dharapvj on GitHub (Sep 22, 2023).

The bug

Erstwhile --import option from immich CLI also supported an -al option due to which the folders from external library getting imported would also create albums.

Now with new External Library feature, photos are getting imported natively but they are not creating Albums.

The OS that Immich Server is running on

podman on ubuntu

Version of Immich Server

v1.79.0

Version of Immich Mobile App

v1.79.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

Same as docker-compose.yaml on immich github.

Your .env content

No special configuration relevant to this bug

Reproduction steps

1. Add external library as volume in docker-compose file
2. Add external library in user -> account settings
3. Let jobs finish all imports
4. Check albums page to see that there are no albums created

Additional information

No response

Originally created by @dharapvj on GitHub (Sep 22, 2023). ### The bug Erstwhile `--import` option from immich CLI also supported an `-al` option due to which the folders from external library getting imported would also create albums. Now with new External Library feature, photos are getting imported natively but they are not creating Albums. ### The OS that Immich Server is running on podman on ubuntu ### Version of Immich Server v1.79.0 ### Version of Immich Mobile App v1.79.0 ### Platform with the issue - [X] Server - [ ] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML Same as docker-compose.yaml on immich github. ``` ### Your .env content ```Shell No special configuration relevant to this bug ``` ### Reproduction steps ```bash 1. Add external library as volume in docker-compose file 2. Add external library in user -> account settings 3. Let jobs finish all imports 4. Check albums page to see that there are no albums created ``` ### Additional information _No response_
Author
Owner

@Gatherix commented on GitHub (Sep 22, 2023):

This doesn't seem like a bug, though it would be a much appreciated feature

@Gatherix commented on GitHub (Sep 22, 2023): This doesn't seem like a bug, though it would be a much appreciated feature
Author
Owner

@dharapvj commented on GitHub (Sep 22, 2023):

i thought of it as a bug because I felt External library feature as a "natural progression" of import feature in CLI and that feature offered album creation.

@dharapvj commented on GitHub (Sep 22, 2023): i thought of it as a bug because I felt External library feature as a "natural progression" of import feature in CLI and that feature offered album creation.
Author
Owner

@wechsler42 commented on GitHub (Sep 23, 2023):

Well, I second that. Automatic creation of albums from external libraries would be really a nice feature .

@wechsler42 commented on GitHub (Sep 23, 2023): Well, I second that. Automatic creation of albums from external libraries would be really a nice feature .
Author
Owner

@jrasm91 commented on GitHub (Sep 23, 2023):

Definitely not a bug, since it was never designed to do that in the first place. A feature request is more appropriate though. There are actually a lot of library enhancement requests, so it would be good to make a list and include this one as well.

@jrasm91 commented on GitHub (Sep 23, 2023): Definitely not a bug, since it was never designed to do that in the first place. A feature request is more appropriate though. There are actually a lot of library enhancement requests, so it would be good to make a list and include this one as well.
Author
Owner

@swap83 commented on GitHub (Sep 25, 2023):

#4186

@swap83 commented on GitHub (Sep 25, 2023): #4186
Author
Owner

@alvistar commented on GitHub (Sep 26, 2023):

Hello,
I had the same issue. For quick and dirty workaround I wrote a python script to create albums from file structure

https://github.com/alvistar/immich-albums

Main issue is that the script needs also access directly to postgres as API to lookup an asset by oiriginal path is not exposed in the controller.

I am sharing hoping this can help somehow and eventually this functionality will be integrated in CLI.

@alvistar commented on GitHub (Sep 26, 2023): Hello, I had the same issue. For quick and dirty workaround I wrote a python script to create albums from file structure https://github.com/alvistar/immich-albums Main issue is that the script needs also access directly to postgres as API to lookup an asset by oiriginal path is not exposed in the controller. I am sharing hoping this can help somehow and eventually this functionality will be integrated in CLI.
Author
Owner

@etnoy commented on GitHub (Sep 26, 2023):

Hello, I had the same issue. For quick and dirty workaround I wrote a python script to create albums from file structure

https://github.com/alvistar/immich-albums

Main issue is that the script needs also access directly to postgres as API to lookup an asset by oiriginal path is not exposed in the controller.

I am sharing hoping this can help somehow and eventually this functionality will be integrated in CLI.

that looks very nice. Maybe you can open a feature request to expose that API? We absolutely want to support external API access for relevant usecases :)

@etnoy commented on GitHub (Sep 26, 2023): > Hello, I had the same issue. For quick and dirty workaround I wrote a python script to create albums from file structure > > https://github.com/alvistar/immich-albums > > Main issue is that the script needs also access directly to postgres as API to lookup an asset by oiriginal path is not exposed in the controller. > > I am sharing hoping this can help somehow and eventually this functionality will be integrated in CLI. that looks very nice. Maybe you can open a feature request to expose that API? We absolutely want to support external API access for relevant usecases :)
Author
Owner

@PJGitHub9 commented on GitHub (Sep 26, 2023):

Yeah same issue here. When i try use the import flag, it asks me if i want to upload all the images which i dont want to do.

@PJGitHub9 commented on GitHub (Sep 26, 2023): Yeah same issue here. When i try use the import flag, it asks me if i want to upload all the images which i dont want to do.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#1356