From a5be520f0a78f4085bf73ad9104af6a0c7e4808b Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Fri, 31 Jan 2020 10:42:45 -0300 Subject: [PATCH] Remove migration support from versions earlier than 1.6.0 (#10026) * Remove migration support from versions earlier than 1.6.0 * Remove unused functions * Update gogs upgrade instructions * Improve "latest" link as per @jolheiser Co-authored-by: Antoine GIRARD Co-authored-by: Lauris BH Co-authored-by: Lunny Xiao --- doc/upgrade/from-gogs.en-us.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/upgrade/from-gogs.en-us.md b/doc/upgrade/from-gogs.en-us.md index c028c575..2d397260 100644 --- a/doc/upgrade/from-gogs.en-us.md +++ b/doc/upgrade/from-gogs.en-us.md @@ -70,9 +70,14 @@ There are some basic steps to follow. On a Linux system run as the Gogs user: ## Upgrading to most recent `gitea` version -After successful migration from `gogs` to `gitea 1.0.x`, it is possible to upgrade to the recent `gitea` version. -Simply download the file matching the destination platform from the [downloads page](https://dl.gitea.io/gitea) -and replace the binary. +After successful migration from `gogs` to `gitea 1.0.x`, it is possible to upgrade `gitea` to a modern version +in a two steps process. + +Upgrade to [`gitea 1.6.4`](https://dl.gitea.io/gitea/1.6.4/) first. Download the file matching +the destination platform from the [downloads page](https://dl.gitea.io/gitea/1.6.4/) and replace the binary. +Run Gitea at least once and check that everything works as expected. + +Then repeat the procedure, but this time using the [lastest release](https://dl.gitea.io/gitea/{{< version >}}/). ## Upgrading from a more recent version of Gogs