Dakoom We'll try it another way
Actually, apologies, I was mistaken about copying the file identically. After looking at it again, if you look at the composer.json file you should see these lines at the bottom. If it's already like that, then continue.
},
"minimum-stability": "beta"
}
Please change to
},
"minimum-stability": "beta",
"prefer-stable": true
}
Then run this (and the below commands) in the root directory of the flarum install, through SSH.
composer remove flarum/composer-installer flarum/akismet flarum/approval flarum/auth-facebook flarum/auth-github flarum/auth-twitter flarum/bbcode flarum/emoji flarum/english flarum/flags flarum/likes flarum/lock flarum/markdown flarum/mentions flarum/pusher flarum/sticky flarum/subscriptions flarum/suspend flarum/tags
Then, if that had output a little like this run the next command. If it fails, please post the output in a pastebin and don't do any further commands
composer require flarum/flarum-ext-akismet=^0.1.0 flarum/flarum-ext-approval=^0.1.0 flarum/flarum-ext-auth-facebook=^0.1.0 flarum/flarum-ext-auth-github=^0.1.0 flarum/flarum-ext-auth-twitter=^0.1.0 flarum/flarum-ext-bbcode=^0.1.0 flarum/flarum-ext-emoji=^0.1.0 flarum/flarum-ext-english=^0.1.0 flarum/flarum-ext-flags=^0.1.0 flarum/flarum-ext-likes=^0.1.0 flarum/flarum-ext-lock=^0.1.0 flarum/flarum-ext-markdown=^0.1.0 flarum/flarum-ext-mentions=^0.1.0 flarum/flarum-ext-pusher=^0.1.0 flarum/flarum-ext-sticky=^0.1.0 flarum/flarum-ext-subscriptions=^0.1.0 flarum/flarum-ext-suspend=^0.1.0 flarum/flarum-ext-tags=^0.1.0
if this command has output a little like this (ignore the cache part), run this command. If a lot of errors, stop and post the output.
composer update
Look for this kind of output - if lots of errors, post it in a pastebin ?
Ok!
If everything looks like it's been going good, run this
php flarum migrate
Feel free to post the output if you're not sure of the output. But it should run through each extension and make 2-3 "Migrating" statements.
Once that is complete, run the below to clear the cache
rm -Rf assets/*.js assets/*.css storage/cache/* storage/formatter/* storage/views/*