DennisAm
Basic Pleskian
Subscription creation takes about 5-6 minutes, way too long
Hello!
Since yesterday, I am encoutering problems while creating subscriptions in Plesk 12.0. When I create a subscription, nothing happens. I looked in the %plesk_dir%/admin/logs/php_error.txt which tells me the following:
[2014-08-20 17:52:37] PleskMainDBException: DB query failed:
INSERT INTO `SubscriptionProperties` (`subscription_id`, `name`, `value`) VALUES (?, ?, ?)
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '14-unpaid_website_status' for key 'PRIMARY'
file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Adapter\Pdo\Mysql.php
line: 30
code: 0
trace: #0 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(575): Db_Adapter_Pdo_Mysql->query('INSERT INTO `Su...', Array)
#1 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Table\Abstract.php(1075): Zend_Db_Adapter_Abstract->insert('SubscriptionPro...', Array)
#2 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Dictionary.php(272): Zend_Db_Table_Abstract->insert(Array)
#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Service.php(42): Db_Table_Dictionary->save()
#4 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Abstract.php(23): Limits_Policy_Overuse_Plesk_Service->_saveData(Array)
#5 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Abstract.php(83): Limits_Policy_Overuse_Plesk_Abstract->save()
#6 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Plesk\Abstract.php(30): Limits_Abstract->save()
#7 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription.php(579): Limits_Plesk_Abstract->save()
#8 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription\Domain.php(261): Db_Table_Row_Subscription->_saveLimits()
#9 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\Subscription.php(122): Db_Table_Row_Subscription_Domain->save()
#10 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\DomainSubscription.php(167): Plan_Synchronization_Subscription->update()
#11 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(329): Plan_Synchronization_DomainSubscription->update()
#12 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(216): Commands_CreateSubscription->_applyPlan(Object(BsDomain), Object(Db_Table_Row_Service_Package))
#13 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(210): Commands_CreateSubscription->applyCreateSubscription()
#14 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(139): Transactional->apply()
#15 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(133): Transactional->execute()
#16 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Subscription.php(198): Commands_CreateSubscription->create()
#17 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Final\CreateSubscription.php(95): AdminPanel_Form_Subscription->processForm()
#18 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Controller\Action\Subscription.php(155): AdminPanel_Form_Final_CreateSubscription->processForm()
#19 C:\Program Files (x86)\Parallels\Plesk\admin\application\admin\controllers\SubscriptionController.php(493): AdminPanel_Controller_Action_Subscription->_processCreateSubscriptionAction('list')
#20 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Action.php(516): Admin_SubscriptionController->createAction()
#21 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#22 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Application\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#24 C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\application.php(15): Plesk\Application_Web->run()
#25 {main}
[2014-08-20 17:52:39] ERR [panel] Step failed 'applyCreateSubscription'. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '14-unpaid_website_status' for key 'PRIMARY'
=== Trace ===
#0 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `Su...', Array)
#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Adapter\Pdo\Mysql.php(19): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `Su...', Array)
#4 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(575): Db_Adapter_Pdo_Mysql->query('INSERT INTO `Su...', Array)
#5 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Table\Abstract.php(1075): Zend_Db_Adapter_Abstract->insert('SubscriptionPro...', Array)
#6 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Dictionary.php(272): Zend_Db_Table_Abstract->insert(Array)
#7 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Service.php(42): Db_Table_Dictionary->save()
#8 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Abstract.php(23): Limits_Policy_Overuse_Plesk_Service->_saveData(Array)
#9 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Abstract.php(83): Limits_Policy_Overuse_Plesk_Abstract->save()
#10 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Plesk\Abstract.php(30): Limits_Abstract->save()
#11 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription.php(579): Limits_Plesk_Abstract->save()
#12 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription\Domain.php(261): Db_Table_Row_Subscription->_saveLimits()
#13 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\Subscription.php(122): Db_Table_Row_Subscription_Domain->save()
#14 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\DomainSubscription.php(167): Plan_Synchronization_Subscription->update()
#15 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(329): Plan_Synchronization_DomainSubscription->update()
#16 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(216): Commands_CreateSubscription->_applyPlan(Object(BsDomain), Object(Db_Table_Row_Service_Package))
#17 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(210): Commands_CreateSubscription->applyCreateSubscription()
#18 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(139): Transactional->apply()
#19 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(133): Transactional->execute()
#20 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Subscription.php(198): Commands_CreateSubscription->create()
#21 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Final\CreateSubscription.php(95): AdminPanel_Form_Subscription->processForm()
#22 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Controller\Action\Subscription.php(155): AdminPanel_Form_Final_CreateSubscription->processForm()
#23 C:\Program Files (x86)\Parallels\Plesk\admin\application\admin\controllers\SubscriptionController.php(493): AdminPanel_Controller_Action_Subscription->_processCreateSubscriptionAction('list')
#24 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Action.php(516): Admin_SubscriptionController->createAction()
#25 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#26 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#27 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Application\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#28 C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\application.php(15): Plesk\Application_Web->run()
#29 {main}
Seems like there is some inconsistency in the Plesk DB which needs to be fixed. How do I get into the Plesk DB to fix this problem?
System is running 12.0.18 Update #13 on Windows Server 2012 R2.
Thanks in advance!
Dennis
Hello!
Since yesterday, I am encoutering problems while creating subscriptions in Plesk 12.0. When I create a subscription, nothing happens. I looked in the %plesk_dir%/admin/logs/php_error.txt which tells me the following:
[2014-08-20 17:52:37] PleskMainDBException: DB query failed:
INSERT INTO `SubscriptionProperties` (`subscription_id`, `name`, `value`) VALUES (?, ?, ?)
Error: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '14-unpaid_website_status' for key 'PRIMARY'
file: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Adapter\Pdo\Mysql.php
line: 30
code: 0
trace: #0 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(575): Db_Adapter_Pdo_Mysql->query('INSERT INTO `Su...', Array)
#1 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Table\Abstract.php(1075): Zend_Db_Adapter_Abstract->insert('SubscriptionPro...', Array)
#2 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Dictionary.php(272): Zend_Db_Table_Abstract->insert(Array)
#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Service.php(42): Db_Table_Dictionary->save()
#4 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Abstract.php(23): Limits_Policy_Overuse_Plesk_Service->_saveData(Array)
#5 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Abstract.php(83): Limits_Policy_Overuse_Plesk_Abstract->save()
#6 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Plesk\Abstract.php(30): Limits_Abstract->save()
#7 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription.php(579): Limits_Plesk_Abstract->save()
#8 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription\Domain.php(261): Db_Table_Row_Subscription->_saveLimits()
#9 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\Subscription.php(122): Db_Table_Row_Subscription_Domain->save()
#10 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\DomainSubscription.php(167): Plan_Synchronization_Subscription->update()
#11 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(329): Plan_Synchronization_DomainSubscription->update()
#12 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(216): Commands_CreateSubscription->_applyPlan(Object(BsDomain), Object(Db_Table_Row_Service_Package))
#13 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(210): Commands_CreateSubscription->applyCreateSubscription()
#14 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(139): Transactional->apply()
#15 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(133): Transactional->execute()
#16 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Subscription.php(198): Commands_CreateSubscription->create()
#17 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Final\CreateSubscription.php(95): AdminPanel_Form_Subscription->processForm()
#18 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Controller\Action\Subscription.php(155): AdminPanel_Form_Final_CreateSubscription->processForm()
#19 C:\Program Files (x86)\Parallels\Plesk\admin\application\admin\controllers\SubscriptionController.php(493): AdminPanel_Controller_Action_Subscription->_processCreateSubscriptionAction('list')
#20 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Action.php(516): Admin_SubscriptionController->createAction()
#21 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#22 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#23 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Application\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#24 C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\application.php(15): Plesk\Application_Web->run()
#25 {main}
[2014-08-20 17:52:39] ERR [panel] Step failed 'applyCreateSubscription'. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '14-unpaid_website_status' for key 'PRIMARY'
=== Trace ===
#0 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `Su...', Array)
#3 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Adapter\Pdo\Mysql.php(19): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `Su...', Array)
#4 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Adapter\Abstract.php(575): Db_Adapter_Pdo_Mysql->query('INSERT INTO `Su...', Array)
#5 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Db\Table\Abstract.php(1075): Zend_Db_Adapter_Abstract->insert('SubscriptionPro...', Array)
#6 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Dictionary.php(272): Zend_Db_Table_Abstract->insert(Array)
#7 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Service.php(42): Db_Table_Dictionary->save()
#8 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Policy\Overuse\Plesk\Abstract.php(23): Limits_Policy_Overuse_Plesk_Service->_saveData(Array)
#9 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Abstract.php(83): Limits_Policy_Overuse_Plesk_Abstract->save()
#10 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Limits\Plesk\Abstract.php(30): Limits_Abstract->save()
#11 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription.php(579): Limits_Plesk_Abstract->save()
#12 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Db\Table\Row\Subscription\Domain.php(261): Db_Table_Row_Subscription->_saveLimits()
#13 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\Subscription.php(122): Db_Table_Row_Subscription_Domain->save()
#14 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Plan\Synchronization\DomainSubscription.php(167): Plan_Synchronization_Subscription->update()
#15 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(329): Plan_Synchronization_DomainSubscription->update()
#16 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(216): Commands_CreateSubscription->_applyPlan(Object(BsDomain), Object(Db_Table_Row_Service_Package))
#17 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(210): Commands_CreateSubscription->applyCreateSubscription()
#18 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Transactional.php(139): Transactional->apply()
#19 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Commands\CreateSubscription.php(133): Transactional->execute()
#20 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Subscription.php(198): Commands_CreateSubscription->create()
#21 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Form\Final\CreateSubscription.php(95): AdminPanel_Form_Subscription->processForm()
#22 C:\Program Files (x86)\Parallels\Plesk\admin\plib\AdminPanel\Controller\Action\Subscription.php(155): AdminPanel_Form_Final_CreateSubscription->processForm()
#23 C:\Program Files (x86)\Parallels\Plesk\admin\application\admin\controllers\SubscriptionController.php(493): AdminPanel_Controller_Action_Subscription->_processCreateSubscriptionAction('list')
#24 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Action.php(516): Admin_SubscriptionController->createAction()
#25 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Dispatcher\Standard.php(295): Zend_Controller_Action->dispatch('createAction')
#26 C:\Program Files (x86)\Parallels\Plesk\admin\externals\Zend\Controller\Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#27 C:\Program Files (x86)\Parallels\Plesk\admin\plib\Application\Web.php(38): Zend_Controller_Front->dispatch(NULL)
#28 C:\Program Files (x86)\Parallels\Plesk\admin\htdocs\application.php(15): Plesk\Application_Web->run()
#29 {main}
Seems like there is some inconsistency in the Plesk DB which needs to be fixed. How do I get into the Plesk DB to fix this problem?
System is running 12.0.18 Update #13 on Windows Server 2012 R2.
Thanks in advance!
Dennis
Last edited: