From 965f9009b3b73b17c2960e551d410cc8af16619e Mon Sep 17 00:00:00 2001 From: Magicalex Date: Thu, 28 Nov 2019 14:42:34 +0100 Subject: [PATCH] feat(): upgrade flarum beta 11 --- Dockerfile | 4 ++-- README.md | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89da876..9a4d5da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,9 @@ FROM alpine:3.10 -LABEL description "Simple forum software for building great communities" \ +LABEL description="Simple forum software for building great communities" \ maintainer="Hardware , Magicalex " -ARG VERSION=v0.1.0-beta.10 +ARG VERSION=v0.1.0-beta.11 ENV GID=991 \ UID=991 \ diff --git a/README.md b/README.md index 0d8154e..0771e73 100644 --- a/README.md +++ b/README.md @@ -201,6 +201,32 @@ username/my-private-repo:0.1.0 https://getcomposer.org/doc/03-cli.md#modifying-repositories + +### Upgrade to v0.1.0-beta.11 from v0.1.0-beta.10 + +: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) + +2 - Pull the last docker images + +```sh +docker pull mondedie/docker-flarum:0.1.0-beta.11-stable +docker-compose stop flarum +docker-compose rm flarum +docker-compose up -d +``` + +3 - Updating your database and removing old assets: + +```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.10 from v0.1.0-beta.8.1 :warning: Backup your database, config.php, composer.lock and assets folder