Install and Upgrade

Install and Upgrade 1.1.7 Patch Level 1

No permission to download
Same problem here, when trying to upgrade addons from xenforo.com it throws a 403 error:

Code:
GuzzleHttp\Exception\ClientException: Client error: `GET https://xenforo.com/community/resources/th-user-criteria-extended.6276/download/` resulted in a `403 Forbidden` response: <!DOCTYPE html> <html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="login" data-container-key="xfrm (truncated...) in src\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php at line 113

    GuzzleHttp\Exception\RequestException::create() in src\vendor\guzzlehttp\guzzle\src\Middleware.php at line 66
    GuzzleHttp\Middleware::GuzzleHttp\{closure}() in src\vendor\guzzlehttp\promises\src\Promise.php at line 203
    GuzzleHttp\Promise\Promise::callHandler() in src\vendor\guzzlehttp\promises\src\Promise.php at line 156
    GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}() in src\vendor\guzzlehttp\promises\src\TaskQueue.php at line 47
    GuzzleHttp\Promise\TaskQueue->run() in src\vendor\guzzlehttp\promises\src\Promise.php at line 246
    GuzzleHttp\Promise\Promise->invokeWaitFn() in src\vendor\guzzlehttp\promises\src\Promise.php at line 223
    GuzzleHttp\Promise\Promise->waitIfPending() in src\vendor\guzzlehttp\promises\src\Promise.php at line 267
    GuzzleHttp\Promise\Promise->invokeWaitList() in src\vendor\guzzlehttp\promises\src\Promise.php at line 225
    GuzzleHttp\Promise\Promise->waitIfPending() in src\vendor\guzzlehttp\promises\src\Promise.php at line 62
    GuzzleHttp\Promise\Promise->wait() in src\vendor\guzzlehttp\guzzle\src\Client.php at line 131
    GuzzleHttp\Client->request() in src\vendor\guzzlehttp\guzzle\src\Client.php at line 89
    GuzzleHttp\Client->__call() in src\addons\ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\Traits\HttpClientTrait.php at line 48
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->httpRequest() in src\addons\ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM.php at line 328
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->downloadProduct() in src\addons\ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\Traits\AddonHandlerTrait.php at line 80
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->downloadAddOnProduct() in src\addons\ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\Traits\AddonHandlerTrait.php at line 42
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->installAddOnProducts() in src\addons\ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\Traits\AddonHandlerTrait.php at line 27
    ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->installAddOnProduct() in src\addons\ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn.php at line 105
    ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->actionThInstallUpgradeUpgrade() in src\XF\Mvc\Dispatcher.php at line 321
    XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line 244
    XF\Mvc\Dispatcher->dispatchFromMatch() in src\XF\Mvc\Dispatcher.php at line 100
    XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line 50
    XF\Mvc\Dispatcher->run() in src\XF\App.php at line 2178
    XF\App->run() in src\XF.php at line 390
    XF::runApp() in admin.php at line 13
 
Is this an issue with the Install and Upgrade add-on?

Sorry for the delay in response! Could you please create a ticket on our support portal so our team can take a closer look?
 
Same problem here, when trying to upgrade addons from xenforo.com it throws a 403 error:

Code:
GuzzleHttp\Exception\ClientException: Client error: `GET https://xenforo.com/community/resources/th-user-criteria-extended.6276/download/` resulted in a `403 Forbidden` response: <!DOCTYPE html> <html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="login" data-container-key="xfrm (truncated...) in src\vendor\guzzlehttp\guzzle\src\Exception\RequestException.php at line 113

Same problem.

PHP:
GuzzleHttp\Exception\ClientException: Client error: `GET https://xenforo.com/community/resources/s9e-media-sites.5973/download/` resulted in a `403 Forbidden` response: <!DOCTYPE html> <html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="login" data-container-key="xfrm (truncated...) in src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php at line 113
I wonder if the language of my forum is relevant... (spanish)
 
Bug?: Not a biggy, but on the "Install and Upgrade log" page in the Admin CP, the page number buttons navigate to the Admin log, not the Install and Upgrade log.
i.e. links should be

