photos icon indicating copy to clipboard operation
photos copied to clipboard

Error Moving photo from one person to another or merging persons

Open SeekDaSky opened this issue 2 months ago • 6 comments

Describe the bug The Recognize plugin created two clusters for the same person, trying to merge them results in a 404 for the call MOVE /remote.php/dav/recognize/USER/faces/FACE_ID/FILE_NAME.

Merging two person suffers from the same bug

It is unclear to me whether this is a recognize bug or a photos bug, if this is not the right place I'll raise a similar issue in the recognize repo

To Reproduce Steps to reproduce the behavior:

  1. Use the recognize plugin
  2. Have it create 2 persons
  3. Try to merge them
  4. See error

Expected behavior The photo should be moved / the persons merged

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: Mac
  • OS: MacOS 15.7.1
  • Browser: Firefox
  • Version: 144

Browser log See issue body

How to access your browser console (Click to expand)

Chrome

  • Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
  • Alternative method:
    1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
    2. Click the “console” tab.

Safari

  • Press CMD + ALT + I to open the Web Inspector.
  • See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

IE9

  1. Press F12 to open the developer tools.
  2. Click the “console” tab.

Firefox

  • Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
  • or, if Firebug is installed (recommended):
    1. Press F12 to open Firebug.
    2. Click on the “console” tab.

Opera

  1. Press CTRL + SHIFT + I to open Dragonfly.
  2. Click on the “console” tab.

Additional context Add any other context about the problem here.

SeekDaSky avatar Oct 27 '25 11:10 SeekDaSky

same here

pangwa avatar Nov 05 '25 08:11 pangwa

Hi,

I have the same issue: Image

logs : { "reqId": "DBfuSbfgFA1OSl0uT8VU", "level": 1, "time": "2025-11-07T10:48:10+00:00", "remoteAddr": "", "user": "", "app": "no app in context", "method": "MOVE", "url": "/remote.php/dav/recognize/bjacottin/faces/56/20191030_172536.jpg", "message": "Uncaught exception", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36 OPR/123.0.0.0", "version": "32.0.1.2", "exception": { "Exception": "Sabre\DAV\Exception\NotFound", "Message": "", "Code": 0, "Trace": [ { "file": "/mnt/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php", "line": 95, "function": "getChild", "class": "OCA\Recognize\Dav\Faces\FaceRoot", "type": "->" }, { "file": "/mnt/nextcloud/apps/dav/lib/Connector/Sabre/QuotaPlugin.php", "line": 140, "function": "getNodeForPath", "class": "Sabre\DAV\Tree", "type": "->" }, { "file": "/mnt/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php", "line": 89, "function": "beforeMove", "class": "OCA\DAV\Connector\Sabre\QuotaPlugin", "type": "->" }, { "file": "/mnt/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php", "line": 603, "function": "emit", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/mnt/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php", "line": 89, "function": "httpMove", "class": "Sabre\DAV\CorePlugin", "type": "->" }, { "file": "/mnt/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php", "line": 472, "function": "emit", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/mnt/nextcloud/apps/dav/lib/Connector/Sabre/Server.php", "line": 211, "function": "invokeMethod", "class": "Sabre\DAV\Server", "type": "->" }, { "file": "/mnt/nextcloud/apps/dav/lib/Server.php", "line": 424, "function": "start", "class": "OCA\DAV\Connector\Sabre\Server", "type": "->" }, { "file": "/mnt/nextcloud/apps/dav/appinfo/v2/remote.php", "line": 22, "function": "exec", "class": "OCA\DAV\Server", "type": "->" }, { "file": "/mnt/nextcloud/remote.php", "line": 151, "args": [ "/mnt/nextcloud/apps/dav/appinfo/v2/remote.php" ], "function": "require_once" } ], "File": "/mnt/nextcloud/apps/recognize/lib/Dav/Faces/FaceRoot.php", "Line": 115, "message": "Uncaught exception", "exception": [], "CustomMessage": "Uncaught exception" }, "id": "690dce7083d05" }

axelere avatar Nov 07 '25 11:11 axelere

I also have this issue. At least the message seems to come from the photos app.

speendo avatar Nov 08 '25 20:11 speendo

I fallback to use memories to merge peoples. It works.

pangwa avatar Nov 12 '25 02:11 pangwa

Or Immich :) but yeah Photos app is still buggy up until now. I can't find the part in the code myself to see what causes it. But my suspicion is there should be a part of the code that chooses the remote.php/dav/recognize/... (which on its own gives a 404) but it should've done the in remote.php/dav/files/... or it could be that it is expecting recognize to handle it but it does not do that yet.

trajano avatar Dec 01 '25 22:12 trajano

Looking into that train of thought it appears to be likely due to https://github.com/nextcloud/recognize/issues/1422

trajano avatar Dec 01 '25 22:12 trajano