AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.16k stars 26.98k forks source link

[Bug]: Newest version crashes on startup on Debian stable #8514

Open Auravendill opened 1 year ago

Auravendill commented 1 year ago

Is there an existing issue for this?

What happened?

With the newest version (Commit hash: 27e319dc4f09a2f040043948e5c52965976f8491) the program is no longer able to launch successfully on my Debian stable PC (with conda; doesn't work without conda either, but I get a different error there and I am unsure how long that is broken)

It ran just fine with Commit hash: 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8, but I ran git pull and it stopped working.

Steps to reproduce the problem

  1. Installed everything according to documentation
  2. (worked fine for quite a while)
  3. Updated today via git pull
  4. Crashes as shown above

What should have happened?

It should have continued to work

Commit where the problem happens

27e319dc4f09a2f040043948e5c52965976f8491

What platforms do you use to access the UI ?

Linux

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--lowvram --listen --enable-insecure-extension-access

List of extensions

a1111-sd-webui-tagcomplete embedding-inspector model-keyword openpose-editor sd-webui-ar sd-webui-controlnet stable-diffusion-webui-promptgen stable-diffusion-webui-text2prompt

Console logs

python3 launch.py --lowvram --listen --enable-insecure-extension-access
Python 3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03)
[GCC 11.3.0]
Commit hash: 27e319dc4f09a2f040043948e5c52965976f8491
Installing requirements for Web UI

Launching Web UI with arguments: --lowvram --listen --enable-insecure-extension-access
Traceback (most recent call last):
  File "/home/daniel/stable-diffusion-webui/launch.py", line 375, in <module>
    start()
  File "/home/daniel/stable-diffusion-webui/launch.py", line 366, in start
    import webui
  File "/home/daniel/stable-diffusion-webui/webui.py", line 28, in <module>
    from modules import extra_networks, ui_extra_networks_checkpoints
  File "/home/daniel/stable-diffusion-webui/modules/ui_extra_networks_checkpoints.py", line 5, in <module>
    from modules import shared, ui_extra_networks, sd_models
  File "/home/daniel/stable-diffusion-webui/modules/shared.py", line 12, in <module>
    import modules.interrogate
  File "/home/daniel/stable-diffusion-webui/modules/interrogate.py", line 15, in <module>
    from modules import devices, paths, shared, lowvram, modelloader, errors
  File "/home/daniel/stable-diffusion-webui/modules/modelloader.py", line 7, in <module>
    from basicsr.utils.download_util import load_file_from_url
  File "/home/daniel/miniconda3/lib/python3.9/site-packages/basicsr/__init__.py", line 3, in <module>
    from .archs import *
  File "/home/daniel/miniconda3/lib/python3.9/site-packages/basicsr/archs/__init__.py", line 5, in <module>
    from basicsr.utils import get_root_logger, scandir
  File "/home/daniel/miniconda3/lib/python3.9/site-packages/basicsr/utils/__init__.py", line 4, in <module>
    from .img_process_util import USMSharp, usm_sharp
  File "/home/daniel/miniconda3/lib/python3.9/site-packages/basicsr/utils/img_process_util.py", line 1, in <module>
    import cv2
ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /home/daniel/miniconda3/lib/python3.9/site-packages/cv2.cpython-39-x86_64-linux-gnu.so)

Additional information

Debian 11 bullseye Kernel: 6.0.0-0.deb11.6-amd64 CPU: AMD Ryzen 5 2600 GPU: NVIDIA GeForce GTX 970 RAM: 7873MiB

xinlake commented 1 year ago

I'm also having this problem running the webui.sh script on debian vps

jelaludo commented 1 year ago

I am having this issue. I could run Automatic1111 on Ubuntu before. Re-installed it today on a new machine. Ubuntu 22.04

fresh install sudo apt install wget git python3 python3-venv bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh) everything installs seemingly correctly add models to the /model folder

run webui.sh as usual : crash not enough time to see error msg, just crashes

just took a video to pause. --already cloned --activate python venv python 3.10.6 commit hash : 22bcc7be[....]45d81