-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
23.05: gitea sets custom/conf/app.ini
as read-only and fails startup
#235442
Comments
I had the same error message that came up during This was because I had LFS enabled by setting Prior to 23.05, the NixOS module unconditionally provisioned the LFS token in Of course, there are other issues that could produce the same error. |
What @DeeUnderscore suggested works for me, thank you. I believe there should be at least a warning or some type of message for the user. |
We could probably have a warning that comes up when |
A warning should be fine here. Feel free to file a patch for this. |
Another semi-related note:
I couldn't find a similar one on issue list (in this case gitea starts OK but doesn't allow repository pull/push), probably because I am using unstable.gitea package (v1.20.1) on 23.05. As a nasty workaround, I had to add following to the config:
|
Describe the bug
gitea
fails to start ascustom/conf/app.ini
is not writeable:I tried to make it writeable but it's reset to read-only each time the service starts.
Steps To Reproduce
Steps to reproduce the behavior:
22.11
to23.05
Notify maintainers
@disassembler @kolaente @Ma27 @techknowlogick
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: