💬 🐳 Docker image of Flarum
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.6 KiB

Guide for upgrade your flarum container

Upgrade to v1.3.0 from v1.2.0

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:1.3.0
    ...

2 - Pull the last docker images

docker pull mondedie/flarum:1.2.0
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 v1.2.0 from v1.0.2

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:1.2.0
    ...

2 - Pull the last docker images

docker pull mondedie/flarum:1.2.0
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. 🎉 🎉