RSSAmplifier

Home on codebase · Aug 29, 2025

issues and fixes

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

starting gitea with another user than defined in gitea.conf 
 results in: 
 
... routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: failed to set git global config diff.algorithm, err: exit status 255 - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied
error: could not lock config file…

starting gitea with another user than defined in gitea.conf

results in:

... routers/init.go:74:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: failed to set git global config diff.algorithm, err: exit status 255 - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied - warning: unable to access '/home/rudolf/.config/git/gitconfig': Permission denied error: could not lock config file /home/rudolf/.config/git/gitconfig: Permission denied

the fix is to run before running gitea.

Read on codebase.zone

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.