Skip to content

UNIQUE constraint failed: Files.path #83

Open
@dlqqq

Description

@dlqqq

Description

Moving a file in-band sometimes raises this exception:

[E 2025-06-06 11:15:55.088 ServerApp] UNIQUE constraint failed: Files.path

I think this issue happens when you move a file to a path previously occupied by a file which was deleted out-of-band. My hypothesis is that you can reproduce by:

  • Create a new file foo.txt
  • Delete foo.txt out-of-band
  • Create a new file bar.txt and move it in-band to foo.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions