Skip to content

After migrating to 1.1.0 every push has a remote hook-related error #1226

@milanaleksic

Description

@milanaleksic
  • Gitea version (or commit ref): 1.1.0
  • Git version: 2.1.4
  • Operating system: linux arm
  • 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:
milan@phobos ~/SourceCode/chef-repo → g p
Counting objects: 6, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (6/6), 1.08 KiB | 0 bytes/s, done.
Total 6 (delta 4), reused 0 (delta 0)
remote: ls: cannot access <REPOLOCATION>chef-repo.git/hooks/pre-receive.d/pre-receive.d: No such file or directory
remote: ls: cannot access <REPOLOCATION>chef-repo.git/hooks/post-receive.d/post-receive.d: No such file or directory
To <GITSERVER>/milanaleksic/chef-repo.git
   f5c53b8..efd304e  master -> master

Description

After the installation of the new version (1.0.1 -> 1.1.0) has been completed I seem to have the issue as explained above.

Is this a migration went bad? If so, may I just update in postgre the version to some other value and hope this to be fixed automatically? If not, can you give me a fix please?

This is not critical since push ends up being in the repository, but very annoying

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions