High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): init library scanning on start up (#5951)
Daniel Dietzler8fdd3aaed10d
diff --git a/server/src/immich/app.service.ts b/server/src/immich/app.service.tsindex 1ac1dd9ffc..bbd086ba8a 100644--- a/server/src/immich/app.service.ts+++ b/server/src/immich/app.service.ts@@ -2,6 +2,7 @@ import {AuthService,DatabaseService,JobService,+ LibraryService,ONE_HOUR,OpenGraphTags,ServerInfoService,@@ -44,6 +45,7 @@ export class AppService {private authService: AuthService,private configService: SystemConfigService,private jobService: JobService,+ private libraryService: LibraryService,private serverService: ServerInfoService,private sharedLinkService: SharedLinkService,private storageService: StorageService,@@ -64,6 +66,7 @@ export class AppService {await this.databaseService.init();await this.configService.init();this.storageService.init();+ await this.libraryService.init();await this.serverService.handleVersionCheck();this.logger.log(`Feature Flags: ${JSON.stringify(await this.serverService.getFeatures(), null, 2)}`);}