From e7cea9253530091be4e0073bfd9152f09cb5a40d Mon Sep 17 00:00:00 2001 From: Victor Polevoy Date: Thu, 22 Feb 2018 15:55:26 +0300 Subject: [PATCH] Update gogs to gitea migration manual (#3559) Updates the manual for latest gogs changes. --- docs/content/doc/upgrade/from-gogs.en-us.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/content/doc/upgrade/from-gogs.en-us.md b/docs/content/doc/upgrade/from-gogs.en-us.md index 93f2e13a2..4e16b3b78 100644 --- a/docs/content/doc/upgrade/from-gogs.en-us.md +++ b/docs/content/doc/upgrade/from-gogs.en-us.md @@ -19,9 +19,10 @@ Gogs, version 0.9.146 and older, can be easily migrated to Gitea. There are some basic steps to follow. On a Linux system run as the Gogs user: -* Create a Gogs backup with `gogs dump`. This creates `gogs-dump-[timestamp].zip` file - containing all important Gogs data. +* Create a Gogs backup with `gogs backup`. This creates `gogs-backup-[timestamp].zip` file + containing all important Gogs data. You would need it if you wanted to move to the `gogs` back later. * Download the file matching the destination platform from the [downloads page](https://dl.gitea.io/gitea). + It should be `1.0.x` version. Migrating from `gogs` to any other version is impossible. * Put the binary at the desired install location. * Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`. * Copy custom `templates, public` from `gogs/custom/` to `gitea/custom/`. @@ -38,6 +39,11 @@ There are some basic steps to follow. On a Linux system run as the Gogs user: * Rename `gogs-data/` to `gitea-data/` * In `gitea/custom/conf/app.ini` change: +### 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. + FROM: ``` [database]