mirror of
https://github.com/Comfy-Org/desktop.git
synced 2026-11-04 23:47:43 +00:00
[GH-ISSUE #1735] [Bug]: Critical data loss during Desktop migration: symlink target directories were emptied #532
Labels
No labels
area: desktop-app
Bounty
bug
bug-cop:answered
bug-cop:response-received
component: installer
component: preload
custom node
dependencies
Design
documentation
duplicate
enhancement
expected
frontend
good first issue
installation
Low-Priority
performance
Planned
platform: cross-platform
platform: windows
Potential Bug
Potential Bug
pull-request
question
refactor
Release
stale
User Support
V1
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/desktop#532
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AI-Hikaru on GitHub (Jun 8, 2026).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1735
App Version
Expected Behavior
The Desktop migration should preserve all existing user data.
In particular, if legacy ComfyUI folders are symbolic links, junctions, or other reparse points, the migration should not recursively delete, clean, empty, or otherwise modify the real target directories.
Expected behavior would be:
models,output, andcustom_nodesdirectories are preserved.Actual Behavior
After launching ComfyUI Desktop 0.24.1, I was shown the new screen asking me to choose between server/local. I selected Local, and a migration from my previous/legacy setup started.
After the migration completed, the real target directories used by my previous symbolic-link setup had been emptied.
This was not only a missing path/reference issue. The actual target folders on disk were emptied.
My previous linked target directories were:
After migration:
were emptied.
For:
the subfolders remained, but the files inside the subfolders were removed/emptied.
My storage layout was:
I was able to recover the
outputfolder using recovery software, but this was a critical data loss event.Steps to Reproduce
I cannot safely reproduce this again because it caused data loss, but the setup and sequence were:
The target drives were ReFS volumes on Windows Storage Spaces:
F:= mirrorR:= simple volumeLaunch ComfyUI Desktop 0.24.1.
When prompted to choose between server/local, select Local.
Let the legacy migration complete.
Check the real target directories used by the symbolic links.
Observed result: the real linked target directories were emptied, including
output,custom_nodes, and model files inside the model subfolders.This issue does not depend on a specific workflow JSON or custom node. It occurred during Desktop startup/migration before normal workflow usage.
Debug Logs
Browser Logs
No response
Settings JSON
No response
Other
No response