Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lovewet0 opened this issue Aug 15, 2024 · 3 comments
Open

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

lovewet0 opened this issue Aug 15, 2024 · 3 comments

Comments

@lovewet0
Copy link

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

@Ch-Shi
Copy link

Ch-Shi commented Aug 16, 2024

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

@Ch-Shi
Copy link

Ch-Shi commented Aug 16, 2024

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
Copy link
Author

已经解决了,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants