Add docs about database migration (#5661)

* Add docs about database migration

* Reorder upgrade from Gogs steps
This commit is contained in:
Shikiryu 2019-01-11 04:58:28 +01:00 committed by techknowlogick
parent 31aa00fa4b
commit 915278f237
2 changed files with 2 additions and 0 deletions

View file

@ -31,6 +31,7 @@ There are some basic steps to follow. On a Linux system run as the Gogs user:
* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars.
* Verify by starting Gitea with `gitea web`.
* Enter Gitea admin panel on the UI, run `Rewrite '.ssh/authorized_keys' file`.
* Launch every major version of the binary ( `1.1.4``1.2.3``1.3.4``1.4.2` → etc ) to migrate database.
* If custom or config path was changed, run `Rewrite all update hook of repositories`.
## Change gogs specific information