Gitea installation - Permission denied

I try to install Gitea on TrueNAS Scale and created 5 datasets, gave “Apps” as “Share Type” and mounted it accordingly to Gitea:

/mnt/Tank/Gitea
/mnt/Tank/Gitea/data
/mnt/Tank/Gitea/config
/mnt/Tank/Gitea/db
/mnt/Tank/Gitea/dbbackup

Unfortunately the Gitea pod gives a permissions denied:

2024-04-12 12:35:27.986707-07:00 mkdir: can't create directory '/var/lib/gitea/git': Permission denied
2024-04-12 12:35:27.986793-07:00 /var/lib/gitea/git is not writable
2024-04-12 12:35:27.986848-07:00 docker setup failed

Any idea how to solve that problem?

Postgres Pod looks good. Unfortunately I cannot jump in the Gitea pod as it fails - so I can’t check UID or something…

1 Like