Install and Upgrade

Install and Upgrade 1.1.7 Patch Level 1

No permission to download
to be honest, I think you making thing harder for use with that password.. what if i forgot it?

It's a convenience vs security thing, either we store your passwords plain text in the database or we require an encryption key to be entered when you use it. We chose the latter :)

Unfortuantely, if you forget there is no way to recover as that would require us to store that password plain text would would defeat the purpose but you can just delete it and recreate it without any issue. The encryption isn't required for services that use an API key (Currently only supports downloading our products though).

I do believe there is a way to specify your encryption keys in src/config.php but we (intentionally) don't document that as it could give someone access to your XenForo credentials if they gain access to your server.

If you'd like to do this anyways though, you can add this to your src/config.php:

Code:
$config['installAndUpgrade'] = [
    'secrets' => [
         '{providerId}' => '{yourSecret}'
    ],
];

Just replace {providerId} with the ID of the provider configuration (you can get it from the URL when you edit the provider), and replace {yourSecret} with the encryption key you specified when setting it up.
 
It's a convenience vs security thing, either we store your passwords plain text in the database or we require an encryption key to be entered when you use it. We chose the latter :)

Unfortuantely, if you forget there is no way to recover as that would require us to store that password plain text would would defeat the purpose but you can just delete it and recreate it without any issue. The encryption isn't required for services that use an API key (Currently only supports downloading our products though)
well if deleting it and recreate it doesn't affect anything then its okey
 
You don't even actually need to delete it. You can just edit the profile, re-enter the original password and set a new encryption key.
 
So your password for XenForo isn't stored in plain text in the database... as Jake previously mentioned.
 
I just wanted to go in the ACP and get the following message displayed in the ACP on the home page.


Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'xf_style.th_iau_product_id' in 'on clause' in src/XF/Db/AbstractStatement.php at line 212
[LIST=1]
[*]XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
[*]XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
[*]XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
[*]XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
[*]XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1163
[*]XF\Mvc\Entity\Finder->fetch() in src/addons/ThemeHouse/InstallAndUpgrade/Repository/InstallAndUpgrade.php at line 109
[*]ThemeHouse\InstallAndUpgrade\Repository\InstallAndUpgrade->getIndexUpdateInfo() insrc/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/Index.php at line 14
[*]ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\Index->actionIndex() in src/addons/ThemeHouse/UIX/XF/Admin/Controller/Index.phpat line 9
[*]ThemeHouse\UIX\XF\Admin\Controller\Index->actionIndex() in src/addons/ThemeHouse/XPress/XF/Admin/Controller/Index.php at line 11
[*]ThemeHouse\XPress\XF\Admin\Controller\Index->actionIndex() in src/addons/SV/RedisCache/XF/Admin/Controller/Index.php at line 11
[*]SV\RedisCache\XF\Admin\Controller\Index->actionIndex() in src/addons/SV/SearchImprovements/XF/Admin/Controller/Index.php at line 14
[*]SV\SearchImprovements\XF\Admin\Controller\Index->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249
[*]XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
[*]XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
[*]XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
[*]XF\App->run() in src/XF.php at line 333
[*]XF::runApp() in admin.php at line 13
[/LIST]

If I now want to try to install the addon comes the following error message to the fore



Code:
XF\Db\Exception: MySQL statement prepare error [1054]: Unknown column 'xf_th_installupgrade_product.content_id' in 'where clause' in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 39
XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 54
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1130
XF\Mvc\Entity\Finder->fetchOne() in src/XF/Mvc/Entity/Manager.php at line 359
XF\Mvc\Entity\Manager->getRelation() in src/XF/Mvc/Entity/Entity.php at line 373
XF\Mvc\Entity\Entity->getRelation() in src/XF/Mvc/Entity/Entity.php at line 171
XF\Mvc\Entity\Entity->get() in src/XF/Mvc/Entity/Entity.php at line 100
XF\Mvc\Entity\Entity->offsetGet() in src/XF/AddOn/AddOn.php at line 757
XF\AddOn\AddOn->offsetGet() in src/XF/AddOn/AddOn.php at line 770
XF\AddOn\AddOn->__get() in src/addons/ThemeHouse/InstallAndUpgrade/XF/Admin/Controller/AddOn.php at line 27
ThemeHouse\InstallAndUpgrade\XF\Admin\Controller\AddOn->actionIndex() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1934
XF\App->run() in src/XF.php at line 333
XF::runApp() in admin.php at line 13

