Skip to content

Unable to update ComfyUI #1289

Description

@JoeChip96

Package

ComfyUI

When did the issue occur?

Updating the Package

What GPU / hardware type are you using?

Nvidia 4090 Laptop

What happened?

When trying to update ComfyUI it fails because of models\checkpoints directory not being empty

Console output

Could not update ComfyUI (System.IO.IOException: The directory is not empty. : 'C:\Apps\StabilityMatrix\Data\Packages\ComfyUI\models\checkpoints'.
at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at StabilityMatrix.Core.Helper.SharedFolders.RemoveLinksForPackage[T](Dictionary2 sharedFolders, DirectoryPath installPath) at StabilityMatrix.Core.Models.Packages.BaseGitPackage.Update(String installLocation, InstalledPackage installedPackage, UpdatePackageOptions options, IProgress1 progress, Action1 onConsoleOutput, CancellationToken cancellationToken) at StabilityMatrix.Core.Models.PackageModification.UpdatePackageStep.ExecuteAsync(IProgress1 progress, CancellationToken cancellationToken)
at StabilityMatrix.Core.Models.PackageModification.PackageModificationRunner.ExecuteSteps(IEnumerable`1 steps))

Version

v2.14.2

What Operating System are you using?

Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleStale issue or inactive for long period of time

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions