Asperson
IImmich
•Created by Asperson on 1/16/2025 in #help-desk-support
immich cli import with creating new album, "Failed to get all albums" error
On the last step of importing photos I receive from time to time that error: message: 'Failed to get all albums', error: 'Internal Server Error', statusCode: 500
immich-server docker logs:
[Nest] 7 - 01/16/2025, 3:11:31 PM WARN [Microservices:MetadataService] Asset aafada7a-26a9-4b07-b369-0d0f8246cbb4 has no time zone information
[Nest] 17 - 01/16/2025, 3:11:39 PM ERROR [Api:ErrorInterceptor~yyln7381] Unknown error: Error: timeout exceeded when trying to connect
Error: timeout exceeded when trying to connect
at Timeout._onTimeout (/usr/src/app/node_modules/pg-pool/index.js:205:27)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
[Nest] 17 - 01/16/2025, 3:11:40 PM ERROR [Api:GlobalExceptionFilter~396udj3v] Unknown error: Error: timeout exceeded when trying to connect
Error: timeout exceeded when trying to connect
at Timeout._onTimeout (/usr/src/app/node_modules/pg-pool/index.js:205:27)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
[Nest] 7 - 01/16/2025, 3:11:54 PM LOG [Microservices:PersonService] Detected 1 new faces in asset 1ba4e842-ba5e-4bef-b42a-1b0e2306bbb8
I've checked the DB - no corruptions there
docker-compose file doesn't have any resource limitations applied
immich is installed on Synology ds920+ (Intel Celeron J4125) with memory upgraded to 20 gb
it doesn't happen all the time, only when smart search and face-related jobs are active ( CPU is about 99% )
I understand that it's probably because of resource usage saturation, but I'm afraid with increasing amount of albums I might start receiving that error even when no jobs are running.
And thank you so much for such a great product, I plan to retire Synology Photo and use Immich instead
4 replies