push failed after migration into docker container #5548

Closed
opened 2025-11-02 06:28:35 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @PhilmacFLy on GitHub (Jun 15, 2020).

  • Gitea version (or commit ref): 1.13.0+dev-126-g5acba4609
  • Git version: 2.26.2
  • Operating system: Alpine
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

After I moved a gitea installation, that was on a server on its own, into a docker container via the backup and restore method from the docs, I'm recieving the following error message on a push

! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@domain:team/repo.git'

I already executed the gitea admin regenerate hooks command multiple times, with no avail.

Originally created by @PhilmacFLy on GitHub (Jun 15, 2020). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.13.0+dev-126-g5acba4609 - Git version: 2.26.2 - Operating system: Alpine - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description After I moved a gitea installation, that was on a server on its own, into a docker container via the backup and restore method from the docs, I'm recieving the following error message on a push > ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@domain:team/repo.git' I already executed the `gitea admin regenerate hooks` command multiple times, with no avail.
GiteaMirror added the issue/stale label 2025-11-02 06:28:35 -06:00
Author
Owner

@PhilmacFLy commented on GitHub (Jun 18, 2020):

Ok I had a look into it some more, and it seems that my Organizations are gone, but I have no idea why.

@PhilmacFLy commented on GitHub (Jun 18, 2020): Ok I had a look into it some more, and it seems that my Organizations are gone, but I have no idea why.
Author
Owner

@stale[bot] commented on GitHub (Aug 17, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Aug 17, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Aug 31, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Aug 31, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5548