Add Gitea 1.20.4 upgrade info
parent
40380f6ac6
commit
39a0f4e357
|
@ -348,3 +348,24 @@ Updates came pretty fast, so I ran all three of these one after the other.
|
|||
- Should be active (running).
|
||||
13. After some period of time, delete the backup file.
|
||||
14. Verify that `[storage].PATH` is not set via `cat /etc/gitea/app.ini`.
|
||||
|
||||
## Updating 1.20.3 to 1.20.4
|
||||
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.20.4`
|
||||
7. `sudo wget -O gitea https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64`
|
||||
8. `sudo systemctl status gitea`
|
||||
- then `q`
|
||||
- Should be inactive/dead.
|
||||
9. `sudo mv gitea /usr/local/bin/gitea`
|
||||
10. `sudo chmod +x /usr/local/bin/gitea`
|
||||
11. `sudo systemctl restart gitea`
|
||||
12. `sudo systemctl status gitea`
|
||||
- then `q`
|
||||
- Should be active (running).
|
||||
13. After some period of time, delete the backup file.
|
||||
|
|
Loading…
Reference in New Issue