ssitu / ComfyUI_UltimateSDUpscale

ComfyUI nodes for the Ultimate Stable Diffusion Upscale script by Coyote-A.
GNU General Public License v3.0
875 stars 59 forks source link

远程服务器和Windows本地运行发生的问题 #102

Open lovewet0 opened 3 months ago

lovewet0 commented 3 months ago

您好,我最近使用了您这这个插件,我在本地(Windows)安装了这个插件可以正常的使用,但是我连接到远程服务器unbuntu环境中却无法使用,一直显示缺失节点,我尝试了git克隆和安装包,以及manager下载的方法,但似乎并不能解决,且远程服务器终端也没有给我任何报错,我一时无法解决,想向您请教一下

Ch-Shi commented 3 months ago

I updated the latest version of comfyui and also ran into this issue

Ch-Shi commented 3 months ago

I don’t know what went wrong, and I couldn’t download the submodules properly using this command, “git clone https://github.com/ssitu/ComfyUI_UltimateSDUpscale --recursive”. Finally, ChatGPT helped me solve this problem.

Clean Up Existing Submodule Configuration and Re-add

  1. Clean up existing submodule configuration:

    # Run in the main repository directory
    git submodule deinit -f repositories/ultimate_sd_upscale
    git rm -f repositories/ultimate_sd_upscale
    rm -rf .git/modules/repositories/ultimate_sd_upscale
  2. Re-add the submodule:

    git submodule add https://github.com/Coyote-A/ultimate-upscale-for-automatic1111 repositories/ultimate_sd_upscale
    git submodule update --init --recursive
  3. Check the .gitmodules file:

    Ensure the configuration in .gitmodules is correct. For example:

    [submodule "repositories/ultimate_sd_upscale"]
        path = repositories/ultimate_sd_upscale
        url = https://github.com/Coyote-A/ultimate-upscale-for-automatic1111
  4. If necessary, modify the .gitmodules file and synchronize:

    git submodule sync
  5. Force update the submodule:

    If the submodule exists but its state is problematic, try forcing an update:

    cd repositories/ultimate_sd_upscale
    git fetch --all
    git reset --hard origin/master
lovewet0 commented 3 months ago

已经解决了,非常感谢