Closed JKingweb closed 5 years ago
Resynchronizing hooks seems to have put things right. Sorry for the noise.
@JKingweb So did you run gitea admin regenerate hooks?
I tried that but it didn't seem to help.
I used the Web interface. I wasn't aware there was a CLI command.
I'm not sure if it's the same thing? I ran that too from the web interface, but looks like my issue is an artifact that was leftover from migrating it from Gogs, correcting the path here solved it:
git@gitea:~/gitea-repositories/user/arduino-code.git/hooks/pre-receive.d$ cat pre-receive
#!/usr/bin/env bash
"/home/git/gogs/gogs" hook --config='/home/git/gogs/custom/conf/app.ini' pre-receive
Not sure why it got hung up now, since I successfully pushed to it yesterday without any issues. :man_shrugging:
Looks to be a change in behavior with 1.9.1: https://github.com/go-gitea/gitea/pull/7856, https://github.com/go-gitea/gitea/issues/7754
For anyone else in the same situation, running this from the gitea-repositories
directory is a quick fix:
grep -lr 'gogs/gogs' * | xargs sed -i 's/gogs/gitea/g;'
[x]
):Description
I know this issue has cropped up a lot for people, but none of the supposed solutions have worked for me.
Relevant configuration as follows:
And for Nginx:
I've tried numerous variations on the above Gitea configuration (no HTTP_ADDR, DOMAIN set to code.mensbeam.com, no port in ROOT_URL...), but nothing works. This was all working earlier today, and had been for a couple of years, so I'm pretty mystified.