2020-07-10 11:28:33 +02:00
# How To Upgrade bbb-docker
2023-12-08 12:24:37 +01:00
### Upgrading from `v2.6.x`
- **Breaking change:** We use now Docker Compose V2
* make sure you have docker ≥ 23.0 installed (`$ docker -v`)
* update all usages of `docker-compose` to `docker compose` in your scripts
apart from that follow the guide (_within v2.7.x_) below.
2023-03-21 14:03:03 +01:00
2023-09-13 00:44:20 +02:00
### Upgrading from `v2.5.x`
2023-03-21 14:03:03 +01:00
2023-12-08 12:24:37 +01:00
- **Breaking change:** Greenlight got fully rewritten
2023-03-21 14:03:03 +01:00
* it is starting as a fresh installation. you can migrate your data with `./scripts/greenlight-migrate-v2-v3`
* some greenlight settings under `.env` have changed. compare your version with `sample.env`
* it is now served directly under `/` and not in `/b` . If you use an reverse proxy not included in this repo, ensure to update your config accordingly!
2021-11-27 18:22:03 +01:00
apart from that follow the guide below.
2023-12-08 12:24:37 +01:00
### within `v2.7.x`
2021-04-16 13:46:54 +02:00
#### Backup
2020-07-10 11:28:33 +02:00
if you use greenlight, create a database backup first
```bash
docker exec -t docker_postgres_1 pg_dumpall -c -U postgres > /root/greenlight_`date +%d-%m-%Y"_"%H_%M_%S`.sql
```
2021-04-16 13:46:54 +02:00
#### Upgrading
2020-07-10 11:28:33 +02:00
```bash
# upgrade!
./scripts/upgrade
# restart updated services
2023-12-08 12:24:37 +01:00
docker compose up -d --no-build
2020-07-10 11:28:33 +02:00
```