Problems upgrading beta 13 to beta 15 with extiverse
dartrax
Thank you very much, it now works but I got this error
I think this means that kilowhat/flarum-ext-mailing
is not compatible with flarum beta 15. You should use clarkwinkelmann/flarum-ext-mailing
instead. Look here: https://github.com/clarkwinkelmann/flarum-ext-mailing
I upgraded with extiverse helper, removed incompatible extensions as per screen.
But now the forum is not accessible, even if I type the command php flarum info it gives me an error.
How do I resolve? Thanks!
Gatsu you need to install the FriendsOfFlarum version of Cookie Consent and uninstall the Reflar version https://discuss.flarum.org/d/10395-cookie-consent-by-friendsofflarum/48
https://ibb.co/RzZJ8Rd
https://ibb.co/m8LbgWW
I did the extension change and now it is.
You have a 500 Server Error. I can't help you with that. I would look for a log file on the server or disable all extensions by temporarly renaming their plugin directories in flarum/vendor. But the professional flarumites may know a more efficient way...
- Edited
I'm trying again ....
1) I ran php extiverse check
2) I have disabled all extensions with extiverse helper.
3) I ran php extiverse upgrade
4) I have removed all incompatible extensions that it advised me to remove.
Now the installation does not continue, this is the error.
I am on beta 13.
This is my composer.json
{
"name": "flarum/flarum",
"description": "Delightfully simple forum software.",
"type": "project",
"keywords": [
"forum",
"discussion"
],
"homepage": "https://flarum.org/",
"license": "MIT",
"authors": [
{
"name": "Franz Liedke",
"email": "franz@develophp.org"
},
{
"name": "Daniel Klabbers",
"email": "daniel@klabbers.email",
"homepage": "https://luceos.com"
},
{
"name": "David Sevilla Martin",
"email": "me+flarum@datitisev.me",
"homepage": "https://datitisev.me"
},
{
"name": "Clark Winkelmann",
"email": "clark.winkelmann@gmail.com",
"homepage": "https://clarkwinkelmann.com"
},
{
"name": "Matthew Kilgore",
"email": "matthew@kilgore.dev"
}
],
"support": {
"issues": "https://github.com/flarum/core/issues",
"source": "https://github.com/flarum/flarum",
"docs": "https://flarum.org/docs/"
},
"require": {
"bokt/flarum-redis": "*",
"clarkwinkelmann/flarum-ext-emojionearea": "*",
"datitisev/flarum-ext-dashboard": "*",
"flagrow/flarum-ext-analytics": "^0.8.0",
"flagrow/sitemap": "^0.2.0",
"flarum/approval": "*",
"flarum/bbcode": "*",
"flarum/core": "^0.1.0",
"flarum/emoji": "*",
"flarum/flags": "*",
"flarum/lang-english": "*",
"flarum/likes": "*",
"flarum/lock": "*",
"flarum/markdown": "*",
"flarum/mentions": "*",
"flarum/pusher": "*",
"flarum/statistics": "*",
"flarum/sticky": "*",
"flarum/subscriptions": "*",
"flarum/suspend": "*",
"flarum/tags": "*",
"flarumite/simple-discussion-views": "*",
"fof/best-answer": "*",
"fof/byobu": "*",
"fof/disposable-emails": "*",
"fof/formatting": "*",
"fof/linguist": "*",
"fof/links": "*",
"fof/merge-discussions": "*",
"fof/nightmode": "*",
"fof/pages": "*",
"fof/polls": "*",
"fof/share-social": "*",
"fof/sitemap": "*",
"fof/socialprofile": "*",
"fof/split": "*",
"fof/subscribed": "*",
"fof/terms": "*",
"fof/upload": "*",
"fof/user-bio": "*",
"fof/user-directory": "*",
"kilowhat/flarum-ext-mailing": "^0.2.3",
"nearata/lang-italian": "*",
"reflar/cookie-consent": "^0.2.0",
"sycho/flarum-profile-cover": "*",
"v17development/flarum-seo": "*",
"fof/oauth": "*"
},
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "beta",
"prefer-stable": true
}
Please look up the solutions we already provided, you've had the exact same error 4 hours ago...
dartrax I cannot remove kilowhat because I got this error
Who can help me, please?
Gatsu it seems like you are stuck in a partial update. It's a tricky situation.
Assuming you have a backup, you could try to delete composer.lock
and vendor
, then run composer install
. This should fix the partial update state, but will cause some extensions to update.
Once that's done, check on which Flarum version you ended up. If you are still on the older Flarum, repeat the official update steps from there.
- Edited
clarkwinkelmann
Yes, I have a previous backup where the forum currently works.
Thank you very much for your help, I'll try
Hi!
Today I tried deleting the vendor and composer.lock folder.
I initiated the upgrade via Extiverse helper by removing the incompatible extensions.
While updating I get this error:
https://ibb.co/k43vb0W
So I also try to delete the kilowhat extension but I get this error:
https://ibb.co/H2kF3qw
What should I do to resolve, please?
Thank you
I was able to fix this by first uninstalling kilowhat and then upgrading to beta 15 normally via Extiverse helper.
But now the site is still not working, it gives me 500 server error through the javascript console.
This is the log in storage / logs
These are all the extensions currently installed:
https://ibb.co/QpYX8cH
Gatsu array_get
is the sign of outdated code. But since it's in the cached files, maybe it's just a cache issue. Try running php flarum cache:clear
or if that's not possible due to the error, just manually delete all files in storage/views
.
If that's still happening, you must have an extension that's not compatible with b14/15
clarkwinkelmann Incredibly, this was the cause. I ran that the command flarum cache it but evidently it did not delete the cache, why?
Clearing the cache manually, as suggested by you, worked right away.
Thank you very much really, you are very kind.
I only noticed that in the administrator panel, in the dashboard, nothing appears.
In the other sections everything is fine.
https://ibb.co/54vZRxj
Gatsu I ran that the command flarum cache it but evidently it did not delete the cache
Usually that would be due to file permissions. The SSH user might not have permission to delete files created by the web user. Or the files were moved with another account. Or something was run as root when it shouldn't.
Gatsu I only noticed that in the administrator panel, in the dashboard, nothing appears.
Check the browser javascript console, there's likely a javascript error shown in there.
https://discuss.flarum.org/d/2958-datitisev-admin-dashboard
I solved it, this extension was the cause of the problem. Thank you very much!