Pull Request failed in latest Chart Version #173

Closed
opened 2021-06-09 14:28:41 +00:00 by Jonas18175 · 4 comments

Hello,

in the latest chart version the pull requests failed.
The log shows:

2021/06/09 14:13:02 ...rvices/pull/patch.go:105:checkConflicts() [E] Unable to create temporary patch file! Error: open /tmp/gitea/patch352582093: permission denied 9.6.2021 16:13:02 2021/06/09 14:13:02 .../api/v1/repo/pull.go:431:CreatePullRequest() [E] NewPullRequest: Unable to create temporary patch file! Error: open /tmp/gitea/patch352582093: permission denied 

I check the tmp folder and there are a gitea folder with full rights for the gitea user. I temporary change that to 777 permissions in runtime and the pull requests works again. Seems that it use a other user to access it and not git, but why? I thougth that gitea runs as user git inside container.

Hello, in the latest chart version the pull requests failed. The log shows: ``` 2021/06/09 14:13:02 ...rvices/pull/patch.go:105:checkConflicts() [E] Unable to create temporary patch file! Error: open /tmp/gitea/patch352582093: permission denied 9.6.2021 16:13:02 2021/06/09 14:13:02 .../api/v1/repo/pull.go:431:CreatePullRequest() [E] NewPullRequest: Unable to create temporary patch file! Error: open /tmp/gitea/patch352582093: permission denied ``` I check the tmp folder and there are a gitea folder with full rights for the gitea user. I temporary change that to 777 permissions in runtime and the pull requests works again. Seems that it use a other user to access it and not git, but why? I thougth that gitea runs as user git inside container.
Author

Is possible fixed with: f0070ef64b

Is possible fixed with: https://gitea.com/gitea/helm-chart/commit/f0070ef64bcb8fa91ac16acdd11f923235a552fa
Member

should be fixed with #172

should be fixed with #172
Member

Released 3.1.3 with the fix, can you confirm, that this is fixed for you?

Released 3.1.3 with the fix, can you confirm, that this is fixed for you?
Author

Yes, its fixed for me. I confirmed. Thanks ?

Yes, its fixed for me. I confirmed. Thanks ?
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gitea/helm-gitea#173
No description provided.