Here are a few procedures for our Gitea instance
We have a small script in place that takes over most of the work. In this example, we upgrade to version 1.13.0.
su - git cd ~/gitea ./updater.sh 1.13.0 # Follow the instructions of the script. # To stop/start gitea, it's suggested to open a second session as root. systemctl stop gitea systemctl start gitea
Afterwards - especially after major upgrades – compare the upstream templates for this release (choose the tag!) with the ones stored in /home/git/gitea/custom/templates. If substantial changes happened with this release, take the new versions and migrate the custom changes to them. You have to restart gitea to take these into effect.