2019-12-28 13:26:58 -05:00
|
|
|
# Guide for upgrade your flarum container
|
|
|
|
|
2020-11-17 11:42:13 -05:00
|
|
|
### Upgrade to v0.1.0-beta.14.1 from v0.1.0-beta.14
|
|
|
|
|
|
|
|
: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:0.1.0-beta.14.1
|
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
2 - Pull the last docker images
|
|
|
|
|
|
|
|
```sh
|
|
|
|
docker pull mondedie/flarum:0.1.0-beta.14.1
|
|
|
|
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:
|
|
|
|
|
2020-10-25 06:19:09 -04:00
|
|
|
### Upgrade to v0.1.0-beta.14 from v0.1.0-beta.13
|
|
|
|
|
|
|
|
: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:
|
2020-11-14 12:31:06 -05:00
|
|
|
image: mondedie/flarum:0.1.0-beta.14
|
2020-10-25 06:19:09 -04:00
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
2 - Pull the last docker images
|
|
|
|
|
|
|
|
```sh
|
2020-11-14 12:31:06 -05:00
|
|
|
docker pull mondedie/flarum:0.1.0-beta.14
|
2020-10-25 06:19:09 -04:00
|
|
|
docker-compose stop flarum
|
|
|
|
docker-compose rm flarum
|
|
|
|
docker-compose up -d flarum
|
|
|
|
```
|
|
|
|
|
|
|
|
3 - Updating your database and removing old assets & extensions
|
|
|
|
|
|
|
|
```sh
|
2020-10-25 09:31:51 -04:00
|
|
|
docker exec -ti flarum extension remove flarum/auth-facebook
|
|
|
|
docker exec -ti flarum extension remove flarum/auth-github
|
|
|
|
docker exec -ti flarum extension remove flarum/auth-twitter
|
2020-10-25 06:19:09 -04:00
|
|
|
docker exec -ti flarum php /flarum/app/flarum migrate
|
|
|
|
docker exec -ti flarum php /flarum/app/flarum cache:clear
|
2020-10-25 09:31:51 -04:00
|
|
|
docker exec -ti flarum extension require fof/oauth
|
2020-10-25 06:19:09 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
After that your upgrade is finish. :tada: :tada:
|
|
|
|
|
2020-05-06 08:22:35 -04:00
|
|
|
### Upgrade to v0.1.0-beta.13 from v0.1.0-beta.12
|
|
|
|
|
|
|
|
: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:
|
2020-11-14 12:31:06 -05:00
|
|
|
image: mondedie/flarum:0.1.0-beta.13
|
2020-05-06 08:22:35 -04:00
|
|
|
...
|
|
|
|
```
|
|
|
|
|
|
|
|
2 - Pull the last docker images
|
|
|
|
|
|
|
|
```sh
|
2020-11-14 12:31:06 -05:00
|
|
|
docker pull mondedie/flarum:0.1.0-beta.13
|
2020-05-06 08:22:35 -04:00
|
|
|
docker-compose stop flarum
|
|
|
|
docker-compose rm flarum
|
|
|
|
docker-compose up -d flarum
|
|
|
|
```
|
|
|
|
|
|
|
|
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:
|