[GH-ISSUE #1395] [Bug]: Config is deleted when updating #391

Closed
opened 2026-10-31 22:12:26 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @Z-nonymous on GitHub (Nov 2, 2025).
Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1395

Originally assigned to: @benceruleanlu on GitHub.

App Version

While updating to 0.5.3 (from 0.5.5), the files inside the config folder were all deleted and all configuration was lost (workflows, models, output files ...).

This is a Windows installation.

What is strange is I had some folders for instance in ComfyUI/config/output or in ComfyUI/config/user/default/workflows and the folders are still there but all the files inside are gone.

Expected Behavior

The contents in ComfyUI/config/user/default folder should not be deleted and recreated when updating ComfyUI

Actual Behavior

The install/update was hanging for several minutes, and it deleted all current configuration 'ComfyUI/config/user/default'

Steps to Reproduce

Install 0.5.3, save some workflows and models, then update to 0.5.5

Debug Logs

I started the app, and I chose 'restart and update" and the log is:

main.log_2025-11-02T09-55-18-362Z.log :

[2025-11-02 10:47:11.045] [info]  Using uv at D:\Apps\ComfyUI\resources\uv\win\uv.exe
[2025-11-02 10:47:11.046] [info]  Install state: installed
[2025-11-02 10:47:11.047] [info]  Validating installation. Recorded state: [installed]
[2025-11-02 10:47:11.049] [info]  Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt
[2025-11-02 10:47:11.049] [info]  Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt
[2025-11-02 10:47:11.050] [info]  Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt in D:\Apps\ComfyUI\config
[2025-11-02 10:47:12.022] [info]  Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt
[2025-11-02 10:47:12.022] [info]  Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt
[2025-11-02 10:47:12.022] [info]  Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt in D:\Apps\ComfyUI\config
[2025-11-02 10:47:12.287] [info]  Validation result: isValid:true, state:installed {"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}
[2025-11-02 10:47:13.208] [info]  Server start
[2025-11-02 10:47:13.225] [info]  Running command: D:\Apps\ComfyUI\config\.venv\Scripts\python.exe D:\Apps\ComfyUI\resources\ComfyUI\main.py --user-directory D:\Apps\ComfyUI\config\user --input-directory D:\Apps\ComfyUI\config\input --output-directory D:\Apps\ComfyUI\config\output --front-end-root D:\Apps\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app --base-directory D:\Apps\ComfyUI\config --extra-model-paths-config C:\Users\DCLXVI\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 in D:\Apps\ComfyUI\config
[2025-11-02 10:47:13.297] [info]  Received renderer-ready message!
[2025-11-02 10:47:13.297] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.298] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.298] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.298] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.298] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.298] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.299] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.299] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.299] [info]  Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}}
[2025-11-02 10:47:13.299] [info]  Sending queued message {"channel":"loading-progress","data":{"status":"starting-server"}}
[2025-11-02 10:47:43.206] [error] @todesktop/runtime: alwaysResolve: Promise timed out after 30000ms
[2025-11-02 10:47:43.348] [info]  @todesktop/runtime: Checking for update
[2025-11-02 10:47:43.348] [info]  @todesktop/runtime: AutoUpdater: checking-for-update
[2025-11-02 10:47:43.620] [info]  @todesktop/runtime: Found version 0.5.5 (url: ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe)
[2025-11-02 10:47:43.620] [info]  @todesktop/runtime: AutoUpdater: update-available {"version":"0.5.5","files":[{"url":"ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe","sha512":"C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==","size":122186808}],"path":"ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe","sha512":"C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==","releaseDate":"2025-10-30T17:05:16.615Z"}
[2025-11-02 10:47:43.620] [info]  @todesktop/runtime: Downloading update from ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe
[2025-11-02 10:47:43.628] [info]  @todesktop/runtime: Cached update sha512 checksum doesn't match the latest available update. New update must be downloaded. Cached: nszotDnHR56gFCyfD6gw3E3mdk1icLjzYCVwmpd/MBgwh5VNTSChKVnWtUnwtzp2sFwD0Vj8s+OoxcHrkVLExg==, expected: C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==. Directory for cached update will be cleaned
[2025-11-02 10:47:43.631] [info]  @todesktop/runtime: Download block maps (old: "https://updater.comfy.org/ComfyUI%20Setup%200.5.3%20-%20Build%20251030f517h5mhh-x64.exe.blockmap", new: https://updater.comfy.org/ComfyUI%20Setup%200.5.5%20-%20Build%20251030f517h5mhh-x64.exe.blockmap)
[2025-11-02 10:47:43.949] [error] @todesktop/runtime: Cannot download differentially, fallback to full download: Error: Cannot download "https://download.todesktop.com/241012ess7yxs0e/ComfyUI%20Setup%200.5.3%20-%20Build%20251030f517h5mhh-x64.exe.blockmap", status 404: 
    at ClientRequest.<anonymous> (D:\Apps\ComfyUI\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:229:34)
    at ClientRequest.emit (node:events:531:35)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115224)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
[2025-11-02 10:47:45.228] [info]  @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":41484288,"transferred":41484288,"percent":33.9515277295729,"bytesPerSecond":40992379}
[2025-11-02 10:47:46.229] [info]  @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":41656302,"transferred":83140590,"percent":68.04383497766796,"bytesPerSecond":41301833}
[2025-11-02 10:47:47.073] [info]  @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":39046218,"transferred":122186808,"percent":100,"bytesPerSecond":42767521}
[2025-11-02 10:47:47.081] [info]  @todesktop/runtime: New version 0.5.5 has been downloaded to C:\Users\DCLXVI\AppData\Local\@comfyorgcomfyui-electron-updater\pending\ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe
[2025-11-02 10:47:47.305] [info]  Python server is ready
[2025-11-02 10:53:33.880] [info]  @todesktop/runtime: AutoUpdater: .restartAndInstall called, isSilent: false
[2025-11-02 10:53:33.880] [info]  @todesktop/runtime: Install on explicit quitAndInstall
[2025-11-02 10:53:33.881] [info]  @todesktop/runtime: Install: isSilent: false, isForceRunAfter: true
[2025-11-02 10:53:34.304] [info]  @todesktop/runtime: AutoUpdater: before-quit-for-update
[2025-11-02 10:53:34.304] [info]  Before-quit: Killing Python server
[2025-11-02 10:53:34.305] [info]  Killing ComfyUI python server.
[2025-11-02 10:53:34.305] [info]  App window closed.
[2025-11-02 10:53:34.308] [error] Python process exited with code null and signal SIGTERM
[2025-11-02 10:53:34.387] [info]  @todesktop/runtime: Update installer has already been triggered. Quitting application.
[2025-11-02 10:55:18.213] [info]  Starting app v0.5.5


Since it was hanging for several minutes (6-7minutes) in "Initializing" state, I closed th winfow and all config was gone as we could see for the next start:


main.log_2025-11-02T10-08-48-257Z.log

