-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
docker image (from dockerhub) start up error #459
Comments
Hi, thanks for reporting. This was not reproducible on my end. Whisper-WebUI/modules/utils/paths.py Line 37 in e51cbb1
I'm not sure about the reason but it does not allow to run My suggestion is to try running the docker with the docker-compose.yaml file, hopefully the mounted paths to the volumes would solve the permissions problem. If you have already pulled the image, you can just do :
|
I was able to overcome this error by removing the --user Original, failed command:" New command that can start up properly: However, with this change, the container does not respond on port 7860. And docker logs show nothing (completely empty). It would be really helpful if you document the command to start the docker image that you've compiled. |
I would recommend running the docker with compose because it's easy to configure some parameters with it: But if you want to run it without the compose, it would probably be :
|
Which OS are you using?
I am using PVE/LXC with docker. I have been running docker like this successfully for many images.
sudo docker run -d --restart unless-stopped --user $(id -u):$(id -g) jhj0517/whisper-webui:latest
I have run into this error in the docker logs:
PermissionError: [Errno 13] Permission denied: '/Whisper-WebUI/models/Whisper' Traceback (most recent call last): File "/Whisper-WebUI/app.py", line 7, in <module> from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, WHISPER_MODELS_DIR, File "/Whisper-WebUI/modules/utils/paths.py", line 37, in <module> os.makedirs(dir_path, exist_ok=True) File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/Whisper-WebUI/models/Whisper' Traceback (most recent call last): File "/Whisper-WebUI/app.py", line 7, in <module> from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, WHISPER_MODELS_DIR, File "/Whisper-WebUI/modules/utils/paths.py", line 37, in <module> os.makedirs(dir_path, exist_ok=True) File "<frozen os>", line 225, in makedirs PermissionError: [Errno 13] Permission denied: '/Whisper-WebUI/models/Whisper' Traceback (most recent call last): File "/Whisper-WebUI/app.py", line 7, in <module> from modules.utils.paths import (FASTER_WHISPER_MODELS_DIR, DIARIZATION_MODELS_DIR, OUTPUT_DIR, WHISPER_MODELS_DIR, File "/Whisper-WebUI/modules/utils/paths.py", line 37, in <module> os.makedirs(dir_path, exist_ok=True) File "<frozen os>", line 225, in makedirs
The text was updated successfully, but these errors were encountered: