Unable to push / create a new intialized repo etc. #369

Closed
opened 2025-11-02 03:20:31 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @pzduniak on GitHub (Feb 20, 2017).

  • Gitea version (or commit ref): c5f8b96dda
  • Git version: docker image / 2.10.2.windows.1
  • Operating system: ubuntu 16.04.1 running docker / windows 10
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist: there's barely anything so I put it in the contents.

Description

push / clone / pull - fatal: Could not read from remote repository with no output +

eb 20 16:31:32 sshd[134]: Accepted publickey for git from x port 52917 ssh2: RSA y
Feb 20 16:31:32 sshd[134]: Received disconnect from x port 52917:11: disconnected by user
Feb 20 16:31:32 sshd[134]: Disconnected from x port 52917

creating a new repo - http500 +

remote: error: hook declined to update refs/heads/master
To /data/git/repositories/pzduniak/smh.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '/data/git/repositories/pzduniak/smh.git'
Originally created by @pzduniak on GitHub (Feb 20, 2017). - Gitea version (or commit ref): c5f8b96ddaefe83eb87a71a44c46cc13cc7130fa - Git version: docker image / 2.10.2.windows.1 - Operating system: ubuntu 16.04.1 running docker / windows 10 - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No - [ ] Not relevant - Log gist: there's barely anything so I put it in the contents. ## Description push / clone / pull - fatal: Could not read from remote repository with no output + ``` eb 20 16:31:32 sshd[134]: Accepted publickey for git from x port 52917 ssh2: RSA y Feb 20 16:31:32 sshd[134]: Received disconnect from x port 52917:11: disconnected by user Feb 20 16:31:32 sshd[134]: Disconnected from x port 52917 ``` creating a new repo - http500 + ``` remote: error: hook declined to update refs/heads/master To /data/git/repositories/pzduniak/smh.git ! [remote rejected] master -> master (hook declined) error: failed to push some refs to '/data/git/repositories/pzduniak/smh.git' ```
GiteaMirror added the issue/duplicate label 2025-11-02 03:20:31 -06:00
Author
Owner

@pzduniak commented on GitHub (Feb 20, 2017):

Reinstalling it did not fix anything. It worked earlier, I did not change anything really.

@pzduniak commented on GitHub (Feb 20, 2017): Reinstalling it did not fix anything. It worked earlier, I did not change anything really.
Author
Owner

@pzduniak commented on GitHub (Feb 20, 2017):

I tested out with 252adc912d and it works again. Breaking change happened somewhere inbetween.

@pzduniak commented on GitHub (Feb 20, 2017): I tested out with 252adc912dfdcfb4e4d235a020844db351556d84 and it works again. Breaking change happened somewhere inbetween.
Author
Owner

@pzduniak commented on GitHub (Feb 20, 2017):

04fdeb9d8d
c5f8b96dda

either of these commits, another error i saw was "xorm mode file invalid" or sth along the lines

@pzduniak commented on GitHub (Feb 20, 2017): 04fdeb9d8d4dc3cf296d8354ee29f1d053154a54 c5f8b96ddaefe83eb87a71a44c46cc13cc7130fa either of these commits, another error i saw was "xorm mode file invalid" or sth along the lines
Author
Owner

@lunny commented on GitHub (Feb 21, 2017):

duplicated with #988

@lunny commented on GitHub (Feb 21, 2017): duplicated with #988
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#369