Closed BalancedTernary closed 6 months ago
Hello, did you used ixVolumes or hostPath for the storage locations? If it was hostPath, did you set the permissions to the same uid/gid as the Run As values?
Thanks
Hello, did you used ixVolumes or hostPath for the storage locations? If it was hostPath, did you set the permissions to the same uid/gid as the Run As values?
Thanks
Yes, I am using hostPath and I have set appropriate permissions for the dataset (netdata user and docker group). However, upon failure to run it, I found that the docker group permissions were revoked. I opened the app again and ran it again, obtaining the same result.
For the database directories (pg data and pgbackup) you need 999:999
and for gitea directories (data and config) you need the user:group you set on the User and Group Configuration
section
For the database directories (pg data and pgbackup) you need
999:999
and for gitea directories (data and config) you need the user:group you set on theUser and Group Configuration
section
I have granted full access to gitea data and gitea config to root users and groups, as well as admin users and groups. But the same problem still arises.(The database appears to be working properly)
Giving access to root and admin wont help.
You have to give access to the IDs you set on User and Group Configuration
section.
Alternatively you can install it with ixVolumes and see exactly what the persmissions should be.
Giving access to root and admin wont help. You have to give access to the IDs you set on
User and Group Configuration
section.Alternatively you can install it with ixVolumes and see exactly what the persmissions should be.
I don't know how to establish associations between users, groups, and apps. However, I found a built-in user group called Apps. After I granted it permissions, it can now start normally.
Yep the 568
id is the apps
user.
But containers dont always match 1:1 with host's users. Glad you got it working!
Closing this now!
Thanks!
gitea-postgres pod log
gitea pod log