environments/review-docs-poetr-x0u8vy/deployments/9023
Georg Krause 2022-01-04 18:38:37 +01:00
rodzic 26c9976ae0
commit d4c1eb216e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: FD479B9A4D48E632
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -26,7 +26,7 @@ If you are running the All-in-One-Container since a longer time, you probably ne
Make sure the Funkwhale version is set to `1.1.4` in `docker-compose.yml`. Now you can run this command to dump the database into a file:
`docker-compose exec -t funkwhale pg_dump -c -U funkwhale > "db.dump"`
`docker-compose exec -T funkwhale pg_dump -c -U funkwhale > "db.dump"`
Now you can update the Funkwhale version in `docker-compose.yml` to `1.2.0`. Additionally you should save your `data` directory, eg by running `mv data data.bak && mkdir data`. Stop Funkwhale and start it again with the new version, by using `docker-compose down && docker-compose up -d`. This will initialize a fresh DB and applies all migrations. Now you can restore your database with the following command: `cat db.dump | docker-compose exec -t funkwhale psql -U funkwhale`. Thats it, enjoy!