Closed goofus closed 1 year ago
this is the first time I have seen this kind of error.
Doing a quick google search tells me that the path might be incorrect or too long for the operating system, but I don't think that is the case here. on windows maybe but on linux it is like 4KB for the file path.
Let's try and debug this:
Hello, me with the same error... I use ProxMox, and LXC with docker
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Anyone figure out a solution for this problem? stable-diffusion-webui-docker used to work for me, but somewhere along the way I started getting the error reported here.
Rocky 8.7 Docker version 24.0.4, build 3713ee1 Docker Compose version v2.19.1
-comfy container builds without issue -I've tried a fresh git clone outside of my normal container directories to make sure it wasn't a problem that I introduced -updated docker/docker compose
I will re-open this and try to investigate the issue
been throwing spaghetti at the wall to no avail...
I didn't trust docker compose build --no-cache, so I tried cleaning build cache bits up... docker builder prune -a. no change
I've gone through the services/AUTOMATIC1111/Dockerfile and commented out the mount cache lines and disabled buildkit. no luck
I thought maybe upgrading pip prior to installing the AUTO1111 requirement might help....
> [auto stage-2 4/15] RUN pip install --upgrade pip:
0.868 Requirement already satisfied: pip in /usr/local/lib/python3.10/site-packages (22.3.1)
0.996 Collecting pip
1.080 Downloading pip-23.2.1-py3-none-any.whl (2.1 MB)
1.179 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 21.9 MB/s eta 0:00:00
1.302 Installing collected packages: pip
1.302 Attempting uninstall: pip
1.302 Found existing installation: pip 22.3.1
1.414 Uninstalling pip-22.3.1:
1.560 ERROR: Could not install packages due to an OSError: [Errno 22] Invalid argument: '/usr/local/lib/python3.10/site-packages/pip-22.3.1.dist-info/'
1.560
Trips over the same Errno 22 Invalid argument while uninstalling pip. hmmmm
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
downgrading docker a few versions, didn't help
When I get a chance I'll try to blow everything docker away and start fresh. The only thing slightly out of the ordinary is the docker root directory is not /var/lib/docker/. I don't see why that would cause a problem, but who knows.
This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days.
Are you running on zfs by any chance? What is your docker info
output?
I ran into the same problem and root-caused it to docker using the overlay2
storage driver when running on the ZFS file system. According to https://docs.docker.com/storage/storagedriver/select-storage-driver/, overlay2
only supports xfs
or ext4
as backing file systems.
My fix was to use the zfs
storage driver by following the steps at https://docs.docker.com/storage/storagedriver/zfs-driver/ (but skipping the step to create a new zpool).
The strange thing is I have two installs of Ubuntu on the same physical machine, both using ZFS, both with docker installed, but one of them defaults to using the overlay2
storage driver while other other defaults to using zfs
storage driver. I'm not sure why there's a difference.
winner winner chicken dinner! thanks @shrimp6089
I enabled zfs storage driver, cleared build cache, build container, no errors!
thank you @shrimp6089 , I will add this to the FAQ in case other users face the same problem.
Hello, i have same issue Docker info
Client:
Version: 24.0.5
Context: default
Debug Mode: false
Plugins:
compose: Docker Compose (Docker Inc.)
Version: v2.20.3
Path: /usr/local/lib/docker/cli-plugins/docker-compose
Server:
Containers: 1
Running: 0
Paused: 0
Stopped: 1
Images: 1
Server Version: 24.0.5
Storage Driver: overlay2
Backing Filesystem: zfs
Supports d_type: true
Using metacopy: false
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: systemd
Cgroup Version: 2
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runc.v2 runc
Default Runtime: runc
Init Binary: docker-init
containerd version:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: builtin
cgroupns
Kernel Version: 6.2.0-33-generic
Operating System: Ubuntu 22.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 32
Total Memory: 61.94GiB
Name: au
ID: cb2589e4-6c54-4030-ad6e-dc0a00e5f515
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
docker-compose version:
docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022
pip version:
pip 23.2.1 from /home/sergey/.pyenv/versions/3.10.6/lib/python3.10/site-packages/pip (python 3.10)
you suggestions are welcome, thankyou!
System info: Arch linux, up to date packages:
No problem running these commands (exit code 0 with last command)
Issue is here:
Any suggestions welcome!