A clear and concise description of what the bug is.
Since my last upgrade of gitea to 1.20.2 (I don't remember which version I was before but not so far away) my ssh authentication stopped working. (I'm on NixOS)
I checked and found out https://github.com/go-gitea/gitea/issues/26516.
Checked the logs and saw :
Unable to update WORK_PATH=/var/lib/gitea to config "/var/lib/gitea/custom/conf/app.ini": failed to save "/var/lib/gitea/custom/conf/app.ini": open /var/lib/gitea/custom/conf/app.ini: permission denied
So I'm guessing it's related.
I think we cannot setup in settings this config so I put it into extraConfig (which is deprecated) and it did not fixed it :sweat_smile:
So I've duplicated the current module locally and tried to simply add the option on the top :
Describe the bug
A clear and concise description of what the bug is. Since my last upgrade of gitea to 1.20.2 (I don't remember which version I was before but not so far away) my ssh authentication stopped working. (I'm on NixOS) I checked and found out https://github.com/go-gitea/gitea/issues/26516. Checked the logs and saw :
Unable to update WORK_PATH=/var/lib/gitea to config "/var/lib/gitea/custom/conf/app.ini": failed to save "/var/lib/gitea/custom/conf/app.ini": open /var/lib/gitea/custom/conf/app.ini: permission denied
So I'm guessing it's related. I think we cannot setup in settings this config so I put it into extraConfig (which is deprecated) and it did not fixed it :sweat_smile: So I've duplicated the current module locally and tried to simply add the option on the top :
And it fixed it.
Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen. Being able to use SSH.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.