XF 2.1 Upgrade Issue

Ranger375

Well-known member
I was trying to update to v2.1.6 Patch 1, but in the upgrade process it ends with the below error. How can I fix this? Basically, my forum/admin panel are stuck on the site is being upgraded" message and I can't seem to do anything.



Code:
XF\Db\Exception: Too many connections in src/XF/Db/Mysqli/Adapter.php at line 165

    XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
    XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 60
    XF\Db\AbstractAdapter->connect() in src/XF/Db/AbstractAdapter.php at line 83
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 150
    XF\Db\AbstractAdapter->fetchOne() in src/XF/Session/DbStorage.php at line 30
    XF\Session\DbStorage->getSession() in src/XF/Session/Session.php at line 53
    XF\Session\Session->start() in src/XF/App.php at line 876
    XF\App->XF\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/Install/App.php at line 38
    XF\Install\App->XF\Install\{closure}() in src/XF/Container.php at line 28
    XF\Container->offsetGet() in src/XF/App.php at line 2512
    XF\App->session() in src/XF/Install/App.php at line 176
    XF\Install\App->setupUpgradeSession() in src/XF/Install/Controller/Upgrade.php at line 20
    XF\Install\Controller\Upgrade->preDispatchController() in src/XF/Install/Controller/AbstractController.php at line 11
    XF\Install\Controller\AbstractController->preDispatchType() in src/XF/Mvc/Controller.php at line 123
    XF\Mvc\Controller->preDispatch() in src/XF/Mvc/Dispatcher.php at line 349
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 257
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
    XF\App->run() in src/XF.php at line 391
    XF::runApp() in install/index.php at line 14
 
Nah I have a dedicated server and have only done manual upgrades. I reran the installation process a third time and it worked. I’ve never had an issue previously.
 
Top Bottom