docker-flarum/UPGRADE.md

3.6 KiB

Guide for upgrade your flarum container

Upgrade to v0.1.0-beta.15 from v0.1.0-beta.14.1

⚠️ Backup your database, config.php, composer.lock and assets folder
⚠️ Disable all 3rd party extensions prior to upgrading in panel admin.

1 - Update your docker-compose file, see an example here

version: "3"

services:
  flarum:
    image: mondedie/flarum:0.1.0-beta.15
    ...

2 - Pull the last docker images

docker pull mondedie/flarum:0.1.0-beta.15
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum

3 - Updating your database and removing old assets & extensions

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. 🎉 🎉

Upgrade to v0.1.0-beta.14.1 from v0.1.0-beta.14

⚠️ Backup your database, config.php, composer.lock and assets folder
⚠️ Disable all 3rd party extensions prior to upgrading in panel admin.

1 - Update your docker-compose file, see an example here

version: "3"

services:
  flarum:
    image: mondedie/flarum:0.1.0-beta.14.1
    ...

2 - Pull the last docker images

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

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. 🎉 🎉

Upgrade to v0.1.0-beta.14 from v0.1.0-beta.13

⚠️ Backup your database, config.php, composer.lock and assets folder
⚠️ Disable all 3rd party extensions prior to upgrading in panel admin.

1 - Update your docker-compose file, see an example here

version: "3"

services:
  flarum:
    image: mondedie/flarum:0.1.0-beta.14
    ...

2 - Pull the last docker images

docker pull mondedie/flarum:0.1.0-beta.14
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum

3 - Updating your database and removing old assets & extensions

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
docker exec -ti flarum php /flarum/app/flarum migrate
docker exec -ti flarum php /flarum/app/flarum cache:clear
docker exec -ti flarum extension require fof/oauth

After that your upgrade is finish. 🎉 🎉

Upgrade to v0.1.0-beta.13 from v0.1.0-beta.12

⚠️ Backup your database, config.php, composer.lock and assets folder
⚠️ Disable all 3rd party extensions prior to upgrading in panel admin.

1 - Update your docker-compose file, see an example here

version: "3"

services:
  flarum:
    image: mondedie/flarum:0.1.0-beta.13
    ...

2 - Pull the last docker images

docker pull mondedie/flarum:0.1.0-beta.13
docker-compose stop flarum
docker-compose rm flarum
docker-compose up -d flarum

3 - Updating your database and removing old assets

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. 🎉 🎉