The change was rejected by the server without a message. Please check Git Hooks. #13382

Closed
opened 2025-11-02 10:40:38 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @amirad1 on GitHub (Aug 11, 2024).

Description

I have recently upgraded my gitea from 1.17.14 to 1.22.1 with the recommended instructions but I encountered a problem
when I am trying to make a new branch or upload any kind of file to the repository, I get this logs error
The change was rejected by the server without a message. Please check Git Hooks.

I can not face any error logs in the logs to retrieve more information

Gitea Version

1.22.1

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

image

Git Version

No response

Operating System

Ubuntu 24.04

How are you running Gitea?

linux binary systemd

Database

Mysql

Originally created by @amirad1 on GitHub (Aug 11, 2024). ### Description I have recently upgraded my gitea from 1.17.14 to 1.22.1 with the recommended instructions but I encountered a problem when I am trying to make a new branch or upload any kind of file to the repository, I get this logs error The change was rejected by the server without a message. Please check Git Hooks. I can not face any error logs in the logs to retrieve more information ### Gitea Version 1.22.1 ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots ![image](https://github.com/user-attachments/assets/32e1f71c-2d41-4c30-8595-b67c396d1af9) ### Git Version _No response_ ### Operating System Ubuntu 24.04 ### How are you running Gitea? linux binary systemd ### Database Mysql
GiteaMirror added the issue/needs-feedbacktype/bug labels 2025-11-02 10:40:38 -06:00
Author
Owner

@eeyrjmr commented on GitHub (Aug 11, 2024):

Could you try Resynchronize pre-receive, update and post-receive hooks of all repositories.
, from the admin site configuration page

2024-08-11_14-08-1723382139

@eeyrjmr commented on GitHub (Aug 11, 2024): Could you try Resynchronize pre-receive, update and post-receive hooks of all repositories. , from the admin site configuration page ![2024-08-11_14-08-1723382139](https://github.com/user-attachments/assets/46e8247e-54e8-4bbd-90d8-c9f45f7e1ccd)
Author
Owner

@amirad1 commented on GitHub (Aug 11, 2024):

thanks but it did not work and I am facing the same error

@amirad1 commented on GitHub (Aug 11, 2024): thanks but it did not work and I am facing the same error
Author
Owner

@eeyrjmr commented on GitHub (Aug 11, 2024):

can you provide full logs please. there will be some information in there

@eeyrjmr commented on GitHub (Aug 11, 2024): can you provide full logs please. there will be some information in there
Author
Owner

@amirad1 commented on GitHub (Aug 14, 2024):

The problem was with the repository path permission, unfortunately gitea does not provide any error logs when there is a permission error on repository but I have had to find it out by myself

@amirad1 commented on GitHub (Aug 14, 2024): The problem was with the repository path permission, unfortunately gitea does not provide any error logs when there is a permission error on repository but I have had to find it out by myself
Author
Owner

@lunny commented on GitHub (Aug 14, 2024):

I don't know whether Gitea caught the error git posted.

@lunny commented on GitHub (Aug 14, 2024): I don't know whether Gitea caught the error git posted.
Author
Owner

@GiteaBot commented on GitHub (Sep 14, 2024):

We close issues that need feedback from the author if there were no new comments for a month. 🍵

@GiteaBot commented on GitHub (Sep 14, 2024): We close issues that need feedback from the author if there were no new comments for a month. :tea:
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13382