-
Notifications
You must be signed in to change notification settings - Fork 40
Add troubleshooting tip. #109
Changes from 3 commits
9d4c602
d82dadb
ff889ba
a07953b
b3a934b
686866a
8d0b194
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,16 +20,16 @@ Gogs versions up to 0.9.115 can be smootlhy upgraded to Gitea. | |
There are some steps to do so below. On Unix run as your Gogs user: | ||
|
||
* Create a Gogs backup with `gogs dump`. This creates `gogs-dump-[timestamp].zip` file containing all your Gogs data. | ||
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea) | ||
* Put the binary at the desired install location | ||
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini` | ||
* Download the file matching your platform from the [downloads page](https://dl.gitea.io/gitea). | ||
* Put the binary at the desired install location. | ||
* Copy `gogs/custom/conf/app.ini` to `gitea/custom/conf/app.ini`. | ||
* If you have custom `templates, public` in `gogs/custom/` copy them to `gitea/custom/`. | ||
* If you have any other custom folders like `gitignore, label, license, locale, readme` in `gogs/custom/conf` copy them to `gitea/custom/options`. | ||
* Copy `gogs/data/` to `gitea/data/`. It contains issue attachments and avatars. | ||
* Verify by starting Gitea with `gitea web` | ||
* Verify by starting Gitea with `gitea web`. | ||
* 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). | ||
|
||
|
||
### Change gogs specific information: | ||
|
||
* Rename `gogs-repositories/` to `gitea-repositories/` | ||
|
@@ -61,8 +61,11 @@ ROOT_PATH = /home/:USER/gitea/log | |
``` | ||
|
||
* Verify by starting Gitea with `gitea web` | ||
|
||
|
||
|
||
### Troubleshooting | ||
* 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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing new line before this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Double slash? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed the double forward slash, but I don't understand "Missing new line before this" There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. A new line between content and headline There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @tboerger fixed |
||
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove an unnecessary empty line. |
||
### Add Gitea to startup on Unix | ||
Update the appropriate file from [gitea/scripts](https://github.com/go-gitea/gitea/tree/master/scripts) with the right environment variables. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove an unnecessary empty line.