feat(): update flarum to beta.10

pull/43/head
Magicalex 2019-10-11 00:24:15 +02:00
parent 3f343ec72f
commit d5093aef8a
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
2 changed files with 28 additions and 5 deletions

View File

@ -3,7 +3,7 @@ FROM alpine:3.10
LABEL description "Simple forum software for building great communities" \ LABEL description "Simple forum software for building great communities" \
maintainer="Hardware <hardware@mondedie.fr>, Magicalex <magicalex@mondedie.fr>" maintainer="Hardware <hardware@mondedie.fr>, Magicalex <magicalex@mondedie.fr>"
ARG VERSION=v0.1.0-beta.9 ARG VERSION=v0.1.0-beta.10
ENV GID=991 \ ENV GID=991 \
UID=991 \ UID=991 \

View File

@ -196,13 +196,36 @@ username/my-private-repo:0.1.0
https://getcomposer.org/doc/03-cli.md#modifying-repositories 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 ### Upgrade to v0.1.0-beta.8.1 from v0.1.0-beta.7.2