• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Forgot to disable Addons before Upgrade File Upload

Kerby

Active member
#1
I'm currently upgrading from 1.1.4 to 1.2.1. I have 49 Addons installed. Now I made a mistake: i uploaded xf 1.2 upgrade files to forum directory, but forgot to disable all addons before to be safe with addon compatibility :oops: now i stopped with upgrade step und haven't start the upgrade routine.

Can you please answer soon as possible, if It's safe to just set all rows MySQL table 'xf_addon' at column 'active' to '0' and then start upgrade routine? Or is necessary to reupload files 1.1.4 from backup and then disable in ACP all addons and redo the ugprade files upload?
 

Kerby

Active member
#3
Thank you very much for your fast answer.

I've read the sticky thread before, but I really just forgot to disable them :rolleyes:
 

Kerby

Active member
#5
Unfortunately, I've read your post after Upgrade procedure.

At the end of Upgrade, i see a white browser page, URL is /install/index.php?upgrade/complete and following Text:
Call to undefined method XenForo_Model_AddOn::getAllUpdateChecks() in /home/library/AddOnInstaller/CronEntry/UpdateCheck.php on line 9
Content of this UpdateCheck.php:
<?php

class AddOnInstaller_CronEntry_UpdateCheck
{
public static function checkUpdates()
{
$addOnModel = XenForo_Model::create('XenForo_Model_AddOn');

$updates = $addOnModel->getAllUpdateChecks();

foreach ($updates AS $update)
{
if ($update['check_updates'] && $update['update_url'])
{
$addOnModel->checkForUpdate($update, true);
}
}
}
}
It seems to be only a cronjob fail of Third Party Addon AddOnInstaller.

File Health Check in ACP says that all files are well.

But I'm not sure, if Upgrade is safe and I can work further with Upgrade or is it corrupted (= I have to restore backup?) now cause of this error message?
 

Jeremy

Well-known member
#6
You'll need to contact the add-on author, but if you disable listeners per Paul's instructions, you should be able to continue with upgrade.