Update gitea on uberspace
14 May 2018 - update: 16 Jun 2019Just the necessary step for updating gitea on uberspace 6. Setup-guides (in german) can be found here or here.
- create a backup, just in caseā¦
~/bin/gitea % ./gitea dump
- download the latest gitea binary from https://dl.gitea.io/gitea/
~/bin/gitea % wget "https://dl.gitea.io/gitea/1.4.1/gitea-1.4.1-linux-amd64"
Test the binary by calling
% ./gitea-1.4.1-linux-amd64 --version
Maybe you will get something likeFATAL: kernel too old
, then you may join this issue. - stop the service
~/bin/gitea % svc -d ~/service/gitea
- rename the old binary, rename the new binary, set executable flag (file permissions should already be ok)
~/bin/gitea % mv gitea gitea.old ~/bin/gitea % mv gitea-1.4.1-linux-amd64 gitea ~/bin/gitea % chmod +x gitea
- start the service
~/bin/gitea % svc -u ~/service/gitea
- test if everything works as expected, then remove the old binary and the dump