Install and Upgrade

Install and Upgrade 1.1.7 Patch Level 1

No permission to download
so - am i right in saying that this is essentially an update manager, however only for those Devs that sign up to it? No way to add links for 3rd party addons from other developers (Much like the old install and Upgrade from XF1.x which used to allow you to input links to 3rd party upgrades..)??

Maybe i'm missing something here :(
 
so - am i right in saying that this is essentially an update manager, however only for those Devs that sign up to it? No way to add links for 3rd party addons from other developers (Much like the old install and Upgrade from XF1.x which used to allow you to input links to 3rd party upgrades..)??

Maybe i'm missing something here :(

I dont know - seems that way to me - and really it doesnt seem to work much anyway.
 
I dont know - seems that way to me - and really it doesnt seem to work much anyway.
That is correct although I disagree with it not working, there are a few issues with it that have been reported and will be fixed in a future release. But it does do the job :) Let us know if we can assist with anything though. You can actually install/upgrade add-ons through URL as well which you can read about here.
 
That is correct although I disagree with it not working, there are a few issues with it that have been reported and will be fixed in a future release. But it does do the job :) Let us know if we can assist with anything though. You can actually install/upgrade add-ons through URL as well which you can read about here.


1602065298454.webp
 
Those errors are only related to the non-free add-ons from those 3rd parties.
It works fine with the XenForo.com Resource Manager, at least as far as checking for updates goes. You have to re-install each add-on using this add-on so that it knows the source.

Screenshot 2020-10-07 at 14.08.20.webp
Where it no longer works for me is actually doing any of the non-paid upgrades, all attempts by the web server to retrieve the updates from xenforo.com get blocked, I believe by the CloudFlare service in front.
 
Those errors are only related to the non-free add-ons from those 3rd parties.
It works fine with the XenForo.com Resource Manager, at least as far as checking for updates goes. You have to re-install each add-on using this add-on so that it knows the source.

1602252951654.webp
Atelier seems to be working for you -- ???
 
View attachment 237104
Atelier seems to be working for you -- ???
Yeah, all the paid-for add-on sites work fine. You have to set the API key up in the Setup > Install & Upgrade profiles section of the Admin CP.
Or disable them if you don't have any of their addons.
Just the upgrades using free add-ons from the XenForo.com resource manager that don't work for me. The upgrade check works, but I can't upgrade using the Upgrade button or by entering the URL. The latter used to work until XF moved to 2.2.
 
Yeah, all the paid-for add-on sites work fine. You have to set the API key up in the Setup > Install & Upgrade profiles section of the Admin CP.
Or disable them if you don't have any of their addons.
Just the upgrades using free add-ons from the XenForo.com resource manager that don't work for me. The upgrade check works, but I can't upgrade using the Upgrade button or by entering the URL. The latter used to work until XF moved to 2.2.
That is my experience as well. I cannot install via URL or perform any automatic upgrades with this plugin with the Xenforo Resource library. The other paid resources that utilize the API key work just fine.
 
It appears I rejoiced too early regarding the upgrade.

I'm not sure what it means that you "...added basic XF API endpoints..." but when you add Xenforo Resources as a an Install & Upgrade Profile, it still asks for username and password.

I just tried to Install an Addon by URL from the XF Resource Manager. It gave me the same error as before the upgrade to 1.17:

