Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Borg backup of Nextcloud Loose Previous Tagged Faces

未关闭
#1,576 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
活跃
技术栈
docker, php, postgresql
领域
backend, database

调研方向

The payload names no source files, tests or entry points, so the code location is not given. Start by working out how Recognize stores face clusters and person names in the Postgres database, and how its clustering job reassigns faces when it re-runs after a restore. Done would mean either a documented, tested export and restore path for those assignments, or a clear maintainer decision that the behaviour is intended. The reporter's request is a design question, so a first-timer should confirm the scope with maintainers before writing code.

由索引模型根据 Issue 内容生成。

描述

bug
Which version of recognize are you using?

13.1.0

Enabled Modes

Face recognition

TensorFlow mode

WASM mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

35.0.1

Which Operating system do you have installed?

Windows 11 Pro + Docker Desktop 4.95.0 / 29.8.2 on WSL 3.0.3.0

Which database are you running Nextcloud on?

Postgress 18.6

Which Docker container are you using to run Nextcloud? (if applicable)

AIO

How much RAM does your server have?

64gb

What processor Architecture does your CPU have?

AMD Ryzen 9 5950X - x86-64 / AMD64

Describe the Bug

After restoring Nextcloud from a recent AIO Borg backup, the photos themselves were intact, but much of the face-recognition work was not preserved correctly. Recognize had previously grouped faces, and I had spent considerable time manually identifying and correcting those groups. After the restore, some person names survived, but many were missing, fragmented, or incorrectly reassigned.

Because the Borg backup was current, the likely issue is not stale data. The more probable explanation is that Recognize restored its database state and then re-ran face processing or clustering, which altered some of the manually curated identity assignments. In other words, the physical photos were protected, but the human-added face identification and clustering state was not reliably preserved through restore and reprocessing.

That is the gap I am trying to solve: how to back up or export the Recognize face/person metadata independently so that a future restore does not require redoing hours of manual tagging.

Expected Behavior

After restoring from a current AIO Borg backup, I expected my existing Recognize face clusters, person names, and manual corrections to remain intact. The photos themselves were restored correctly, but many face assignments were missing, fragmented, or incorrect afterward, while some survived. Since Recognize is supposed to preserve existing cluster assignments and manual edits during subsequent clustering, I would not expect a restore/reprocessing cycle to materially alter previously curated identities.

To Reproduce
  1. Use Nextcloud AIO with Recognize enabled and allow face detection/clustering to complete.
  2. Manually name several face clusters and correct some incorrect face assignments.
  3. Create a current AIO Borg backup after those manual changes have been made.
  4. Restore Nextcloud from that Borg backup.
  5. Start Nextcloud normally and allow Recognize/background jobs to resume processing.
  6. Open Memories/Recognize People view and compare the restored face groups with the pre-backup state.

Observed result: some person names and face assignments are preserved, but others are missing, split into new clusters, or incorrectly reassigned.

Expected result: the restored face clusters, person names, and manual corrections should remain consistent with the state captured in the backup.

Debug log

No response

主要语言
PHP
星标
701
派生
70
平均合并
7 天 12 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/recognize 的其他 Issue

查看 nextcloud/recognize 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。