XF 2.3 Upgrade from 2.2 to 2.3

tomoya

Member
The web based update did not work so I went for the manual approach and uploaded the files (upgrade package). But I didn't merge (I instead replaced) so I was not able to do the install process and my site is down.

I'm now uploading the files (full package) and will try the install again.
Is this the right approach given where I'm at?
 
I think the initial error when I tried to update via the web was an Internal Server Error.
I then uploaded files (upgrade package) but I did it incorrectly. And when I went to mysite.com/install, it was asking for my DB information. Then it created a config file and then when I went back to mysite.com/install it said:
There are at least 26 file(s) that do not appear to have the expected contents. Reupload the XenForo files and refresh this page. Only continue if you are sure all files have been uploaded properly.

That's when I realized I messed up with the upload.
So now I've uploaded the full package.
 
After I uploaded the upgrade package, I tried to do the install but it said that some files do not appear to have the expected contents. So I did not continue with the upgrade.
Then I uploaded the full package (also when I posted here) and it gives the same message and I have not clicked Continue.

When visiting my site, it says "The site is currently being upgraded. Please check back later."
And I can't see the Admin panel for my site anymore except on the mysite.com/install page
 
Well, I clicked and it went through a bunch of steps and then said the Upgrade was completed successfully.
But then the site does not load and gives this error:
An exception occurred: [Exception] Could not find class XF301VB\Mvc\Router when attempting to extend XF\Mvc\Router in src/XF/Extension.php on line 217

  1. XF\Extension->extendClass() in src/XF/App.php at line 3336
  2. XF\App->extendClass() in src/XF/App.php at line 495
  3. XF\App->XF\{closure}() in src/XF/Container.php at line 33
  4. XF\Container->offsetGet() in src/XF/Pub/App.php at line 66
  5. XF\Pub\App->XF\Pub\{closure}() in src/XF/Container.php at line 33
  6. XF\Container->offsetGet() in src/XF/App.php at line 2926
  7. XF\App->router() in src/XF/Mvc/Dispatcher.php at line 489
  8. XF\Mvc\Dispatcher->getRouter() in src/XF/Mvc/Dispatcher.php at line 73
  9. XF\Mvc\Dispatcher->route() in src/XF/Mvc/Dispatcher.php at line 55
  10. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
  11. XF\App->run() in src/XF.php at line 798
  12. XF::runApp() in index.php at line 23
 
Thank you!!

I edited the config.php file and added that line (it was not present). And now I am in the ACP.
I've disabled all 3 add-ons I have (all said they were missing files).
And then I edited the config.php and set that flag to true

And now the site is up again. OMG, what a relief! I'm sure I'll need to test things out more but at least it loads now :)
 
The web based update did not work so I went for the manual approach and uploaded the files (upgrade package). But I didn't merge (I instead replaced) so I was not able to do the install process and my site is down.

I'm now uploading the files (full package) and will try the install again.
Is this the right approach given where I'm at?
I had an internal server error too when trying to upgrade 2.2 to 2.3 and it was because the upgrade installer was triggering my server's Web Application Firewall (WAF). It seems very sensitive, and that's probably a good thing--usually. But I ended up turning it off for a couple minutes, completed the upgrade, and then turned it back on, so that I could successfully change to 2.3
 
Back
Top Bottom