From d5093aef8a3d7f7481c31f43e43bb3d9ce85943b Mon Sep 17 00:00:00 2001 From: Magicalex Date: Fri, 11 Oct 2019 00:24:15 +0200 Subject: [PATCH] feat(): update flarum to beta.10 --- Dockerfile | 2 +- README.md | 31 +++++++++++++++++++++++++++---- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e549ef7..6cfafba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM alpine:3.10 LABEL description "Simple forum software for building great communities" \ maintainer="Hardware , Magicalex " -ARG VERSION=v0.1.0-beta.9 +ARG VERSION=v0.1.0-beta.10 ENV GID=991 \ UID=991 \ diff --git a/README.md b/README.md index b96b9f5..a6408d2 100644 --- a/README.md +++ b/README.md @@ -196,13 +196,36 @@ username/my-private-repo:0.1.0 https://getcomposer.org/doc/03-cli.md#modifying-repositories -### Upgrade to v0.1.0-beta.10 from v0.1.0-beta.9 +### 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 +:warning: Disable all 3rd party extensions prior to upgrading in panel admin. -### Upgrade to v0.1.0-beta.9 from v0.1.0-beta.8.1 +1 - Remove `installed.txt` file in assets folder -... +```sh +rm /mnt/docker/flarum/assets/installed.txt +``` + +2 - Update your docker-compose file, see an example [here](https://github.com/mondediefr/docker-flarum/tree/master#2---docker-composeyml) + +3 - Pull the last docker images + +```sh +docker pull mondedie/docker-flarum:0.1.0-beta.8.1-stable +docker-compose stop flarum +docker-compose rm flarum +docker-compose up -d +``` + +4 - 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.8.1 from v0.1.0-beta.7.2