Gitea upgrade from 1.11.0+rc1-23-g42663a687 to 1.16.8 #3
Labels
No Label
Fees
Information
Pro-bono
Upgrade
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 3 hours 10 minutes
Due Date
dachary
3 hours 10 minutes
No due date set.
Dependencies
No dependencies set.
Reference: dachary/hostea#3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Following the HOWTO Gitea upgrades, a guide for admins
I'll assist Raphaël in upgrading a Gitea instance running 1.11.0+rc1-23-g42663a687 to 1.16.8.
It is an ancient installation that was never upgraded. The plan is to try an upgrade using a backup so as to detect problems without disturbing the production instance.
Sandboxed upgrade
gitea migrate
verify it does no migration with select * from version == 118gitea doctor --all
Production upgrade
Gitea upgrade from 1.11.x to 1.16.8to Gitea upgrade from 1.11.0+rc1-23-g42663a687 to 1.16.8It seems to work but the doctor found errors.
bug in the doctor command (fixed here) will likely be backported. It fails three checks but the database has no oauth2 configured so it does not really matter.
these are because the associated branches were removed but the PR contain the commits and otherwise look good. The doctor should not issue a warning in this case.
they are empty, they can be left where they are: it is a cache
The doctor should not issue a warning in this case.
The upgrade is completed using the upgrade.sh script with the following changes:
An attempt was made to run gitea doctor before the upgrade only to realize that it was not available in 1.11