Please clarify what went wrong there.
 
Just installed the new version and got a success message but also a server error message:
  • Exception: Could not get runner for job ThemeHouse\InstallAndUpgrade:PostInstall (unique: ). Skipping.
  • src/XF/Job/Manager.php:239
  • Generiert von: Unbekanntes Konto
  • 24 Jan 2019 um 21:34
Stack-Trace
#0 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#1 src/XF/Job/Manager.php(79): XF\Job\Manager->runJobEntry(Array, G)
#2 job.php(42): XF\Job\Manager->runQueue(false, 8)
#3 {main}
Status der Anfrage
array(4) {
["url"] => string(8) "/job.php"
["referrer"] => string(86) "https://dev.pe-community.eu/admin.php?add-ons/install-from-archive-complete&batch_id=33"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Tried with uninstall incl. manual remove of all files from server and re-install, but still the same.
 
Hello,
I get the following error message:
Code:
Server error log:
ErrorException: Template error: Cannot call method count on a non-object (array) src/XF/Template/Templater.php:963
    
Stack trace:
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, 'Cannot call met...', '/var/www/xxxxxx...', 963, Array)
#1 src/XF/Template/Templater.php(963): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l2/s0/admin/th_iau_addon_install_upgrade.php(32): XF\Template\Templater->method(Array, 'count', Array)
#3 src/XF/Template/Templater.php(1294): XF\Template\Templater->{closure}(Object(xenMade\UASD\XF\Template\Templater), Array)
#4 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('th_iau_addon_in...', Array)
#5 src/XF/Mvc/Renderer/Json.php(84): XF\Template\Template->render()
#6 src/XF/Mvc/Renderer/Json.php(68): XF\Mvc\Renderer\Json->renderHtmlFallback('ThemeHouse\\Inst...', 'admin:th_iau_ad...', Array)
#7 src/XF/Mvc/Dispatcher.php(418): XF\Mvc\Renderer\Json->renderView('ThemeHouse\\Inst...', 'admin:th_iau_ad...', Array)
#8 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#9 src/XF/Mvc/Dispatcher.php(360): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#10 src/XF/Mvc/Dispatcher.php(53): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#11 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#12 src/XF.php(390): XF\App->run()
#13 admin.php(13): XF::runApp('XF\\Admin\\App')
#14 {main}

Request state:
array(4) {
  ["url"] => string(167) "/admin.php?add-ons/th-install-upgrade&_xfRequestUri=%2Fadmin.php%3Fadd-ons%2F&_xfWithData=1&_xfToken=xxxxxxxxxxxxxxxxxxxxxxx_xfResponseType=json"
  ["referrer"] => string(48) "https://xxx.rpg-foren.com/admin.php?add-ons/"
  ["_GET"] => array(5) {
    ["add-ons/th-install-upgrade"] => string(0) ""
    ["_xfRequestUri"] => string(19) "/admin.php?add-ons/"
    ["_xfWithData"] => string(1) "1"
    ["_xfToken"] => string(43) "xxxxxxxxxxxxxxxxxxxxxxx"
    ["_xfResponseType"] => string(4) "json"
  }
  ["_POST"] => array(0) {
  }
}

what can it be?
 
php cmd.php xf-addon:uninstall ThemeHouse/InstallAndUpgrade


Tried that and got...

In AbstractStatement.php line 217:

MySQL statement prepare error [1054]: Unknown column 'xf_th_installupgrade_product.content_id' in 'where clause'


xf:addon-disable [<id>]
 
Tried that and got...

In AbstractStatement.php line 217:

MySQL statement prepare error [1054]: Unknown column 'xf_th_installupgrade_product.content_id' in 'where clause'


xf:addon-disable [<id>]
Try adding $config['enableListeners'] = false; to your config.php file and then try again either through the CLI or through the Admin Control Panel.
 
Do you mind me asking which third-party add-on authors you managed to get on board with this concept?

Seems like it has a lot of potential.
 
Top Bottom