Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File is not moved out of album directory on the filesystem when album is deleted #13096

Open
1 of 3 tasks
Estebiu opened this issue Oct 1, 2024 · 0 comments
Open
1 of 3 tasks

Comments

@Estebiu
Copy link

Estebiu commented Oct 1, 2024

The bug

I have storage template activated and configured so that files from an album are placed in their correspective directory on the filesystem.
When adding files to the album Immich correctly creates the directory and moves the files to the latter, but if i delete the album, the files just stay there in that directory: they are never moved back to where they were previously.

I think it would be better if they were moved back to their previous location.

In case you need it, my storage template is this one:
{{#if album}}{{album}}/{{y}}/{{MM}}-{{dd}}{{HH}}-{{mm}}-{{ss}}{{filename}}{{else}}/Camera/{{y}}/{{MM}}/{{dd}}/{{HH}}{{mm}}{{ss}}{{/if}}

The OS that Immich Server is running on

Arch (running on docker)

Version of Immich Server

v1.116.2

Version of Immich Mobile App

v1.116.2

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

standard docker-compose.yml file.

Your .env content

standard .env file.

Reproduction steps

  1. Abilitate Storage Template
  2. Make it so that files in album's are moved to another directory
  3. Delete the album from immich
  4. The files are still on that album's directory on the filesystem

Relevant log output

No response

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant