Skip to content

Commit e7cea92

Browse files
iddmappleboy
authored andcommitted
Update gogs to gitea migration manual (#3559)
Updates the manual for latest gogs changes.
1 parent 04b3e8c commit e7cea92

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/content/doc/upgrade/from-gogs.en-us.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ Gogs, version 0.9.146 and older, can be easily migrated to Gitea.
1919

2020
There are some basic steps to follow. On a Linux system run as the Gogs user:
2121

22-
* Create a Gogs backup with `gogs dump`. This creates `gogs-dump-[timestamp].zip` file
23-
containing all important Gogs data.
22+
* Create a Gogs backup with `gogs backup`. This creates `gogs-backup-[timestamp].zip` file
23+
containing all important Gogs data. You would need it if you wanted to move to the `gogs` back later.
2424
* Download the file matching the destination platform from the [downloads page](https://dl.gitea.io/gitea).
25+
It should be `1.0.x` version. Migrating from `gogs` to any other version is impossible.
2526
* Put the binary at the desired install location.
2627
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`.
2728
* 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:
3839
* Rename `gogs-data/` to `gitea-data/`
3940
* In `gitea/custom/conf/app.ini` change:
4041

42+
### Upgrading to most recent `gitea` version:
43+
After successful migration from `gogs` to `gitea 1.0.x` it is possible to upgrade to the recent `gitea` version.
44+
Simply download the file matching the destination platform from the [downloads page](https://dl.gitea.io/gitea)
45+
and replace the binary.
46+
4147
FROM:
4248
```
4349
[database]

0 commit comments

Comments
 (0)