Describe the bug
I am receiving "Permission Denied" errors when using the template found on Community Apps on Unraid.
If I use the default template, I receive the following error:
"ERROR: Failed to download model: [Errno 13] Permission denied: 'api/src'
Traceback (most recent call last):
File "/app/download_model.py", line 116, in
main()
File "/app/download_model.py", line 112, in main
download_model(args.output)
File "/app/download_model.py", line 64, in download_model
os.makedirs(output_dir, exist_ok=True)
File "/usr/local/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'api/src'""
If I add "--user 99:100" to extra parameters, the error is different but still get "Permission Denied"
"Downloading Kokoro v1.0 model files
Downloading model file...
Downloading config file...
✓ Model files prepared in api/src/models/v1_0
error: Failed to initialize cache at /.cache/uv
Caused by: failed to create directory /.cache/uv: Permission denied (os error 13)"
Branch / Deployment used
ghcr.io/remsky/kokoro-fastapi-cpu:latest
Operating System
Unraid 7.3.2
Any help is appreciated!
Describe the bug
I am receiving "Permission Denied" errors when using the template found on Community Apps on Unraid.
If I use the default template, I receive the following error:
"ERROR: Failed to download model: [Errno 13] Permission denied: 'api/src'
Traceback (most recent call last):
File "/app/download_model.py", line 116, in
main()
File "/app/download_model.py", line 112, in main
download_model(args.output)
File "/app/download_model.py", line 64, in download_model
os.makedirs(output_dir, exist_ok=True)
File "/usr/local/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.10/os.py", line 215, in makedirs
makedirs(head, exist_ok=exist_ok)
File "/usr/local/lib/python3.10/os.py", line 225, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: 'api/src'""
If I add "--user 99:100" to extra parameters, the error is different but still get "Permission Denied"
"Downloading Kokoro v1.0 model files
Downloading model file...
Downloading config file...
✓ Model files prepared in api/src/models/v1_0
error: Failed to initialize cache at
/.cache/uvCaused by: failed to create directory
/.cache/uv: Permission denied (os error 13)"Branch / Deployment used
ghcr.io/remsky/kokoro-fastapi-cpu:latest
Operating System
Unraid 7.3.2
Any help is appreciated!