Update readme with upgrade mariadb
This commit is contained in:
parent
eede8e5ef7
commit
9438876f59
26
README.md
26
README.md
@ -14,10 +14,6 @@ Once DNS are properly setup on host:
|
|||||||
|
|
||||||
### Services
|
### Services
|
||||||
|
|
||||||
#### Flood
|
|
||||||
|
|
||||||
- Socket: `/config/.local/share/rtorrent/rtorrent.sock`
|
|
||||||
|
|
||||||
## Create a new service
|
## Create a new service
|
||||||
|
|
||||||
1. Add the service in `docker-compose.yml`
|
1. Add the service in `docker-compose.yml`
|
||||||
@ -27,6 +23,28 @@ Once DNS are properly setup on host:
|
|||||||
5. Update the local zone in `./bind9/guiotte.db`
|
5. Update the local zone in `./bind9/guiotte.db`
|
||||||
6. Restart `bind9` and `swag`: `dcc restart bind9 swag`
|
6. Restart `bind9` and `swag`: `dcc restart bind9 swag`
|
||||||
|
|
||||||
|
## Update MariaDB
|
||||||
|
|
||||||
|
After upgrading from one major MySQL/MariaDB release to another, we have to run `mariadb-upgrade` on the services using MariaDB.
|
||||||
|
|
||||||
|
### Lychee
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dcc stop lychee
|
||||||
|
dcc exec lychee-db mariadb-upgrade -u root -p"$(cat lychee-db-root-pw.secret)"
|
||||||
|
dcc restart lychee-db
|
||||||
|
dcc up -d lychee
|
||||||
|
```
|
||||||
|
|
||||||
|
### Nextcloud
|
||||||
|
|
||||||
|
```bash
|
||||||
|
dcc stop nextcloud
|
||||||
|
dcc exec nextcloud-db mariadb-upgrade -u root -p"$(cat nextcloud-db-root-pw.secret)"
|
||||||
|
dcc restart nextcloud-db
|
||||||
|
dcc up -d nextcloud
|
||||||
|
```
|
||||||
|
|
||||||
## Logs
|
## Logs
|
||||||
|
|
||||||
2022-11-02 Created OVH token
|
2022-11-02 Created OVH token
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user