aboutsummaryrefslogtreecommitdiffstats
path: root/docs/content/doc/upgrade
diff options
context:
space:
mode:
authorVictor Polevoy <vityatheboss@gmail.com>2018-02-22 15:55:26 +0300
committerBo-Yi Wu <appleboy.tw@gmail.com>2018-02-22 20:55:26 +0800
commite7cea9253530091be4e0073bfd9152f09cb5a40d (patch)
tree4591468b6fbc34e1b81be408f0a819437d3ec9ec /docs/content/doc/upgrade
parent04b3e8cbdc2bb4eafe8feb3fe4882f010e931860 (diff)
downloadgitea-e7cea9253530091be4e0073bfd9152f09cb5a40d.tar.gz
gitea-e7cea9253530091be4e0073bfd9152f09cb5a40d.zip
Update gogs to gitea migration manual (#3559)
Updates the manual for latest gogs changes.
Diffstat (limited to 'docs/content/doc/upgrade')
-rw-r--r--docs/content/doc/upgrade/from-gogs.en-us.md10
1 files 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 93f2e13a2a..4e16b3b789 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]