Suwayomi / docker-tachidesk

Run Suwayomi-Server in a docker container
Mozilla Public License 2.0
206 stars 56 forks source link

Unable to run at DSM 7.1 (Permission Error) #99

Open hoho97 opened 1 month ago

hoho97 commented 1 month ago

Hi guys, trying to deploy on my synology NAS yet suwayomi refuses to start up. Seems some permission issues but have no idea how to fix it.

the log was very short and raises following error

Suwayomi data location inside the container: /home/suwayomi/.local/share/Tachidesk error: cannot create /home/suwayomi/startup/server-reference.conf Permission denied mv: cannot stat '/home/suwayomi/startup/server-reference.conf': Permission denied

command used was docker run -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk:preview

actually tried docker run -p 127.0.0.1:4567:4567 ghcr.io/suwayomi/tachidesk:latest as well but also the same error raised.

1Megabyte commented 3 weeks ago

Hi,

Did you find a solution for this issue?

I have the same issue and I'm running it on ubuntu server (vps). I only managed to start the container by changing the container volume path to /home/suwayomi/data, but that won't bind the downloads to the selected host path.

hoho97 commented 3 weeks ago

Hi,

Did you find a solution for this issue?

I have the same issue and I'm running it on ubuntu server (vps). I only managed to start the container by changing the container volume path to /home/suwayomi/data, but that won't bind the downloads to the selected host path.

unfortunately no

1Megabyte commented 3 weeks ago

I fixed my problem, but this might not work for you since you're using Synology. The folder created on the host path by the container has root:root permissions. All I had to do was change the folder permission to my user (1000:1000), and then it worked.

Although I first tried to use my mounted CIFS path, that didn't work.

I'm not sure if you checked other resolved issues, but there is a solution for Synology as per this discussion.

Hope that fixes your problem.

Misaka-Aki commented 2 weeks ago

I am very pleased to have found a solution. You need to right-click on the mounted folder in the Synology system, select "Properties," and then choose "Permissions" to grant the "Tachidesk" user write permissions.

hoho97 commented 2 weeks ago

I am very pleased to have found a solution. You need to right-click on the mounted folder in the Synology system, select "Properties," and then choose "Permissions" to grant the "Tachidesk" user write permissions.

Would you mind share some screenshots? Actually I granted full control permission to "Everyone" user group but still complaining the permission issue.

image

Misaka-Aki commented 2 weeks ago

I am very pleased to have found a solution. You need to right-click on the mounted folder in the Synology system, select "Properties," and then choose "Permissions" to grant the "Tachidesk" user write permissions.

Would you mind share some screenshots? Actually I granted full control permission to "Everyone" user group but still complaining the permission issue.

image

image 先使用项目创建docker-compose文件,并运行一次,系统会创建“Tachidesk”用户 image

hoho97 commented 2 weeks ago

docker-compose

呃,我用的還是老版本的Docker而不是Container Manager 我過幾天試試把DSM升上7.2換Container Manager看看 謝謝大佬

caoyulotus commented 6 days ago

I am very pleased to have found a solution. You need to right-click on the mounted folder in the Synology system, select "Properties," and then choose "Permissions" to grant the "Tachidesk" user write permissions.

Would you mind share some screenshots? Actually I granted full control permission to "Everyone" user group but still complaining the permission issue. image

image 先使用项目创建docker-compose文件,并运行一次,系统会创建“Tachidesk”用户 image

我也遇到这个问题了,但是在权限设置里没有找到Tachidesk用户,可以帮我看看我的docker-compose文件吗?

version: '3.7'
services:
  suwayomi:
    image: ghcr.io/suwayomi/tachidesk:latest
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Asia/Shanghai 
    volumes:
      - ./data:/home/suwayomi/.local/share/Tachidesk
    ports:
      - "4567:4567"
    restart: unless-stopped