Solution: in composer.json , at the end of the file add a line before
"prefer-stable": true
and add:
"minimum-stability": "beta",
Then the end of the file will look like this:
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "beta",
"prefer-stable": true
}
Just a note: Flarum will be upgraded but after this you will be asked to insert the database password.
I think this steps should be avoid because who know the database password? Need find that by FTP 🙂