Skip to content

Commit 5b14327

Browse files
committed
faq: update hooks-not-running docs
fixes go-gitea#14813
1 parent 75243ec commit 5b14327

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/content/doc/help/faq.en-us.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,15 @@ Our translations are currently crowd-sourced on our [Crowdin project](https://cr
182182
Please don't submit translation updates via GitHub pull requests, as they will be overwritten with the translations in Crowdin.
183183
If you want to add (and maintain) an entirely new translation, please contact us on Discord or in a GitHub issue, so we can set that up in Crowdin.
184184

185-
## Hooks aren't running
185+
## Repo displayed as empty or pushed commits don't show up in the UI
186186

187-
If Gitea is not running hooks, a common cause is incorrect setup of SSH keys.
188-
See [SSH Issues](#ssh-issues) for more information.
187+
Essentially this problem boils down to git hooks not running.
188+
That could be due to:
189+
190+
- You're pushing not through Gitea's SSH; see [SSH issues](#ssh-issues).
191+
- The hooks not having the right path for gitea (ie. after moving installations. To fix this, click `Resynchronize pre-receive, update and post-receive hooks of all repositories` in the Gitea admin dashboard.
192+
- The hooks aren't executable because they're on a `noexec` partition, or another security feature of the way Gitea is run.
189193

190-
You can also try logging into the administration panel and running the `Resynchronize pre-receive, update and post-receive hooks of all repositories.` option.
191194

192195
## SSH issues
193196

0 commit comments

Comments
 (0)