From d1696dbfbb98a3736d1ea82eb3d8f0a0618cd564 Mon Sep 17 00:00:00 2001 From: Magicalex Date: Mon, 31 May 2021 00:06:44 +0200 Subject: [PATCH] docs(): upgrade guide --- UPGRADE.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/UPGRADE.md b/UPGRADE.md index 60adae2..5dadaed 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,5 +1,39 @@ # Guide for upgrade your flarum container +### Upgrade to v0.1.0-beta.16 from v0.1.0 + +:warning: Backup your database, config.php, composer.lock and assets folder +:warning: Disable all 3rd party extensions prior to upgrading in panel admin. + +1 - Update your docker-compose file, see an example [here](https://github.com/mondediefr/docker-flarum/tree/master#2---docker-composeyml) + +```yml +version: "3" + +services: + flarum: + image: mondedie/flarum:1.0.0 + ... +``` + +2 - Pull the last docker images + +```sh +docker pull mondedie/flarum:1.0.0 +docker-compose stop flarum +docker-compose rm flarum +docker-compose up -d flarum +``` + +3 - Updating your database and removing old assets & extensions + +```sh +docker exec -ti flarum php /flarum/app/flarum migrate +docker exec -ti flarum php /flarum/app/flarum cache:clear +``` + +After that your upgrade is finish. :tada: :tada: + ### Upgrade to v0.1.0-beta.16 from v0.1.0-beta.15 :warning: Backup your database, config.php, composer.lock and assets folder