Update gogs to gitea migration manual (#3559)
Updates the manual for latest gogs changes.
This commit is contained in:
parent
04b3e8cbdc
commit
e7cea92535
|
@ -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:
|
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
|
* Create a Gogs backup with `gogs backup`. This creates `gogs-backup-[timestamp].zip` file
|
||||||
containing all important Gogs data.
|
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).
|
* 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.
|
* Put the binary at the desired install location.
|
||||||
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`.
|
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`.
|
||||||
* Copy custom `templates, public` from `gogs/custom/` to `gitea/custom/`.
|
* 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/`
|
* Rename `gogs-data/` to `gitea-data/`
|
||||||
* In `gitea/custom/conf/app.ini` change:
|
* 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:
|
FROM:
|
||||||
```
|
```
|
||||||
[database]
|
[database]
|
||||||
|
|
Loading…
Reference in a new issue