The official procedure is to upgrade step by step. Especially because one of the beta's introduces changes to your path structure. Also, doing this one step at a time helps with finding issues.
The generic approach is this:
- make a backup
- disable (or remove) all third party extensions
- run
composer update --with-all-dependencies -a --no-dev --prefer-dist
- check version
php flarum info
- if not the latest version use
composer why-not flarum/core v0.1.0-beta.12
, from this list uninstall all third party extensions (not s9e/textformatter or flarum/* packages).
! However, it's much better to do a gradual upgrade, one version at a time.
Re-using your old database is possible, make sure to install flarum, change (or copy) your config.php
to contain the existing database. Then run php flarum migrate
.