You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I updated my gitea from 1.3.2 to 1.4.0 by replacing "gitea-1.3.2-windows-4.0-386.exe" by "gitea-1.4.0-windows-4.0-386.exe".
After doing this, I can't push anything onto the server. When I try to push, I got this line on command line "remote: ./hooks/pre-receive.d/gitea: line 2: D:/Version Control/Gitea/gitea-1.3.2-windows-4.0-386.exe: No such file or directory" because those hooks contains a path to the old gitea exe.
It seems there is no migration guide for this. How can I update gitea? Am I supposed to update those hooks one by one manually?
The text was updated successfully, but these errors were encountered:
It is recommended to use more generic name like gitea.exe (just rename after download) to not have such issues.
In admin options (https://<your-domain>/admin) there is option (Resync pre-receive, update and post-receive hooks of all repositories.) to rewrite all hooks with new path:
I updated my gitea from 1.3.2 to 1.4.0 by replacing "gitea-1.3.2-windows-4.0-386.exe" by "gitea-1.4.0-windows-4.0-386.exe".
After doing this, I can't push anything onto the server. When I try to push, I got this line on command line "remote: ./hooks/pre-receive.d/gitea: line 2: D:/Version Control/Gitea/gitea-1.3.2-windows-4.0-386.exe: No such file or directory" because those hooks contains a path to the old gitea exe.
It seems there is no migration guide for this. How can I update gitea? Am I supposed to update those hooks one by one manually?
The text was updated successfully, but these errors were encountered: