#Hostea tip: when @Gitea is installed with docker, here is how you will want to run the #Gitea doctor 🩺 to verify it is not sick 🤕
docker exec --user git gitea gitea doctor --all --log-file /tmp/doctor.log
Should there be a need for more information looking 👀 in the doctor.log will display the gory details:
docker exec --user git gitea cat /tmp/doctor.log
---
Authored by @dachary
It "works for me"
$ docker run --name gitea -p 3000:3000 -e GITEA__security__INSTALL_LOCK=true -d gitea/gitea:1.16.8-rootless
$ docker exec gitea gitea doctor --all
[1] Check paths and basic configuration
- [I] Configuration File Path: "/etc/gitea/app.ini"
- [I] Repository Root Path: "/var/lib/gitea/git/repositories"
...
I suppose you're running the doctor differently. Does that help?
---
Authored by @dachary
Is there anyway it can be run on rootless Gitea image? Currently the command outputs this:
[1] Check paths and basic configuration
- [E] Failed to find configuration file at '/etc/gitea/app.ini'.
@dachary