Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Commit b643ab3

Browse files
sbrlappleboy
authored andcommitted
Add troubleshooting tip. (#109)
* Add troubleshooting tip. * Update from-gogs.en-us.md * Reinstate troubleshooting section * Update from-gogs.en-us.md * Update from-gogs.en-us.md * Update from-gogs.en-us.md
1 parent 7311829 commit b643ab3

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

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

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@ Gogs versions up to 0.9.115 can be smootlhy upgraded to Gitea.
2020
There are some steps to do so below. On Unix run as your Gogs user:
2121

2222
* 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`
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`.
2626
* If you have custom `templates, public` in `gogs/custom/` copy them to `gitea/custom/`.
2727
* If you have any other custom folders like `gitignore, label, license, locale, readme` in `gogs/custom/conf` copy them to `gitea/custom/options`.
2828
* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars.
29-
* Verify by starting Gitea with `gitea web`
29+
* Verify by starting Gitea with `gitea web`.
3030
* Enter Gitea admin panel on the UI, run `Rewrite '.ssh/authorized_keys' file`, then run `Rewrite all update hook of repositories` (needed when custom config path is changed).
31-
32-
31+
3332
### Change gogs specific information:
3433

3534
* Rename `gogs-repositories/` to `gitea-repositories/`
@@ -61,10 +60,14 @@ ROOT_PATH = /home/:USER/gitea/log
6160
```
6261

6362
* Verify by starting Gitea with `gitea web`
64-
65-
63+
64+
### Troubleshooting
65+
66+
* If you encounter errors relating to custom templates in the `gitea/custom/templates` folder, try moving the templates causing the errors away one by one. They may not be compatible with Gitea.
67+
6668
### Add Gitea to startup on Unix
67-
Update the appropriate file from [gitea/contrib](https://github.com/go-gitea/gitea/tree/master/contrib) with the right environment variables.
69+
70+
Update the appropriate file from [gitea/scripts](https://github.com/go-gitea/gitea/tree/master/scripts) with the right environment variables.
6871

6972
For distro's with systemd:
7073

0 commit comments

Comments
 (0)