Hello,
I have Gitea-latest in a container on my Synology Nas with DSM 7.2.1-69057 Update 3.
Here after is my yaml compose file:
---
version: "3"
services:
server:
image: gitea/gitea:latest
container_name: gitea
environment:
- PUID=1000
- PGID=1000
restart: always
networks:
- NetworkGitea
volumes:
- ./data:/data:rw
# - /etc/timezone:/etc/timezone:ro
# - /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
networks:
NetworkGitea:
name: gitea
external: false
And then the container’s log:
|2024/01/03 11:58:40|stdout|Received signal 15; terminating.|
|---|---|---|
|2024/01/03 11:58:40|stdout|2024/01/03 10:58:40 ...s/setting/setting.go:96:InitCfgProvider() [F] Unable to init config provider from /data/gitea/conf/app.ini: unable to check if /data/gitea/conf/app.ini is a file. Error: stat /data/gitea/conf/app.ini: permission denied|
|2024/01/03 11:58:40|stdout|Server listening on 0.0.0.0 port 22.|
|2024/01/03 11:58:40|stdout|Server listening on :: port 22.|
I tried:
- To give “Users” group r/w privileges to the host folders which the container volume is attached with;
- To create a new compose project: the folders and files have been created, even the app.ini file, but still getting the same logs;
- To choose an older image of Gitea;
- Reboot the Nas.
I don’t know what else to do…
Thanks for your time,
Kami.
[EDIT]
Solution : add Reads Permissions to Everyone to docker folder.