Hello,
I haven't been able to reset the root account password on my Gitea instance, and more generally, any command that I issue (/home/git/gitea/gitea admin user list
) do fail.
It appears that Gitea doesn't want to pick the custom location for configuration file, or that I don't know how to set it up correctly.
Related discussion here on Stackoverflow.
su git bash -c "/home/git/gitea/gitea admin user change-password -u root -p badpassword -c "/app/data/app.ini" "
Any help would be greatly appreciated
root@6cb7d536-ceaa-4d26-b387-fbd54b1c02b6:/app/data# su git bash -c "/home/git/gitea/gitea user list"
2021/10/29 16:46:48 cmd/web.go:102:runWeb() [I] Starting Gitea on PID: 26034
2021/10/29 16:46:48 ...s/setting/setting.go:569:NewContext() [W] Custom config '/home/git/gitea/custom/conf/app.ini' not found, ignore this if you're running first time
2021/10/29 16:46:48 ...s/setting/setting.go:1164:CreateOrAppendToCustomConf() [F] failed to create '/home/git/gitea/custom/conf/app.ini': mkdir /home/git/gitea/custom: read-only file system