error upgrade #3795

Closed
opened 2025-11-02 05:25:29 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @bajins on GitHub (Aug 16, 2019).

need to replace the binary file name after the upgrade, otherwise there will be an error in the push!

can be solved with commandsc

grep -rl "gitea-1.8-linux-amd64" ./* | xargs sed -i s/"gitea-1.8-linux-amd64"/"gitea-1.9.0-linux-amd64"/g
Originally created by @bajins on GitHub (Aug 16, 2019). need to replace the binary file name after the upgrade, otherwise there will be an error in the push! can be solved with commandsc ```bash grep -rl "gitea-1.8-linux-amd64" ./* | xargs sed -i s/"gitea-1.8-linux-amd64"/"gitea-1.9.0-linux-amd64"/g ```
Author
Owner

@techknowlogick commented on GitHub (Aug 16, 2019):

Thank you for commenting this :)

There is a built in utility in Gitea that does this, if you go to admin dashboard and run the "Resynchronize pre-receive, update and post-receive hooks of all repositories." task.

@techknowlogick commented on GitHub (Aug 16, 2019): Thank you for commenting this :) There is a built in utility in Gitea that does this, if you go to admin dashboard and run the "Resynchronize pre-receive, update and post-receive hooks of all repositories." task.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3795