Update Gitea information for 1.17.3 upgrade
This commit is contained in:
parent
92c43ab692
commit
a17a69742a
|
@ -205,6 +205,31 @@ See https://docs.gitea.io/en-us/install-from-binary/#updating-to-a-new-version f
|
|||
- Should be active (running).
|
||||
13. After some period of time, delete the backup file.
|
||||
|
||||
#### Updating 1.17.2 to 1.17.3
|
||||
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>`
|
||||
5. `exit`
|
||||
6. `VERSION=1.17.3`
|
||||
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.
|
||||
|
||||
Gitea LFS config also updated:
|
||||
|
||||
1. `sudo vim /etc/gitea/app.ini`
|
||||
2. Move server.LFS_CONTENT_PATH to a new lfs.PATH (`/var/lib/gitea/data/lfs`).
|
||||
3. `sudo systemctl restart gitea`
|
||||
4. `sudo systemctl status gitea`
|
||||
|
||||
### Regular backups
|
||||
On the server:
|
||||
```bash
|
||||
|
|
Loading…
Reference in New Issue