Update the ref #13883

Closed
opened 2025-11-02 10:56:04 -06:00 by GiteaMirror · 7 comments
Owner

Originally created by @utenus on GitHub (Dec 27, 2024).

Description

On the user side, nothing changed. Neither the permissions nor any updates. One day everything was ok and the next morning it was errors, unfortunately. Of course, only one person has access to the repository and the repository itself is as private. Perhaps there is some error on official server.

> git push origin main:main
remote: error: cannot update the ref 'refs/heads/main': unable to append to './logs/refs/heads/main': Permission denied        

 ! [remote rejected] main -> main (failed to update ref)
error: failed to push some refs to 'gitea.com:repo/repo.git'

Gitea Version

I don't know

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

It official gitea server.

Database

None

Originally created by @utenus on GitHub (Dec 27, 2024). ### Description On the user side, nothing changed. Neither the permissions nor any updates. One day everything was ok and the next morning it was errors, unfortunately. Of course, only one person has access to the repository and the repository itself is as private. Perhaps there is some error on official server. ```bash > git push origin main:main remote: error: cannot update the ref 'refs/heads/main': unable to append to './logs/refs/heads/main': Permission denied ! [remote rejected] main -> main (failed to update ref) error: failed to push some refs to 'gitea.com:repo/repo.git' ``` ### Gitea Version I don't know ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? It official gitea server. ### Database None
GiteaMirror added the issue/needs-feedback label 2025-11-02 10:56:04 -06:00
Author
Owner

@wxiaoguang commented on GitHub (Dec 27, 2024):

 unable to append to './logs/refs/heads/main': Permission denied  

The filesystem permission (chown/chmod) is not right in your git repositories on the server.

@wxiaoguang commented on GitHub (Dec 27, 2024): > ```shell > unable to append to './logs/refs/heads/main': Permission denied > ``` The filesystem permission (chown/chmod) is not right in your git repositories on the server.
Author
Owner

@wxiaoguang commented on GitHub (Dec 27, 2024):

Can you reproduce the bug on the Gitea demo site?

Yes

Which repo on the demo site to reproduce?

How are you running Gitea?

It official gitea server.
error: failed to push some refs to 'gitea.com:repo/repo.git'

Which repo reproduces the error? gitea.com:repo/repo.git ? It seems that https://gitea.com/repo/repo doesn't exist.

@wxiaoguang commented on GitHub (Dec 27, 2024): > ### Can you reproduce the bug on the Gitea demo site? > > Yes Which repo on the demo site to reproduce? > ### How are you running Gitea? > > It official gitea server. > error: failed to push some refs to 'gitea.com:repo/repo.git' Which repo reproduces the error? `gitea.com:repo/repo.git` ? It seems that `https://gitea.com/repo/repo` doesn't exist.
Author
Owner

@utenus commented on GitHub (Dec 27, 2024):

@wxiaoguang I didn't know what to mark in the case of the gitea demo because issue is related to a private hidden repository on official gitea. The name of the repository was changed because the entire repository is only for private access anyway.

@utenus commented on GitHub (Dec 27, 2024): @wxiaoguang I didn't know what to mark in the case of the gitea demo because issue is related to a private hidden repository on official gitea. The name of the repository was changed because the entire repository is only for private access anyway.
Author
Owner

@wxiaoguang commented on GitHub (Dec 27, 2024):

Then maybe you need to describe the problem clearly and tell the site admin of "gitea.com" that you need help with your private repo.

@wxiaoguang commented on GitHub (Dec 27, 2024): Then maybe you need to describe the problem clearly and tell the site admin of "gitea.com" that you need help with your private repo.
Author
Owner

@utenus commented on GitHub (Dec 27, 2024):

Maybe this is the solution. The question is how to contact them because I didn't see a place for such contact through their website.

@utenus commented on GitHub (Dec 27, 2024): Maybe this is the solution. The question is how to contact them because I didn't see a place for such contact through their website.
Author
Owner

@lunny commented on GitHub (Dec 28, 2024):

Please send an email to support@gitea.com.

@lunny commented on GitHub (Dec 28, 2024): Please send an email to support@gitea.com.
Author
Owner

@techknowlogick commented on GitHub (Dec 28, 2024):

Closing this as I believe I've received a support request for this and resolved it. Please lmk if that wasn't you and the issue still persists.

@techknowlogick commented on GitHub (Dec 28, 2024): Closing this as I believe I've received a support request for this and resolved it. Please lmk if that wasn't you and the issue still persists.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#13883