/admin.php?th-install-upgrade-log/&page=8
instead of
/admin.php?logs/admin/&page=8
 
Bug?: Not a biggy, but on the "Install and Upgrade log" page in the Admin CP, the page number buttons navigate to the Admin log, not the Install and Upgrade log.
i.e. links should be

/admin.php?th-install-upgrade-log/&page=8
instead of
/admin.php?logs/admin/&page=8
Fixed that for the next release, thanks.
 
Nothing we can do in that case. That's cloudflare captcha-prompting your server.
Is there a reason why it fails when using the "Upgrade" button, but if I enter the url into the plugin, it fetches it fine?
Does that every time with a resource from the XenForo resource manager.
 
I'm having the same issue mentioned above.
Server error log
  • InvalidArgumentException: Job ThemeHouse\InstallAndUpgrade:ImportTHStyles: Unknown relation THInstallUpgradeData
  • src/XF/Mvc/Entity/Entity.php:397
  • Generated by: Unknown account
  • Mar 19, 2020 at 3:36 PM
Stack trace
#0 src/addons/ThemeHouse/InstallAndUpgrade/Job/ImportTHStyles.php(36): XF\Mvc\Entity\Entity->getRelationOrDefault('THInstallUpgrad...')
#1 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\ImportTHStyles->run(G)
#2 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#3 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#4 job.php(42): XF\Job\Manager->runQueue(false, 8)
#5 {main}
Request state
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(42) "https://daysgonefan.com/admin.php?add-ons/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Getting the following error message when trying to use it to update addons:

ErrorException: [E_WARNING] ZipArchive::extractTo(): Permission denied in src/XF/Service/AddOnArchive/Validator.php at line 81
  1. XF::handlePhpError()
  2. ZipArchive->extractTo() in src/XF/Service/AddOnArchive/Validator.php at line 81
  3. XF\Service\AddOnArchive\Validator->validate() in src/XF/Service/AddOnArchive/InstallBatchCreator.php at line 76
  4. XF\Service\AddOnArchive\InstallBatchCreator->setupAddOnZip() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Service/AddOnArchive/InstallBatchCreator.php at line 31
  5. ThemeHouse\InstallAndUpgrade\XF\Service\AddOnArchive\InstallBatchCreator->setupAddOnZip() in src/XF/Service/AddOnArchive/InstallBatchCreator.php at line 62
  6. XF\Service\AddOnArchive\InstallBatchCreator->addArchive() in src/XF/Service/AddOnArchive/InstallBatchCreator.php at line 46
  7. XF\Service\AddOnArchive\InstallBatchCreator->addUpload() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/Traits/AddonHandlerTrait.php at line 48
  8. ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\ThemeHouse->installAddOnProducts() in src/addons/ThemeHouse/InstallAndUpgrade/Admin/Controller/InstallUpgrade.php at line 58
  9. ThemeHouse\InstallAndUpgrade\Admin\Controller\InstallUpgrade->ThemeHouse\InstallAndUpgrade\Admin\Controller\{closure}() in src/addons/ThemeHouse/InstallAndUpgrade/ControllerPlugin/Profile.php at line 64
  10. ThemeHouse\InstallAndUpgrade\ControllerPlugin\Profile->handleReply() in src/addons/ThemeHouse/InstallAndUpgrade/Admin/Controller/InstallUpgrade.php at line 59
  11. ThemeHouse\InstallAndUpgrade\Admin\Controller\InstallUpgrade->actionInstallProducts() in src/XF/Mvc/Dispatcher.php at line 350
  12. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 261
  13. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 113
  14. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 55
  15. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2184
  16. XF\App->run() in src/XF.php at line 391
  17. XF::runApp() in admin.php at line 13
It worked last week shortly after i updated to the latest Xenforo and i've not changed anything server side so unsure what's happened.
 
Whatever temporary data and internal data paths you have configured for XenForo. It's utilizing the default XF batch installer for zip files, so it's probably a question that you would need to ask in the troubleshooting section.
 
  • Like
Reactions: Xon
Top Bottom