Skip to content

Instantly share code, notes, and snippets.

@geraldurbas
Created June 10, 2022 04:24
Show Gist options
  • Save geraldurbas/9a8a6787711c48dd3e623699c0f3aaf5 to your computer and use it in GitHub Desktop.
Save geraldurbas/9a8a6787711c48dd3e623699c0f3aaf5 to your computer and use it in GitHub Desktop.
Gitea Upgrade Playbook on Turnkey
#wget latest File:
wget https://dl.gitea.io/gitea/1.16.8/gitea-1.16.8-linux-amd64
#see https://dl.gitea.io/gitea
su - git -c "/home/git/gitea manager flush-queues"
service gitea stop
su - git -c "/home/git/gitea dump"
chmod 755 gitea-1.16.8-linux-amd64
chown git.git gitea-1.16.8-linux-amd64
rm gitea
ln -s gitea-1.16.8-linux-amd64 gitea
service gitea start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment