Error when creating smart albums.

Hi all, I've pulled the latest images from Docker, and have the latest Android app version, but see this error when I try to create smart albums. Any pointers?
[SuperIsolate (in isolate)] [INFO] [2025-08-16 17:10:08.274870] Starting isolate operation IsolateOperation.generateFaceThumbnails in isolate
[FaceThumbnailGenerator] [INFO] [2025-08-16 17:10:08.636044] Generated face thumbnails
[EntityService] [INFO] [2025-08-16 17:10:10.188637] EntityKeyNotFound generating key for type EntityType.smartAlbum
[SmartAlbumPeople] [SEVERE] [2025-08-16 17:10:10.244188] Error saving smart album config
⤷ id: droid_47doH7l9687G1Ebj3CBzo3
⤷ type: DioException
⤷ error: DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

⤷ trace: #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 EntityGateway.createKey (package:photos/gateways/entity_gw.dart:16)
<asynchronous suspension>
...
#3 EntityService.addOrUpdate (package:photos/services/entity_service.dart:66)
<asynchronous suspension>
#4 SmartAlbumsService._addOrUpdateEntity (package:photos/services/smart_albums_service.dart:253)
<asynchronous suspension>
#5 SmartAlbumsService.saveConfig (package:photos/services/smart_albums_service.dart:225)
<asynchronous suspension>
#6 _SmartAlbumPeopleState.build.<anonymous closure>.<anonymous closure> (package:photos/ui/collections/album/smart_album_people.dart:169)
<asynchronous suspension>
[SuperIsolate (in isolate)] [INFO] [2025-08-16 17:10:08.274870] Starting isolate operation IsolateOperation.generateFaceThumbnails in isolate
[FaceThumbnailGenerator] [INFO] [2025-08-16 17:10:08.636044] Generated face thumbnails
[EntityService] [INFO] [2025-08-16 17:10:10.188637] EntityKeyNotFound generating key for type EntityType.smartAlbum
[SmartAlbumPeople] [SEVERE] [2025-08-16 17:10:10.244188] Error saving smart album config
⤷ id: droid_47doH7l9687G1Ebj3CBzo3
⤷ type: DioException
⤷ error: DioException [bad response]: This exception was thrown because the response has a status code of 400 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 400 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

⤷ trace: #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 EntityGateway.createKey (package:photos/gateways/entity_gw.dart:16)
<asynchronous suspension>
...
#3 EntityService.addOrUpdate (package:photos/services/entity_service.dart:66)
<asynchronous suspension>
#4 SmartAlbumsService._addOrUpdateEntity (package:photos/services/smart_albums_service.dart:253)
<asynchronous suspension>
#5 SmartAlbumsService.saveConfig (package:photos/services/smart_albums_service.dart:225)
<asynchronous suspension>
#6 _SmartAlbumPeopleState.build.<anonymous closure>.<anonymous closure> (package:photos/ui/collections/album/smart_album_people.dart:169)
<asynchronous suspension>
9 Replies
Ducky
Ducky3mo ago
Sorry, I couldn't find an answer. -# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
Ducky
Ducky3mo ago
🔍 Similar Solved Posts
Found some similar posts that might help:
📋 Check these out:
O'Neill
O'Neill3mo ago
Had the same issue before. I noticed also a PostgreSQL update. Do you use an external PostgreSQL Server?
hifx
hifxOP3mo ago
No, I use the postgres config as part of the quickstart script..I see it's pinned to v15 though. Is a different version warranted?
Manav
Manav3mo ago
15 should be fine. While I don't know what is exactly happening in your setup, I can give some background which might help you find the issue: So smart albums is a new feature that required some change both in museum code and also some DB migration. From the error it seems that the museum you're running is still the older one, the one that doesn't have support for smart albums OR somehow the DB migration has not run. The second case really should never happen, so it is either the first, or something unrelated going on.
Manav
Manav3mo ago
GitHub
Build software better, together
GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.
From An unknown user
From An unknown user
From An unknown user
Manav
Manav3mo ago
The image name includes the commit it was made from (https://github.com/ente-io/ente/tree/ghcr/server) You can check your museum version (commit) by using https://api.example.org/ping (e.g. https://api.ente.io/ping)
GitHub
GitHub - ente-io/ente at ghcr/server
🔒 End-to-end encrypted cloud for photos, videos and 2FA secrets. - GitHub - ente-io/ente at ghcr/server
hifx
hifxOP3mo ago
Hey, thanks for the help. Everything seems to be working fine again. Here's what I did: 1. Stop the stack 2. Run docker compose pull again (though, nothing seemed to actually happen here, as this was already run 3. Start the stack again Smart albums now functioning. Not sure what the core of the issue was, but probably related to what you pointed out @Manav . Thank you both for your help.
Ducky
Ducky3mo ago
Thread marked as solved. It will be closed in <t:1755605157:R>. This thread is now closed.

Did you find this page helpful?