Skip to content

Folder structure of external libraries does not correspond to the actual folder structure #24555

Description

@lantura

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

Folder structure of external libraries (immich server) does not correspond to the actual folder structure
The folder structure of an external folder is not displayed correctly in immich server.
The folders are sorted by year and within these folders by month and a short description of the content.
However, if a year folder contains only a single subfolder, the folder structure is not transferred to immich. Instead, these folders are displayed at the year folder level, even though the structure on the hard drive is different.
It appears that if there is only one subfolder in such a year folder, the parent structure of the year folder is not transferred (see, for example, 1984). If another folder is subsequently saved in the year folder, it is not displayed despite repeated rescans.
In the mobile version of immich, however, the folder structure is displayed correctly, as it is in Windows Explorer.

  1. Is this error known?
  2. Why are new folders not read in despite rescan?
  3. Why does the display of the folder structure differ between the mobile app and the server version?

View Windows Explorer:
Image

View external folder in immich:
Image

immich unraid template:

Image

The OS that Immich Server is running on

Unraid v7.2.2

Version of Immich Server

v2.3.1

Version of Immich Mobile App

n/a

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

see screenshot "immich unraid template"

Your .env content

see screenshot "immich unraid template"

Reproduction steps

  1. Scan external library
  2. Rescan external library

...

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions