XF 2.3 Version 2.3 Upgrade Problems

Mortalpawn

Member
So I'm on my fourth try to upgrade my forum to 2.3 without success. I'm currently running Xenforo 2.2 with the following add-ons installed:
  • [MMO] Navigation tab icons 2.2.0.1
  • [OzzModz] Block Registrations with Spam Like Email Addresses 2.0.2
  • [OzzModz] Highlight Sticky Threads 2.0.2
  • Xenforo Importers 1.5.3
  • Xenforo Media Gallery 2.2.6
  • Xenforo Resource Manager 2.2.5
Every time I attempt a one click upgrade on the main forum it appears to complete but then I can't post anything (i.e. add/reply to a post) due to "JQuery not found" errors on the javascript console. So the editing block never shows when trying to post.

Also when I upgraded the forum using one-click it appeared to work (except the Javascript JQuery problem prevents anyone from posting anything). I traced this to the adddons and tried to upgrade the Resource Manager and Media Gallery but both of those stopped mid-upgrade and left a "upgrade job" in place that would not restart.

Questions:
  1. Do I need to disable all the addons before upgrade? Is it enough to disable them or do they also need to be uninstalled?
  2. Should I try to upgrade the Media Gallery and Resource Manager before the main forum as they apparently have some JQuery issues?
  3. What is the proper sequence for upgrading everything?
  4. Can I upgrade the misc MMO and OzzModz addons or should I just remove them?
Thanks!
 
XFES and XFMG are upgradeable afterwards.

The rest I don't know so check them manually if they are 2.3 compatible yet. Only upgrade if all of them are known to work on 2.3
 
It's probably safer to disable add-ons before upgrading, but it's not strictly required. You should not need to uninstall them. Add-ons should typically be upgraded after XF.

Also when I upgraded the forum using one-click it appeared to work (except the Javascript JQuery problem prevents anyone from posting anything). I traced this to the adddons and tried to upgrade the Resource Manager and Media Gallery but both of those stopped mid-upgrade and left a "upgrade job" in place that would not restart.
The few instances of this we've seen have been due to Cloudflare Rocket Loader, so if you're using Cloudflare it's worth ensuring that's disabled.
 
It's probably safer to disable add-ons before upgrading, but it's not strictly required. You should not need to uninstall them. Add-ons should typically be upgraded after XF.


The few instances of this we've seen have been due to Cloudflare Rocket Loader, so if you're using Cloudflare it's worth ensuring that's disabled.
Does disabling Cloudflare mean opting out of the proxy? Or should I redirect to my entire server's nameserver information? So cloudflare output is like this: domain.com =>ns1.domain.com, ns2 domain.com
 
Sadly, we have a bunch of minor problems after upgrading our test site to 2.3 (however posting on the forum and adding media are working OK).
There seems to be a catch 22 involved in these instructions:
Note that add-ons and custom styles may be broken after upgrading to 2.3. You must test your add-ons thoroughly or look for updates. Be especially careful with add-ons that cover similar features to ones that are added to 2.3; these may conflict with the core XenForo data. If data conflicts are found, they will need to be resolved in a new add-on release or by removing the add-on before upgrading to 2.3.
How can one test an add-on without doing the upgrade?
If a problem is found, it is too late to remove it "before upgrading to 2.3" - catch 22

Is it possible (easy?) to downgrade our test site to v2.2 again (without going to my host and tediously digging out the files from backups?)

How long will v2.2 be supported? We are very happy with v2.2 on our live site and have no need to upgrade to v2.3.
We have paid to develop the additional features we need and are delighted with what we have today.
Will we have the option to remain on 2.2 indefinitely and still be supported?

The system design is brilliant in being able to add or remove add-ons at will, on a single click. But that does not seem to apply to 2.2 vs 2.3
 
Last edited:
You should check with vendors to see if the add-ons have updates available or are otherwise already compatible. If any add-ons are not compatible, you can defer upgrading to 2.3 until they are, or upgrade and disable or uninstall them. Downgrades involve restoring from a back up. XF 2.2 will not be supported indefinitely.
 
Is it possible (easy?) to downgrade our test site to v2.2 again (without going to my host and tediously digging out the files from backups?)
By going to your host do you mean you need to contact them to get a backup? Change hosts if that is the case.

What I do before an upgrade is compress the xenForo files in cPanel and just download the database. With the files compressed it’s ver quick to restore by just deleting the new files then unzip the backup. No downloading or uploading of the file system.

But if you have jet backup it’s even easier, just time your upgrades to coincide with the backup schedule and do a restore if necessary.
 
maybe...

i did.
and then i purged cf cache.

i also turned off redis.
and flushed the redis cache to get rid of old values

and I also turned off (disabled all addons)

then did the upgrade.
then turn things on one at a time.
 

Development Mode​

Temporarily bypass our cache allowing you to see changes to your origin server in realtime.

Note: Enabling this feature can significantly increase origin server load. Development mode does not purge the cache so files will need to be purged after development mode expires.
This setting was last changed 4 years ago
I think we can get rid of all the problems by activating this.
 
Failed yet again! I built a test site, turned on Cloudflare development mode (cache off), and upgraded forum. It upgraded to completion, but I still get javascript error on the console which prevents editor from displaying on posts:
Uncaught ReferenceError: jQuery is not defined
<anonymous> https://mydomain.com/testforum/js/xfmg/editor.min.js?_v=600cc8c9:7

I may be wrong, but xfmg is the media gallery, and I'm running Media gallery 2.2.6 pre-upgrade. So apparently I can't leave the old media gallery in place during the upgrade.

I was thinking of trying the upgrade with ALL of the add-ons disabled to see if that works next.
 
Failed yet again! I built a test site, turned on Cloudflare development mode (cache off), and upgraded forum. It upgraded to completion, but I still get javascript error on the console which prevents editor from displaying on posts:
Uncaught ReferenceError: jQuery is not defined
<anonymous> https://mydomain.com/testforum/js/xfmg/editor.min.js?_v=600cc8c9:7

I may be wrong, but xfmg is the media gallery, and I'm running Media gallery 2.2.6 pre-upgrade. So apparently I can't leave the old media gallery in place during the upgrade.

I was thinking of trying the upgrade with ALL of the add-ons disabled to see if that works next.
Have you turned off Cloudflare Rocket Loader? I think my hunch sees Rocket Loader open.
 
Turning off BOTH rocket loader and turning on DEV mode in Cloudflare (cache off) got me to a stable initial upgrade with the plugins still enabled.

Have not tried to upgrade plugins yet - wanted to backup the stable upgrade config first. Will try upgrading the plugins later on test site today and let you know how that goes... then I need to shut everything down and repeat on the actual forum with backups. I've been a bit shocked at this as all my previous upgrades went smoothly with no issues.
 
Back
Top Bottom