The installation/upgrade tutorial state this
Forgejo is a fully-compatible drop-in replacement for Gitea.
When migrating from Gitea to the Forgejo release with the same release number (eg from Gitea v1.18 to Forgejo v1.18), all that is necessary is to replace the Gitea binary with the Forgejo binary (or change the container image).
When upgrading to Forgejo from an older version of Gitea, please follow the upgrade instructions in the Gitea documentation.
But this is not true.
If you don't place the Forgejo binary as gitea but as forgejo like almost everyone will do.
This will break all existing hooks in all existing repos, because the hooks directly link back to the gitea binary.
I suggest that we add something like:
After migrating you should run the repair hooks task.
This issue was found at the same time as this one (I have a friend that had issues to migrate because of that)
The installation/upgrade tutorial state this
```
Forgejo is a fully-compatible drop-in replacement for Gitea.
When migrating from Gitea to the Forgejo release with the same release number (eg from Gitea v1.18 to Forgejo v1.18), all that is necessary is to replace the Gitea binary with the Forgejo binary (or change the container image).
When upgrading to Forgejo from an older version of Gitea, please follow the upgrade instructions in the Gitea documentation.
```
But this is not true.
If you don't place the Forgejo binary as `gitea` but as `forgejo` like almost everyone will do.
This will break all existing hooks in all existing repos, because the hooks directly link back to the gitea binary.
I suggest that we add something like:
```
After migrating you should run the repair hooks task.
```
This issue was found at the same time as [this one ](https://codeberg.org/forgejo/forgejo/issues/326) (I have a friend that had issues to migrate because of that)