-
-
Notifications
You must be signed in to change notification settings - Fork 145
Description
Describe the bug
Description
When trying to rename a recognized person in Memories via the ⋯ menu, the action fails with the error message:
Failed to rename 15 to Ida
The number 15 appears to be the internal face cluster ID, which is being used as the person identifier instead of being resolved correctly. The Nextcloud log also shows:
Error: Class "OC\Preview\Storage\Root" not found
at .../memories/lib/Controller/ImageController.php line 120
This appears to be a compatibility issue between Memories 7.8.2 and Nextcloud 33.
Expected behavior
The person should be renamed successfully and linked to a Nextcloud contact.
Actual behavior
The UI shows the error: Failed to rename 15 to Ida
The number 15 is the internal cluster ID. It seems the person identifier is not resolved correctly before the rename API call is made.
Nextcloud log:
Error: Class "OC\Preview\Storage\Root" not found
at .../memories/lib/Controller/ImageController.php line 120
Additional context
Face recognition itself works fine — faces are detected and grouped correctly. Only the renaming step fails.
This issue affects all recognized persons, not just one specific cluster. Every "Unnamed person" shows the same error when trying to rename, with different cluster IDs (e.g. "Failed to rename 15 to Ida", "Failed to rename 8 to ...", etc.). This suggests it is a systematic issue and not a problem with a single corrupted cluster.
Steps To Reproduce
- Open Memories in the browser
- Navigate to People / Persons
- Open a recognized person ("Unnamed person")
- Click the ⋯ menu → Rename
- Enter a name (e.g. "Ida") and confirm
- → Error: "Failed to rename 15 to Ida"
Platform
### Environment
| | |
|---|---|
| **Nextcloud version** | 33.0.0 |
| **Memories version** | 7.8.2 |
| **Recognize version** | 11.0.1 |
| **Browser** | Web (Chrome/Firefox) |
| **Install method** | Docker container |Screenshots
Additional context
Face recognition itself works fine — faces are detected and grouped correctly. Only the renaming step fails.
This issue affects all recognized persons, not just one specific cluster. Every "Unnamed person" shows the same error when trying to rename, with different cluster IDs (e.g. "Failed to rename 15 to Ida", "Failed to rename 8 to ...", etc.). This suggests it is a systematic issue and not a problem with a single corrupted cluster.
Additional context
Error: Class "OC\Preview\Storage\Root" not found
at .../memories/lib/Controller/ImageController.php line 120