[2025-11-02 10:55:21.232] [info]  Settings file D:\Apps\ComfyUI\config\user\default\comfy.settings.json does not exist. Using default settings.
[2025-11-02 10:55:21.233] [info]  Using uv at D:\Apps\ComfyUI\resources\uv\win\uv.exe
[2025-11-02 10:55:21.233] [info]  Install state: installed
[2025-11-02 10:55:21.234] [info]  Validating installation. Recorded state: [installed]
[2025-11-02 10:55:21.235] [warn]  Python interpreter is missing or not executable.
[2025-11-02 10:55:21.237] [info]  Validation error - loading maintenance page.
[2025-11-02 10:55:21.238] [info]  Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt
[2025-11-02 10:55:21.238] [info]  Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt
[2025-11-02 10:55:21.239] [info]  Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt in D:\Apps\ComfyUI\config
[2025-11-02 10:55:21.689] [error] Failed to read venv packages. Error: Failed to get packages: Exit code 2, signal null
    at checkRequirements (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36469:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async VirtualEnvironment.hasRequirements (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36500:24)
    at async ComfyInstallation.validate (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36733:28)
    at async _InstallationManager2.validateInstallation (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:37125:22)
    at async _InstallationManager2.ensureInstalled (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:37117:12)
    at async DesktopApp.initializeInstallation (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38464:14)
    at async DesktopApp.start (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38479:26)
    at async startApp (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38694:3)
[2025-11-02 10:55:21.760] [info]  Validation result: isValid:false, state:installed {"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"error","uv":"OK","pythonPackages":"error","git":"OK","vcRedist":"OK"}
[2025-11-02 11:08:45.901] [info]  App window closed.
[2025-11-02 11:08:45.910] [info]  Quitting ComfyUI because window all closed
[2025-11-02 11:08:48.168] [info]  Starting app v0.5.5

Browser Logs

No response

Settings JSON

The config file was deleted !

Other

No response

┆Issue is synchronized with this Notion page by Unito

Originally created by @Z-nonymous on GitHub (Nov 2, 2025). Original GitHub issue: https://github.com/Comfy-Org/desktop/issues/1395 Originally assigned to: @benceruleanlu on GitHub. ### App Version While updating to 0.5.3 (from 0.5.5), the files inside the config folder were all deleted and all configuration was lost (workflows, models, output files ...). This is a Windows installation. What is strange is I had some folders for instance in `ComfyUI/config/output` or in `ComfyUI/config/user/default/workflows` and the folders are still there but all the files inside are gone. ### Expected Behavior The contents in `ComfyUI/config/user/default` folder should not be deleted and recreated when updating ComfyUI ### Actual Behavior The install/update was hanging for several minutes, and it deleted all current configuration 'ComfyUI/config/user/default' ### Steps to Reproduce Install 0.5.3, save some workflows and models, then update to 0.5.5 ### Debug Logs ```powershell I started the app, and I chose 'restart and update" and the log is: main.log_2025-11-02T09-55-18-362Z.log : [2025-11-02 10:47:11.045] [info] Using uv at D:\Apps\ComfyUI\resources\uv\win\uv.exe [2025-11-02 10:47:11.046] [info] Install state: installed [2025-11-02 10:47:11.047] [info] Validating installation. Recorded state: [installed] [2025-11-02 10:47:11.049] [info] Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt [2025-11-02 10:47:11.049] [info] Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt [2025-11-02 10:47:11.050] [info] Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt in D:\Apps\ComfyUI\config [2025-11-02 10:47:12.022] [info] Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt [2025-11-02 10:47:12.022] [info] Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt [2025-11-02 10:47:12.022] [info] Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager\requirements.txt in D:\Apps\ComfyUI\config [2025-11-02 10:47:12.287] [info] Validation result: isValid:true, state:installed {"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"} [2025-11-02 10:47:13.208] [info] Server start [2025-11-02 10:47:13.225] [info] Running command: D:\Apps\ComfyUI\config\.venv\Scripts\python.exe D:\Apps\ComfyUI\resources\ComfyUI\main.py --user-directory D:\Apps\ComfyUI\config\user --input-directory D:\Apps\ComfyUI\config\input --output-directory D:\Apps\ComfyUI\config\output --front-end-root D:\Apps\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app --base-directory D:\Apps\ComfyUI\config --extra-model-paths-config C:\Users\DCLXVI\AppData\Roaming\ComfyUI\extra_models_config.yaml --log-stdout --listen 127.0.0.1 --port 8000 in D:\Apps\ComfyUI\config [2025-11-02 10:47:13.297] [info] Received renderer-ready message! [2025-11-02 10:47:13.297] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.298] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.299] [info] Sending queued message {"channel":"validation-update","data":{"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"OK","uv":"OK","pythonPackages":"OK","git":"OK","vcRedist":"OK"}} [2025-11-02 10:47:13.299] [info] Sending queued message {"channel":"loading-progress","data":{"status":"starting-server"}} [2025-11-02 10:47:43.206] [error] @todesktop/runtime: alwaysResolve: Promise timed out after 30000ms [2025-11-02 10:47:43.348] [info] @todesktop/runtime: Checking for update [2025-11-02 10:47:43.348] [info] @todesktop/runtime: AutoUpdater: checking-for-update [2025-11-02 10:47:43.620] [info] @todesktop/runtime: Found version 0.5.5 (url: ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe) [2025-11-02 10:47:43.620] [info] @todesktop/runtime: AutoUpdater: update-available {"version":"0.5.5","files":[{"url":"ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe","sha512":"C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==","size":122186808}],"path":"ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe","sha512":"C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==","releaseDate":"2025-10-30T17:05:16.615Z"} [2025-11-02 10:47:43.620] [info] @todesktop/runtime: Downloading update from ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe [2025-11-02 10:47:43.628] [info] @todesktop/runtime: Cached update sha512 checksum doesn't match the latest available update. New update must be downloaded. Cached: nszotDnHR56gFCyfD6gw3E3mdk1icLjzYCVwmpd/MBgwh5VNTSChKVnWtUnwtzp2sFwD0Vj8s+OoxcHrkVLExg==, expected: C61v+c35srAu3fH8mDrY3nQMlsapkCtKRDskUfw+NRhZ85rRFGgCzte36un5cuxpdjT/ix25ko9Irj/WPNLgcw==. Directory for cached update will be cleaned [2025-11-02 10:47:43.631] [info] @todesktop/runtime: Download block maps (old: "https://updater.comfy.org/ComfyUI%20Setup%200.5.3%20-%20Build%20251030f517h5mhh-x64.exe.blockmap", new: https://updater.comfy.org/ComfyUI%20Setup%200.5.5%20-%20Build%20251030f517h5mhh-x64.exe.blockmap) [2025-11-02 10:47:43.949] [error] @todesktop/runtime: Cannot download differentially, fallback to full download: Error: Cannot download "https://download.todesktop.com/241012ess7yxs0e/ComfyUI%20Setup%200.5.3%20-%20Build%20251030f517h5mhh-x64.exe.blockmap", status 404: at ClientRequest.<anonymous> (D:\Apps\ComfyUI\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:229:34) at ClientRequest.emit (node:events:531:35) at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:115224) at SimpleURLLoaderWrapper.emit (node:events:519:28) [2025-11-02 10:47:45.228] [info] @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":41484288,"transferred":41484288,"percent":33.9515277295729,"bytesPerSecond":40992379} [2025-11-02 10:47:46.229] [info] @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":41656302,"transferred":83140590,"percent":68.04383497766796,"bytesPerSecond":41301833} [2025-11-02 10:47:47.073] [info] @todesktop/runtime: AutoUpdater: download-progress {"total":122186808,"delta":39046218,"transferred":122186808,"percent":100,"bytesPerSecond":42767521} [2025-11-02 10:47:47.081] [info] @todesktop/runtime: New version 0.5.5 has been downloaded to C:\Users\DCLXVI\AppData\Local\@comfyorgcomfyui-electron-updater\pending\ComfyUI Setup 0.5.5 - Build 251030f517h5mhh-x64.exe [2025-11-02 10:47:47.305] [info] Python server is ready [2025-11-02 10:53:33.880] [info] @todesktop/runtime: AutoUpdater: .restartAndInstall called, isSilent: false [2025-11-02 10:53:33.880] [info] @todesktop/runtime: Install on explicit quitAndInstall [2025-11-02 10:53:33.881] [info] @todesktop/runtime: Install: isSilent: false, isForceRunAfter: true [2025-11-02 10:53:34.304] [info] @todesktop/runtime: AutoUpdater: before-quit-for-update [2025-11-02 10:53:34.304] [info] Before-quit: Killing Python server [2025-11-02 10:53:34.305] [info] Killing ComfyUI python server. [2025-11-02 10:53:34.305] [info] App window closed. [2025-11-02 10:53:34.308] [error] Python process exited with code null and signal SIGTERM [2025-11-02 10:53:34.387] [info] @todesktop/runtime: Update installer has already been triggered. Quitting application. [2025-11-02 10:55:18.213] [info] Starting app v0.5.5 Since it was hanging for several minutes (6-7minutes) in "Initializing" state, I closed th winfow and all config was gone as we could see for the next start: main.log_2025-11-02T10-08-48-257Z.log [2025-11-02 10:55:21.232] [info] Settings file D:\Apps\ComfyUI\config\user\default\comfy.settings.json does not exist. Using default settings. [2025-11-02 10:55:21.233] [info] Using uv at D:\Apps\ComfyUI\resources\uv\win\uv.exe [2025-11-02 10:55:21.233] [info] Install state: installed [2025-11-02 10:55:21.234] [info] Validating installation. Recorded state: [installed] [2025-11-02 10:55:21.235] [warn] Python interpreter is missing or not executable. [2025-11-02 10:55:21.237] [info] Validation error - loading maintenance page. [2025-11-02 10:55:21.238] [info] Running uv command directly: pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt [2025-11-02 10:55:21.238] [info] Running uv child process: uv pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt [2025-11-02 10:55:21.239] [info] Running command: D:\Apps\ComfyUI\resources\uv\win\uv.exe pip install --dry-run -r D:\Apps\ComfyUI\resources\ComfyUI\requirements.txt in D:\Apps\ComfyUI\config [2025-11-02 10:55:21.689] [error] Failed to read venv packages. Error: Failed to get packages: Exit code 2, signal null at checkRequirements (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36469:15) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async VirtualEnvironment.hasRequirements (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36500:24) at async ComfyInstallation.validate (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:36733:28) at async _InstallationManager2.validateInstallation (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:37125:22) at async _InstallationManager2.ensureInstalled (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:37117:12) at async DesktopApp.initializeInstallation (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38464:14) at async DesktopApp.start (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38479:26) at async startApp (D:\Apps\ComfyUI\resources\app.asar\.vite\build\main.cjs:38694:3) [2025-11-02 10:55:21.760] [info] Validation result: isValid:false, state:installed {"inProgress":false,"installState":"installed","basePath":"OK","venvDirectory":"OK","pythonInterpreter":"error","uv":"OK","pythonPackages":"error","git":"OK","vcRedist":"OK"} [2025-11-02 11:08:45.901] [info] App window closed. [2025-11-02 11:08:45.910] [info] Quitting ComfyUI because window all closed [2025-11-02 11:08:48.168] [info] Starting app v0.5.5 ``` ### Browser Logs _No response_ ### Settings JSON The config file was deleted ! ### Other _No response_ ┆Issue is synchronized with this [Notion page](https://www.notion.so/Issue-1395-Bug-Config-is-deleted-when-updating-29f6d73d36508173b688cc797c5c38bf) by [Unito](https://www.unito.io)
bsakaguchi 2026-10-31 22:12:26 +00:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@dosubot[bot] commented on GitHub (Nov 2, 2025):

Hi @Z-nonymous! I'm Dosu and I’m helping the desktop team.

This is not expected behavior and appears to be a critical bug in the update process. The code does not intentionally delete user config files during updates, but if the installation state becomes unavailable or corrupted (for example, due to a hang or forced close during update), the app may incorrectly trigger a "fresh install" flow. When this happens, the installer can overwrite or reset configuration files in your config/user/default directory without backing them up, while leaving the folder structure intact. This results in loss of workflows, models, and other config files, but not the folders themselves.

There is no documented recovery or backup mechanism for this scenario, and the documentation states that user config should be preserved during updates (source). This is a data loss bug that can occur if the update process is interrupted or if the app cannot validate the existing installation state after an update.

If you have backups, restoring them is the only way to recover lost config files. To avoid this in the future, ensure the update process completes without interruption and consider making manual backups of your config directory before updating.

To reply, just mention @dosu.


Share context across your team and agents. Try Dosu.

Leave Feedback Learn about desktop with Dosu Add Dosu to your team

<!-- gh-comment-id:3478315924 --> @dosubot[bot] commented on GitHub (Nov 2, 2025): <!-- Greeting --> Hi @Z-nonymous! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the desktop team. <!-- Answer --> This is not expected behavior and appears to be a critical bug in the update process. The code does not intentionally delete user config files during updates, but if the installation state becomes unavailable or corrupted (for example, due to a hang or forced close during update), the app may incorrectly trigger a "fresh install" flow. When this happens, the installer can overwrite or reset configuration files in your config/user/default directory without backing them up, while leaving the folder structure intact. This results in loss of workflows, models, and other config files, but not the folders themselves. There is no documented recovery or backup mechanism for this scenario, and the documentation states that user config should be preserved during updates ([source](https://docs.comfy.org/installation/desktop/windows)). This is a data loss bug that can occur if the update process is interrupted or if the app cannot validate the existing installation state after an update. If you have backups, restoring them is the only way to recover lost config files. To avoid this in the future, ensure the update process completes without interruption and consider making manual backups of your config directory before updating. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=Comfy-Org%2Fdesktop).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=Comfy-Org%2Fdesktop). [![Leave Feedback](https://img.shields.io/badge/Leave%20Feedback-555555?style=flat)](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=Comfy-Org%2Fdesktop#message_id=9ba044b2-34f1-4370-b449-16437bababee) [![Learn about desktop with Dosu](https://img.shields.io/badge/Learn%20about%20desktop%20with%20Dosu-2f7b3f?style=flat&logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODkiIHZpZXdCb3g9IjAgMCA4NiA4OSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNS4yOTIzNiAxMi43OTI4TDE3Ljc1OTMgNi42ODE4OFY3Mi41NjY3TDUuMjkyMzYgODQuMDYxOFYxMi43OTI4WiIgZmlsbD0iI0I0QkI5MSIvPjxwYXRoIGQ9Ik0xOC4yNTc1IDczLjExOTZMNTkuMTMyOSA3Mi43NDhMNTEuNzAxMSA4Mi40MDk1TDI5LjAzMzggODYuMjkxTDYuMjM5NjIgODUuMTU1NEwxOC4yNTc1IDczLjExOTZaIiBmaWxsPSIjNzc4NTYxIi8%2BPHBhdGggZD0iTTE3LjQ5MTYgMy43MzYzM0wzLjU4NTU3IDEyLjcwOTlWODMuNTc5MkMzLjU4NTU3IDg0Ljc1NDIgNC45ODU2MyA4NS4zNjUyIDUuODQ3MDUgODQuNTY2TDE5LjYyOTYgNzEuNzgwMSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjQyODQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz48bWFzayBpZD0iZG9zdS1kLWN1dG91dCIgZmlsbD0id2hpdGUiPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNNDAuNzA0IDAuNTE4MDY2SDE3LjA0MzlWNzYuMjIyMUg0MC43MDRINDIuNTgwNUg0Ny44MDEzQzY4LjcwNjQgNzYuMjIyMSA4NS42NTMzIDU5LjI3NTIgODUuNjUzMyAzOC4zNzAxQzg1LjY1MzMgMTcuNDY1IDY4LjcwNjMgMC41MTgwNjYgNDcuODAxMyAwLjUxODA2Nkg0Mi41ODA1SDQwLjcwNFoiLz48L21hc2s%2BPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik00MC43MDQgMC41MTgwNjZIMTcuMDQzOVY3Ni4yMjIxSDQwLjcwNEg0Mi41ODA1SDQ3LjgwMTNDNjguNzA2NCA3Ni4yMjIxIDg1LjY1MzMgNTkuMjc1MiA4NS42NTMzIDM4LjM3MDFDODUuNjUzMyAxNy40NjUgNjguNzA2MyAwLjUxODA2NiA0Ny44MDEzIDAuNTE4MDY2SDQyLjU4MDVINDAuNzA0WiIgZmlsbD0iI0YzRjZGMSIvPjxwYXRoIGQ9Ik0xNy4wNDM5IDAuNTE4MDY2Vi02LjU3OTE5SDkuOTQ2NjlWMC41MTgwNjZIMTcuMDQzOVpNMTcuMDQzOSA3Ni4yMjIxSDkuOTQ2NjlWODMuMzE5NEgxNy4wNDM5Vjc2LjIyMjFaTTE3LjA0MzkgNy42MTUzMkg0MC43MDRWLTYuNTc5MTlIMTcuMDQzOVY3LjYxNTMyWk0yNC4xNDEyIDc2LjIyMjFWMC41MTgwNjZIOS45NDY2OVY3Ni4yMjIxSDI0LjE0MTJaTTQwLjcwNCA2OS4xMjQ5SDE3LjA0MzlWODMuMzE5NEg0MC43MDRWNjkuMTI0OVpNNDIuNTgwNSA2OS4xMjQ5SDQwLjcwNFY4My4zMTk0SDQyLjU4MDVWNjkuMTI0OVpNNDcuODAxMyA2OS4xMjQ5SDQyLjU4MDVWODMuMzE5NEg0Ny44MDEzVjY5LjEyNDlaTTc4LjU1NiAzOC4zNzAxQzc4LjU1NiA1NS4zNTU1IDY0Ljc4NjcgNjkuMTI0OSA0Ny44MDEzIDY5LjEyNDlWODMuMzE5NEM3Mi42MjYxIDgzLjMxOTQgOTIuNzUwNSA2My4xOTQ5IDkyLjc1MDUgMzguMzcwMUg3OC41NTZaTTQ3LjgwMTMgNy42MTUzMkM2NC43ODY2IDcuNjE1MzIgNzguNTU2IDIxLjM4NDcgNzguNTU2IDM4LjM3MDFIOTIuNzUwNUM5Mi43NTA1IDEzLjU0NTMgNzIuNjI2IC02LjU3OTE5IDQ3LjgwMTMgLTYuNTc5MTlWNy42MTUzMlpNNDIuNTgwNSA3LjYxNTMySDQ3LjgwMTNWLTYuNTc5MTlINDIuNTgwNVY3LjYxNTMyWk00MC43MDQgNy42MTUzMkg0Mi41ODA1Vi02LjU3OTE5SDQwLjcwNFY3LjYxNTMyWiIgZmlsbD0iYmxhY2siIG1hc2s9InVybCgjZG9zdS1kLWN1dG91dCkiLz48cGF0aCBkPSJNNjguOTIxNSAzNi4wMTM1QzY4LjkyMTUgMzYuMDEzNSA2NS43MzY5IDQ5LjQ3MzggNTEuNDIzMSA0OS40NzM4QzM3LjEwOTMgNDkuNDczOCAzMi41Nzg3IDM3LjM1OTYgMzIuNTc4NyAzNi4wMTM1IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjcuNjkxNjEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPjxwYXRoIGQ9Ik0wLjM0ODYzMyA4NS40OTQ2QzAuMzQ4NjMzIDg1LjQ5NDYgMjkuNDg1NiA4NS44MzA5IDM0LjgwOSA4NS42OThDNDQuODMzNyA4NS40NDc3IDUxLjI4NzIgODQuNDAyIDU3LjUyNjkgNzguOTcyNEM2Mi44MTI5IDc0LjM3MjcgNzUuMTM0MiA1OS42ODM2IDc1LjEzNDIgNTkuNjgzNiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSI2LjE2NDgyIi8%2BPC9zdmc%2B)](https://github.dosu.com/Comfy-Org/desktop?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=Comfy-Org%2Fdesktop) [![Add Dosu to your team](https://img.shields.io/badge/Add%20Dosu%20to%20your%20team-1f6feb?style=flat)](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=Comfy-Org%2Fdesktop)
Author
Owner

@christian-byrne commented on GitHub (Nov 2, 2025):

We are working on a fix right now but your files are likely stranded in the TEMP folder.

<!-- gh-comment-id:3478458112 --> @christian-byrne commented on GitHub (Nov 2, 2025): We are working on a fix right now but your files are likely stranded in the TEMP folder.
Author
Owner

@Z-nonymous commented on GitHub (Nov 3, 2025):

@christian-byrne Thanks for the reply.

What TEMP folder are you referring to ?

There's nothing in %TEMP% related to comfyUI, no .safetensor files, no .json, .mp4, .jpg, png files.
Nothing is in the recycle bin either.

I lost all previous work that was in the install folder of Comfy desktop.

It seems that it also cleared what was in ComfyUI/resources/ComfyUI/models, so all models in there, loras, controlnets, models, all is gone.

I don't think that what the bot says is correct:

if the installation state becomes unavailable or corrupted (for example, due to a hang or forced close during update), the app may incorrectly trigger a "fresh install" flow

Because I chose update, and then the update triggered a fresh install (in silent mode).

There is a serious flaw in the installation procedure if at any point all user files are deleted. Note that here, as the folder structure is still intact, there must have been a command run to delete the files inside the folders...

<!-- gh-comment-id:3479526016 --> @Z-nonymous commented on GitHub (Nov 3, 2025): @christian-byrne Thanks for the reply. What TEMP folder are you referring to ? There's nothing in `%TEMP%` related to comfyUI, no .safetensor files, no .json, .mp4, .jpg, png files. Nothing is in the recycle bin either. I lost all previous work that was in the install folder of Comfy desktop. It seems that it also cleared what was in `ComfyUI/resources/ComfyUI/models`, so all models in there, loras, controlnets, models, all is gone. I don't think that what the bot says is correct: > if the installation state becomes unavailable or corrupted (for example, due to a hang or forced close during update), the app may incorrectly trigger a "fresh install" flow Because I chose update, and then the update triggered a fresh install (in silent mode). There is a serious flaw in the installation procedure if at any point all user files are deleted. Note that here, as the folder structure is still intact, there must have been a command run to delete the files inside the folders...
Author
Owner

@Z-nonymous commented on GitHub (Nov 8, 2025):

@benceruleanlu Does PR https://github.com/Comfy-Org/desktop/pull/1380 resolves my issue or just partially?

In my case, I think stuff might have been copied to %TEMP% at some point during the update. But then as it failed got deleted because install resume does do a freshinstall.

If for some reason an update fails, the resume always triggers a new install because in InstallationManager, when (installation.state === 'started') it just uses resumeInstallation() which does freshInstall()
github.com/Comfy-Org/desktop@addb0e8a/src/install/installationManager.ts (L98-L102)

Maybe your change avoids loosing the data ? (I'm trying to see if I can update without getting the same issue)

<!-- gh-comment-id:3507099426 --> @Z-nonymous commented on GitHub (Nov 8, 2025): @benceruleanlu Does PR https://github.com/Comfy-Org/desktop/pull/1380 resolves my issue or just partially? In my case, I think stuff might have been copied to %TEMP% at some point during the update. But then as it failed got deleted because install resume does do a freshinstall. If for some reason an update fails, the resume always triggers a new install because in InstallationManager, when (installation.state === 'started') it just uses resumeInstallation() which does freshInstall() https://github.com/Comfy-Org/desktop/blob/addb0e8a/src/install/installationManager.ts#L98-L102 Maybe your change avoids loosing the data ? (I'm trying to see if I can update without getting the same issue)
Author
Owner

@benceruleanlu commented on GitHub (Nov 17, 2025):

Thanks for the detailed repro – we dug through the updater/installer flow and found why files disappear even though the folders survive.

Root cause
Our packaged app keeps the bundled ComfyUI repo, ComfyUI-Manager, UV binaries, etc. inside the Electron resources folder. During packaging we literally copy assets/ComfyUI/** into that folder (scripts/todesktop/afterPack.cjs), and getAppResourcesPath() resolves to process.resourcesPath whenever the app is packaged (src/install/resourcePaths.ts). When the Windows updater runs it wipes that entire install directory so it can lay down the new resources tree.

During onboarding we persist whatever install path the renderer sends (src/install/installationManager.ts:184-199). The renderer never checks whether that path lives inside the application folder – it only validates writability, free space, OneDrive, etc. (src/handlers/pathHandlers.ts). So if someone points the “ComfyUI files” picker at D:\Apps\ComfyUI\config – i.e. a folder that sits right under the EXE’s install root – we happily accept it. On every update the updater deletes that folder along with the binaries, then the app recreates an empty directory structure on next launch, leaving the subfolders but none of the files. That matches what you observed.

We also ship the renderer the application path under the “System Locations” section, so it’s easy for users to copy/paste the wrong location. Since basePath never gets migrated out of the binary tree afterward, the problem repeats on every update.

What we’re doing next

  1. Tighten VALIDATE_INSTALL_PATH / the UI to reject (or at least warn loudly) when the install path is inside app.getAppPath() / process.resourcesPath / %LocalAppData%\Programs\comfyui-electron or the updater cache. The renderer will show a clear error such as “Install ComfyUI data outside the application folder.”
  2. Add startup detection for existing installs whose basePath is still inside the application directory, prompt the user to move it, and provide an automated migration into %USERPROFILE%\Documents\ComfyUI (or another safe location) so a future update cannot wipe it again.
  3. Investigate %LOCALAPPDATA%\@comfyorgcomfyui-electron-updater for stranded files from interrupted upgrades and provide a recovery prompt if we can rescue anything.
  4. Update the onboarding copy/docs so it’s explicit that ComfyUI’s user data directory must live outside the application binaries, and hide or clearly label the “app path” entry so we don’t encourage picking it.

For now the workaround is to move config, models, etc. outside of the app install directory (e.g. somewhere under Documents) and point the desktop app there via Settings → System Paths. That folder is never touched by the updater. Let us know if there’s anything else we can do to help recover the lost files.

<!-- gh-comment-id:3543595052 --> @benceruleanlu commented on GitHub (Nov 17, 2025): Thanks for the detailed repro – we dug through the updater/installer flow and found why files disappear even though the folders survive. **Root cause** Our packaged app keeps the bundled ComfyUI repo, ComfyUI-Manager, UV binaries, etc. inside the Electron `resources` folder. During packaging we literally copy `assets/ComfyUI/**` into that folder (`scripts/todesktop/afterPack.cjs`), and `getAppResourcesPath()` resolves to `process.resourcesPath` whenever the app is packaged (`src/install/resourcePaths.ts`). When the Windows updater runs it wipes that entire install directory so it can lay down the new `resources` tree. During onboarding we persist whatever install path the renderer sends (`src/install/installationManager.ts:184-199`). The renderer never checks whether that path lives inside the application folder – it only validates writability, free space, OneDrive, etc. (`src/handlers/pathHandlers.ts`). So if someone points the “ComfyUI files” picker at `D:\Apps\ComfyUI\config` – i.e. a folder that sits right under the EXE’s install root – we happily accept it. On every update the updater deletes that folder along with the binaries, then the app recreates an empty directory structure on next launch, leaving the subfolders but none of the files. That matches what you observed. We also ship the renderer the application path under the “System Locations” section, so it’s easy for users to copy/paste the wrong location. Since `basePath` never gets migrated out of the binary tree afterward, the problem repeats on every update. **What we’re doing next** 1. Tighten `VALIDATE_INSTALL_PATH` / the UI to reject (or at least warn loudly) when the install path is inside `app.getAppPath()` / `process.resourcesPath` / `%LocalAppData%\Programs\comfyui-electron` or the updater cache. The renderer will show a clear error such as “Install ComfyUI data outside the application folder.” 2. Add startup detection for existing installs whose `basePath` is still inside the application directory, prompt the user to move it, and provide an automated migration into `%USERPROFILE%\Documents\ComfyUI` (or another safe location) so a future update cannot wipe it again. 3. Investigate `%LOCALAPPDATA%\@comfyorgcomfyui-electron-updater` for stranded files from interrupted upgrades and provide a recovery prompt if we can rescue anything. 4. Update the onboarding copy/docs so it’s explicit that ComfyUI’s user data directory must live outside the application binaries, and hide or clearly label the “app path” entry so we don’t encourage picking it. For now the workaround is to move `config`, `models`, etc. outside of the app install directory (e.g. somewhere under Documents) and point the desktop app there via Settings → System Paths. That folder is never touched by the updater. Let us know if there’s anything else we can do to help recover the lost files.
Author
Owner

@Z-nonymous commented on GitHub (Nov 20, 2025):

Thank you very much for the work identifying and fixing the issue. 👍

FYI wrt to recovering the lost files they are nowhere to be found. I forgot to try to run an undelete right after it happened to try to get those back. When I thought of doing so, I had done a lot of writing on the disk and those were already overwritten. Even if I had, when I noticed those were missing they were likely already overwritten by the installer new files anyway.

Anyway, no big deal I just lost 5-6 test wan videos. The workflows I had backups for and the models I lost were Wan models and loras so where easily redownloaded.

I'm glad this was detected before someone had the issue with important data.

<!-- gh-comment-id:3557868746 --> @Z-nonymous commented on GitHub (Nov 20, 2025): Thank you very much for the work identifying and fixing the issue. 👍 FYI wrt to recovering the lost files they are nowhere to be found. I forgot to try to run an undelete right after it happened to try to get those back. When I thought of doing so, I had done a lot of writing on the disk and those were already overwritten. Even if I had, when I noticed those were missing they were likely already overwritten by the installer new files anyway. Anyway, no big deal I just lost 5-6 test wan videos. The workflows I had backups for and the models I lost were Wan models and loras so where easily redownloaded. I'm glad this was detected before someone had the issue with important data.
Author
Owner

@benceruleanlu commented on GitHub (Nov 23, 2025):

This should be fixed in the latest desktop release, let me know if you run into it again!

<!-- gh-comment-id:3567181051 --> @benceruleanlu commented on GitHub (Nov 23, 2025): This should be fixed in the latest desktop release, let me know if you run into it again!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Comfy-Org/desktop#391
No description provided.