Skip to content

High performance self-hosted photo and video management solution.

fix: #11131 storage migration not moving archived files after template change (#11139)

Zack Pollard87e8c16a90b8
diff --git a/server/src/services/storage-template.service.ts b/server/src/services/storage-template.service.ts
index 1148ac49df..e067252553 100644
--- a/server/src/services/storage-template.service.ts
+++ b/server/src/services/storage-template.service.ts
@@ -145,7 +145,7 @@ export class StorageTemplateService implements OnEvents {
return JobStatus.SKIPPED;
}
const assetPagination = usePagination(JOBS_ASSET_PAGINATION_SIZE, (pagination) =>
- this.assetRepository.getAll(pagination, { withExif: true }),
+ this.assetRepository.getAll(pagination, { withExif: true, withArchived: true }),
);
const users = await this.userRepository.getList();