YunoHost-Apps/flarum_ynh

Do not remove all extensions while upgrading

Opened this issue · 6 comments

It is a bad UX experience, let's try to find a proper way to keep the extensions.

Note that the upstream instructions still ask to remove all unupdated extensions before upgrading...

Is this still the case, or has there been any fix?

No advancement on the issue.

tutle commented

Hello, just discovered the super desgined Flarum Forum app and would like to add chat extension but I don't know how to do.
Sincerely.

https://github.com/YunoHost-Apps/flarum_ynh#adding-extensions
Though replace php7.3 by php7.4, I need to update the README.

Hey,

I just updated to Flarum from 1.5 > 1.6.1 without getting extensions deleted.

sudo su
app=flarum
cd /var/www/$app

Then

nano composer.json
Changing all version strings to "*"

sudo -u $app php7.4 composer.phar update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear

All updated to latest version now.