warning broken git hooks #14174

Closed
opened 2025-11-02 11:05:19 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @saiballo on GitHub (Feb 22, 2025).

Description

Every time I push to a remote repository, I get this message:

"Git hooks of this repository seem to be broken. Please follow the documentation etc etc"

To resolve it, I need to run the command:

"Sync tags from git data to database" or "Sync missed branches from git data to databases"

from the administration control panel.

How can I fix it? Or can i disable this warning?

Gitea Version

1.24.4

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

ubuntu

How are you running Gitea?

gitea selfhosted

Database

MSSQL

Originally created by @saiballo on GitHub (Feb 22, 2025). ### Description Every time I push to a remote repository, I get this message: "Git hooks of this repository seem to be broken. Please follow the documentation etc etc" To resolve it, I need to run the command: "Sync tags from git data to database" or "Sync missed branches from git data to databases" from the administration control panel. How can I fix it? Or can i disable this warning? ### Gitea Version 1.24.4 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System ubuntu ### How are you running Gitea? gitea selfhosted ### Database MSSQL
GiteaMirror added the type/bug label 2025-11-02 11:05:19 -06:00
Author
Owner

@saiballo commented on GitHub (Feb 22, 2025):

solved. my fault, sorry. The repository file system did not have exec permissions.

@saiballo commented on GitHub (Feb 22, 2025): solved. my fault, sorry. The repository file system did not have exec permissions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14174