Update with Gitea 1.17.3 to .4 update

This commit is contained in:
James Skemp 2023-01-02 20:41:20 -06:00
parent 2a034e3146
commit 2fbbafed72
1 changed files with 19 additions and 0 deletions

View File

@ -231,6 +231,25 @@ Gitea LFS config also updated:
3. `sudo systemctl restart gitea`
4. `sudo systemctl status gitea`
#### Updating 1.17.3 to 1.17.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.17.4`
7. `sudo wget -O gitea https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-linux-amd64`
8. `sudo systemctl status gitea`
- 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`
- Should be active (running).
13. After some period of time, delete the backup file.
### Regular backups
On the server:
```bash