Closed mslmn closed 10 months ago
Try the version from the documentation.
I have the same issue, I'm using Portainer, using the WebUI it gives me the following error when trying to add a user:
Error! [Errno 13] Permission denied: '/home/config/kobodl.json'
My compose file looks like the following:
version: '3'
services:
kobodl_http_server:
container_name: kobodl
image: ghcr.io/subdavis/kobodl
command: >
serve --host 0.0.0.0 --output-dir /home/downloads/kobodl_downloads
ports:
- "4000:5000"
volumes:
- /docker/kobodl/config:/home/config
- /drives/mediaserver/Audiobooks:/home/downloads
user: "3000:3000"
I also tried to do the same command that there is in the documentation to check if it was an issue of my compose file but I get the same error. I also tried to import the kobodl.json file from my Windows PC (where kobodl has been always working flawlessly) but no luck either, thanks in advance for the assistance!
Looks like you're trying to access /docker/kobodl/config
on your host system as user 3000, which you don't have permissions for.
@SerujiShard please try this instead, without modifying, in a directory you have full write access to.
docker run --rm -it --user $(id -u):$(id -g) \
-p 4000:5000 \
-v ${HOME}/.config:/home/config \
-v ${PWD}:/home/downloads \
ghcr.io/subdavis/kobodl \
--config /home/config/kobodl.json \
serve \
--host 0.0.0.0 \
--output-dir /home/downloads/kobodl_downloads
This runs great, but since I'm on an M1 Mac I had to add --platform linux/amd64
after docker run
.
Describe the issue I have managed to get kobodl running on my M1 Mac via docker. However, when I try to add a user I get this error:
To Reproduce Steps to reproduce the behavior: this is my docker-compose file:
I ran the add user command with
--captcha ""
to circumvent thePyperclip could not find a copy/paste mechanism for your system.
issue.Expected behavior Successful user addition
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):