• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

New configuration files for the Apache web server were not created

roadrash

Basic Pleskian
After applying patch #16 today, I now got following error in Plesk Panel:

New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table file: /usr/local/psa/admin/plib/Template/Processor.php line: 27 code: 0 Previous error: Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table file: /usr/local/psa/admin/plib/Template/Processor.php line: 27 code: 0 Previous error: PleskFatalException: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table file: /usr/local/psa/admin/plib/functions.php line: 1601 code: 0. The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues <snip>


So I ran following query:

mysql -uadmin -p`cat /etc/psa/.psa.shadow ` psa -Nse"select * from Configurations where status='error' \G"

That gave me some information about the problematic domains. There are 3 of them.
For 2 of them I was able to remove from Plesk, however problems remain and inconsistend data remains in database.
The third one I cannot mess with, because it is a large and busy forums.

I also ran bootstrapper:
/usr/local/psa/bootstrapper/pp11.5.30-bootstrapper/bootstrapper.sh repair

but without any luck.

So what steps to take to get everything in sync again?

some error messages from database about 1 specific domain:

*************************** 1. row ***************************
201
domainVhost
1
/var/www/vhosts/system/<..snip..>/conf/13792469580.97666000_httpd.conf
13800356650.54347500
domain
132
error
true
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/Template/Processor.php
line: 27
code: 0
Previous error: Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/Template/Processor.php
line: 27
code: 0
Previous error: PleskFatalException: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/functions.php
line: 1601
code: 0
*************************** 2. row ***************************
202
nginxDomainVhost
1
/var/www/vhosts/system/<..snip..>/conf/13792469580.64249200_nginx.conf
13800356690.52030400
nginxDomain
132
error
true
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/Template/Processor.php
line: 27
code: 0
Previous error: Template_Exception: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/Template/Processor.php
line: 27
code: 0
Previous error: PleskFatalException: Unable to load object of type Account with id=84: Account: unable to select: no such row in the table
file: /usr/local/psa/admin/plib/functions.php
line: 1601
code: 0
 
Last edited:
Well, i finally had Plesk support successfully fix this problem. There were several database inconsistencies. No idea what caused them.
This was a freshly installed machine (ran only 2 weeks) migrated from 9.5.4 and added 3 new clients to it. All problems came up after applying patch #16, Sept. 24th.
 
Back
Top