I made a few mistakes and rectified them, now I'm down to this error:
2024/07/25 22:34:52 routers/init.go:73:mustInitCtx() [F] code.gitea.io/gitea/modules/git.InitFull(ctx) failed: git not found: exec: "~/opt/bin/git": stat ~/opt/bin/git: no such file or directory
So it seems to think that it can't find git? Am I reading that correctly?
As far as I can tell, the new version of git is installed and running:
$ git --version
git version 2.29.2
And it is present where it should be:
ls ~/opt/bin -hl
total 73M
-rwxr-xr-x. 135 kjodle kjodle 16M Jul 25 22:20 git
-rwxr-xr-x. 2 kjodle kjodle 160K Jul 25 22:20 git-cvsserver
-rwxr-xr-x. 1 kjodle kjodle 392K Jul 25 22:20 gitk
-rwxr-xr-x. 135 kjodle kjodle 16M Jul 25 22:20 git-receive-pack
-rwxr-xr-x. 2 kjodle kjodle 8.5M Jul 25 22:20 git-shell
-rwxr-xr-x. 135 kjodle kjodle 16M Jul 25 22:20 git-upload-archive
-rwxr-xr-x. 135 kjodle kjodle 16M Jul 25 22:20 git-upload-pack
and the end of my app.ini
file contains the path:
[git]
PATH = "~/opt/bin/git"
Running whereis git
gives me the following:
git: /usr/bin/git /home/kjodle/opt/bin/git /usr/share/man/man1/git.1.gz
So everything seems it's where it should be, but nothing is clicking at this point, either for me or for Gitea.