peopleinside In the doc I dont find a way to check not one by one every extension I have to understand what extensions will have issues on the migration. Maybe it's just me... that never found or maybe there is not a way.
composer why-not flarum/core 2.0.0
peopleinside Maybe also then I just have to check and edit the composer.json then run the below SSH command showed in the guide. This is what I understand.
- Update your composer.json. Set the version string of all extensions (including bundled ones like flarum/tags, flarum/mentions, flarum/likes, etc) to *. Then set flarum/core to 2.0:
"flarum/core": "^2.0",
"flarum/tags": "*",
"flarum/mentions": "*",
- Set minimum-stability to beta. While Flarum 2.0 is in beta, your composer.json must have:
"minimum-stability": "beta"
For further reference and clarification of all possible confusions, here is an example composer.json file for rc:
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Flarum",
"email": "info@flarum.org",
"homepage": "https://flarum.org/team"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://docs.flarum.org/"
},
"require": {
"datlechin/flarum-passkey": "*",
"ernestdefoe/favorite-team": "*",
"ernestdefoe/flarum-facebook-post": "*",
"ernestdefoe/gridiron-nation": "*",
"ernestdefoe/group-messages": "*",
"ernestdefoe/og-image": "*",
"ernestdefoe/picks": "*",
"ernestdefoe/recruiting": "*",
"ernestdefoe/social-groups": "*",
"ernestdefoe/theme-toggle": "*",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^2.0",
"flarum/emoji": "*",
"flarum/extension-manager": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/messages": "*",
"flarum/nicknames": "*",
"flarum/realtime": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"fof/anti-spam": "*",
"fof/badges": "*",
"fof/drafts": "*",
"fof/formatting": "*",
"fof/horizon": "*",
"fof/linguist": "*",
"fof/move-posts": "*",
"fof/pages": "*",
"fof/polls": "*",
"fof/reactions": "*",
"fof/redis": "*",
"fof/rich-text": "*",
"fof/share-social": "^2.0@beta",
"fof/sitemap": "*",
"fof/split": "*",
"fof/terms": "*",
"fof/upload": "*",
"fof/user-bio": "*",
"fof/user-directory": "*",
"forumaker/profile-cover": "*",
"huseyinfiliz/stickiest": "2.0.0-beta.2",
"ianm/follow-users": "*",
"ianm/log-viewer": "*",
"ianm/syndication": "*",
"illuminate/queue": "<13.10",
"league/flysystem-aws-s3-v3": "*",
"pianotell/flarum-ext-flamoji": "*",
"ralkage/flarum-ext-word-counter": "*",
"ramon/classifieds": "*",
"resofire/pwa": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"repositories": {
"flarum": {
"type": "composer",
"url": "https://floxum.com/composer"
}
},
"minimum-stability": "beta",
"prefer-stable": true
}
After you complete those changes:
composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear
Post edited with corrections*