@@ -17,16 +17,20 @@ menu:
1717
1818# Upgrade from an old Gitea
1919
20- To update Gitea, download a newer version, stop the old one, perform a backup, and run the new one.
21- Every time a Gitea instance starts up, it checks whether a database migration should be run.
22- If a database migration is required, Gitea will take some time to complete the upgrade and then serve.
20+ Follow below steps to ensure a smooth upgrade to a new Gitea version.
2321
2422## Check the Changelog for breaking changes
2523
2624To make Gitea better, some breaking changes are unavoidable, especially for big milestone releases.
27- Before upgrade , please read the [ Changelog on Gitea blog] ( https://blog.gitea.io / )
25+ Before upgrading , please read the [ Changelog on Gitea blog] ( https://blog.gitea.com / )
2826and check whether the breaking changes affect your Gitea instance.
2927
28+ ## Verify there are no deprecated configuration options
29+
30+ New versions of Gitea often come with changed configuration syntax or options which are usually displayed for
31+ at least one release cycle inside at the top of the Site Administration panel. If these warnings are not
32+ resolved, Gitea may refuse to start in the following version.
33+
3034## Backup for downgrade
3135
3236Gitea keeps compatibility for patch versions whose first two fields are the same (` a.b.x ` -> ` a.b.y ` ),
@@ -60,6 +64,11 @@ Backup steps:
6064If you are using cloud services or filesystems with snapshot feature,
6165a snapshot for the Gitea data volume and related object storage is more convenient.
6266
67+ After all of steps have been prepared, download the new version, stop the application, perform a backup and
68+ then start the new application. On each startup, Gitea verifies that the database is up to date and will automtically
69+ perform any necessary migrations. Depending on the size of the database, this can take some additional time on the
70+ first launch during which the application will be unavailable.
71+
6372## Upgrade with Docker
6473
6574* ` docker pull ` the latest Gitea release.
0 commit comments