Gitea upgrade from 1.11.0+rc1-23-g42663a687 to 1.16.8
#3
Closed
opened 1 year ago by dachary
·
3 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. 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.8 1 year agoIt 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