feat(): update flarum to beta.10
parent
3f343ec72f
commit
d5093aef8a
|
@ -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 \
|
||||||
|
|
31
README.md
31
README.md
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue