Immich phone app fail to apply storage model with album variable on asset upload #7759

Closed
opened 2026-02-20 05:06:42 -05:00 by deekerman · 0 comments
Owner

Originally created by @anasm2010 on GitHub (Jan 9, 2026).

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

  • Yes

The bug

I’m using the Immich Android app.

I enabled album backup to the Immich server and activated album sync.

On the Immich server, I’m using the following storage template: {{#if album}}{{{album}}}{{else}}no_album_{{yy}}{{/if}}/{{filename}}

After the upload completes, the Immich server evaluates the album variable as empty, so the files are uploaded to the no_album_yy folder instead of the album folder. To fix this, I have to run a storage model migration to move the images to the correct folders.

I think that in the asset upload API, an explicit parameter to define the album could be added to force uploads into a specific album. This would also be useful for manual uploads when we want to force files into a specific folder or album.

The OS that Immich Server is running on

official container

Version of Immich Server

v2

Version of Immich Mobile App

v2

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

Official docker compose

Your .env content

Same as official env

Reproduction steps

1.start server
2.set storage model to {{#if album}}{{{album}}}{{else}}no_album_{{yy}}{{/if}}/{{filename}}
3.configure on andoid app backup of album
...

Relevant log output


Additional information

No response

Originally created by @anasm2010 on GitHub (Jan 9, 2026). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug I’m using the Immich Android app. I enabled album backup to the Immich server and activated album sync. On the Immich server, I’m using the following storage template: `{{#if album}}{{{album}}}{{else}}no_album_{{yy}}{{/if}}/{{filename}}` After the upload completes, the Immich server evaluates the album variable as empty, so the files are uploaded to the no_album_yy folder instead of the album folder. To fix this, I have to run a storage model migration to move the images to the correct folders. I think that in the asset upload API, an explicit parameter to define the album could be added to force uploads into a specific album. This would also be useful for manual uploads when we want to force files into a specific folder or album. ### The OS that Immich Server is running on official container ### Version of Immich Server v2 ### Version of Immich Mobile App v2 ### Platform with the issue - [x] Server - [ ] Web - [x] Mobile ### Device make and model _No response_ ### Your docker-compose.yml content ```YAML Official docker compose ``` ### Your .env content ```Shell Same as official env ``` ### Reproduction steps 1.start server 2.set storage model to {{#if album}}{{{album}}}{{else}}no_album_{{yy}}{{/if}}/{{filename}} 3.configure on andoid app backup of album ... ### Relevant log output ```shell ``` ### Additional information _No response_
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/immich#7759
No description provided.