You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 2, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/doc/upgrade/from-gogs.en-us.md
+60-9Lines changed: 60 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,66 @@ menu:
15
15
16
16
# Upgrade from Gogs
17
17
18
-
Gogs versions up to 0.9.97 can be smootlhy upgraded to Gitea.
18
+
Gogs versions up to 0.9.115 can be smootlhy upgraded to Gitea.
19
19
20
-
There are some steps to do so below.
21
-
Make sure to complete them as the gitea user in ~:
20
+
There are some steps to do so below. On Unix run as your Gogs user:
22
21
23
-
* Stop Gogs
24
-
* Copy Gogs `custom/conf/app.ini` to Gitea.
25
-
* Copy Gogs `conf/` to `options/` for Gitea.
26
-
* If you have more custom content on `custom/` folder, like templates or localization files, you should carrefully merge manually because these files changed on Gitea.
27
-
* Copy `data/` folder from Gogs to Gitea. It contains issue attachments and avatars.
28
-
* Run Gitea
22
+
* Create a Gogs backup with `gogs dump`. This creates `gogs-dump-[timestamp].zip` file containing all your Gogs data.
23
+
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea)
24
+
* Put the binary at the desired install location
25
+
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`
26
+
* If you have custom `templates, public` in `gogs/custom/` copy them to `gitea/custom/`.
27
+
[Due to a bug](https://github.com/go-gitea/gitea/issues/529) custom templates aren't working at the moment.
28
+
* If you have any other custom folders like `gitignore, label, license, locale, readme` in `gogs/custom/conf` copy them to `gitea/custom/options`.
29
+
* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars.
30
+
* Verify by starting Gitea with `gitea web`
29
31
* Enter Gitea admin panel on the UI, run `Rewrite '.ssh/authorized_keys' file` (caution: non-Gitea keys will be lost) and `Rewrite all update hook of repositories` (needed when custom config path is changed).
32
+
33
+
34
+
### Change gogs specific information:
35
+
36
+
* Rename `gogs-repositories/` to `gitea-repositories/`
0 commit comments