Add Gitea 1.21.11 upgrade
This commit is contained in:
parent
736f896b38
commit
145e81d008
|
@ -557,3 +557,20 @@ Updates came pretty fast, so I ran all three of these one after the other.
|
|||
10. `sudo systemctl is-active gitea`
|
||||
- Should be active (running).
|
||||
11. After some period of time, delete the backup file.
|
||||
|
||||
## Updating 1.21.10 to 1.21.11
|
||||
1. `sudo systemctl stop gitea`
|
||||
2. `sudo su - git`
|
||||
3. `gitea dump -c /etc/gitea/app.ini -w /var/lib/gitea -t /tmp`
|
||||
4. `ls -l --block-size=M`
|
||||
- `rm <old-backup-file>`
|
||||
- `chmod a=r <new-backup-file>`
|
||||
5. `exit`
|
||||
6. `VERSION=1.21.11 && sudo wget -O gitea https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64`
|
||||
7. `sudo systemctl is-active gitea`
|
||||
- Should be inactive.
|
||||
8. `sudo mv gitea /usr/local/bin/gitea && sudo chmod +x /usr/local/bin/gitea`
|
||||
9. `sudo systemctl restart gitea`
|
||||
10. `sudo systemctl is-active gitea`
|
||||
- Should be active (running).
|
||||
11. After some period of time, delete the backup file.
|
||||
|
|
Loading…
Reference in New Issue