Code:
Oops! We ran into some problems.
GuzzleHttp\Exception\ClientException: Client error: `POST https://xenforo.com/community/login/login` resulted in a `400 Bad Request` response: <!DOCTYPE html> <html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="error" data-container-key="" d (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 131
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->authenticate() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/XF2RM.php at line 176
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->isValidXFRMUrl() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/XF2RM.php at line 166
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->isValidAddOnUrl() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/AddOn.php at line 209
ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\{closure}() in src/addons/ThemeHouse/InstallAndUpgrade/ControllerPlugin/Profile.php at line 64
ThemeHouse\InstallAndUpgrade\ControllerPlugin\Profile->handleReply() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/AddOn.php at line 229
ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->actionThInstallUpgradeUrl() in src/XF/Mvc/Dispatcher.php at line 350
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 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in admin.php at line 13
 
Lots of errors when the scheduled check job ran this morning using 1.1.7 on XF 2.1.12

Code:
TypeError: Argument 1 passed to XFApi\Exception\RequestException\AbstractRequestException::setBody() must be of the type array, null given, called in /path/www.mysite.name/forums/src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php on line 324 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Exception/RequestException/AbstractRequestException.php:27
Generated by: Unknown account Nov 30, 2020 at 4:07 AM
Stack trace
#0 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(324): XFApi\Exception\RequestException\AbstractRequestException->setBody(NULL)
#1 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(291): XFApi\Client->handleException(500, NULL)
#2 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(154): XFApi\Client->request('GET', 'dbtech-ecommerc...', Array, Array, Array, NULL)
#3 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/AbstractDomain.php(53): XFApi\Client->get('dbtech-ecommerc...', Array, Array, NULL)
#4 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/DBTech/eCommerce/AbstracteCommerceDomain.php(44): XFApi\Domain\AbstractDomain->get('dbtech-ecommerc...', Array, Array, NULL)
#5 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/DBTech/eCommerce/ProductDomain.php(57): XFApi\Domain\DBTech\eCommerce\AbstracteCommerceDomain->get('dbtech-ecommerc...', Array)
#6 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/DragonByte.php(255): XFApi\Domain\DBTech\eCommerce\ProductDomain->getLatestVersion('10', Array, 'full')
#7 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/Traits/AddonHandlerTrait.php(88): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->getLatestVersion(Object(ThemeHouse\InstallAndUpgrade\Entity\Product))
#8 src/addons/ThemeHouse/InstallAndUpgrade/Job/UpdateCheck.php(95): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->checkAddOnProductForUpdates(Object(ThemeHouse\InstallAndUpgrade\Entity\Product))
#9 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\UpdateCheck->run(G)
#10 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#11 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#12 job.php(42): XF\Job\Manager->runQueue(false, 8)
#13 {main}
Request state
array(4) {
  ["url"] => string(15) "/forums/job.php"
  ["referrer"] => string(112) "https://www.mysite.name/forums/threads/mary-wollstonecraft-memorial-statue-provokes-mixed-reaction.372587/page-5"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Last edited:
this addon does not appear to delete these database tables when you uninstall it:
View attachment 240204
It appears I rejoiced too early regarding the upgrade.

I'm not sure what it means that you "...added basic XF API endpoints..." but when you add Xenforo Resources as a an Install & Upgrade Profile, it still asks for username and password.

I just tried to Install an Addon by URL from the XF Resource Manager. It gave me the same error as before the upgrade to 1.17:

Code:
Oops! We ran into some problems.
GuzzleHttp\Exception\ClientException: Client error: `POST https://xenforo.com/community/login/login` resulted in a `400 Bad Request` response: <!DOCTYPE html> <html id="XF" lang="en-US" dir="LTR" data-app="public" data-template="error" data-container-key="" d (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 131
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->authenticate() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/XF2RM.php at line 176
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->isValidXFRMUrl() in src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/XF2RM.php at line 166
ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\XF2RM->isValidAddOnUrl() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/AddOn.php at line 209
ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\{closure}() in src/addons/ThemeHouse/InstallAndUpgrade/ControllerPlugin/Profile.php at line 64
ThemeHouse\InstallAndUpgrade\ControllerPlugin\Profile->handleReply() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/AddOn.php at line 229
ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->actionThInstallUpgradeUrl() in src/XF/Mvc/Dispatcher.php at line 350
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 2300
XF\App->run() in src/XF.php at line 465
XF::runApp() in admin.php at line 13
Lots of errors when the scheduled check job ran thins morning using 1.1.7 on XF 2.1.12

Code:
TypeError: Argument 1 passed to XFApi\Exception\RequestException\AbstractRequestException::setBody() must be of the type array, null given, called in /path/www.mysite.name/forums/src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php on line 324 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Exception/RequestException/AbstractRequestException.php:27
Generated by: Unknown account Nov 30, 2020 at 4:07 AM
Stack trace
#0 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(324): XFApi\Exception\RequestException\AbstractRequestException->setBody(NULL)
#1 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(291): XFApi\Client->handleException(500, NULL)
#2 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Client.php(154): XFApi\Client->request('GET', 'dbtech-ecommerc...', Array, Array, Array, NULL)
#3 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/AbstractDomain.php(53): XFApi\Client->get('dbtech-ecommerc...', Array, Array, NULL)
#4 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/DBTech/eCommerce/AbstracteCommerceDomain.php(44): XFApi\Domain\AbstractDomain->get('dbtech-ecommerc...', Array, Array, NULL)
#5 src/addons/ThemeHouse/InstallAndUpgrade/vendor/xfapi/xfapi-php/src/Domain/DBTech/eCommerce/ProductDomain.php(57): XFApi\Domain\DBTech\eCommerce\AbstracteCommerceDomain->get('dbtech-ecommerc...', Array)
#6 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/DragonByte.php(255): XFApi\Domain\DBTech\eCommerce\ProductDomain->getLatestVersion('10', Array, 'full')
#7 src/addons/ThemeHouse/InstallAndUpgrade/InstallAndUpgrade/Traits/AddonHandlerTrait.php(88): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->getLatestVersion(Object(ThemeHouse\InstallAndUpgrade\Entity\Product))
#8 src/addons/ThemeHouse/InstallAndUpgrade/Job/UpdateCheck.php(95): ThemeHouse\InstallAndUpgrade\InstallAndUpgrade\DragonByte->checkAddOnProductForUpdates(Object(ThemeHouse\InstallAndUpgrade\Entity\Product))
#9 src/XF/Job/Manager.php(253): ThemeHouse\InstallAndUpgrade\Job\UpdateCheck->run(G)
#10 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#11 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#12 job.php(42): XF\Job\Manager->runQueue(false, 8)
#13 {main}
Request state
array(4) {
  ["url"] => string(15) "/forums/job.php"
  ["referrer"] => string(112) "https://www.mysite.name/forums/threads/mary-wollstonecraft-memorial-statue-provokes-mixed-reaction.372587/page-5"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
I'm gonna have our team take a look and get back to you both on these :)
 
Top Bottom