• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Performance booster not showing under domains > dev tools

Crash79797

New Pleskian
Server operating system version
CentOS Linux 7.9.2
Plesk version and microupdate number
Plesk Obsidian v18.0.58 #2
Plesk Obsidian v18.0.58
CentOS Linux 7.9.2
3 domains hosted on server

I've installed panel.ini (had issues installing due to segments_45rp is not readable but fixed now), however, accessing performance booster I have access to database optimisation (under tools & settings > performance booster > serverwide tab) but under domains > Web Server and PHP Settings it displays 'looks like there's nothing here'.

Also, under the domains tab (domains > example.com > dashboard > dev tools) performance booster is missing.

I've tried updating optimisation settings through SSH (plesk ext performance-booster apply --webserver --skip-applying-nginx-compression example.com) but get the error:

Failed to apply the optimizations: [[app.conflicts.app.conflicts.Overview]]

Error log (panel.log) shows:

A table must have a primary key, but none was found for table 'DomainStage'

&

A table must have a primary key, but none was found for table 'Applications'

I've checked under service plans (service plans > unlimited > Common PHP settings management) and the box is checked, as is the same box under subscriptions > example.com > customize > Common PHP settings management

I have optimised the database (under tools & settings > performance booster > serverwide tab) and it's a green tick, however, the above problem was there from before the database optimisation.

How do I set the primary key for domainstage and applications (or does anyone know if another issue might be causing the error)?

Many thanks :)
 
Please make sure to having Performance Booster enabled in /usr/local/psa/admin/conf/panel.ini with a section like
Code:
[ext-performance-booster]
enabled=true

Regarding the database inconsistencies: That is a different topic. You can try to run plesk repair db -y to let Plesk auto-fix the issues.
 
[ext-performance-booster] enabled=true


Yes, already in the panel.ini file (and I've just double checked)

'You can try to run plesk repair db -y to let Plesk auto-fix the issues.'

Produced the result:

Checking the Plesk database using the native database server tools .. [OK]

Checking the structure of the Plesk database ........................ [OK]

Checking the consistency of the Plesk database ...................... [OK]

Error messages: 0; Warnings: 0; Errors resolved: 0

Just checked and the problems still the same.
 
The previously quoted A table must have a primary key, but none was found for table 'DomainStage' comes from the /usr/local/psa/var/modules/performance-booster/performance-booster.sqlite3 Sqlite database. The other error message mentioning an 'Applications' table probably refers to another Sqlite database that is used for maintaining the Laravel extension.

If there are not regular database inconsistencies, one could guess that there is some basic problem with the installation itself, e.g. missing Sqlite databases. Unfortunately there is no easy fix for it. You can try to run a plesk repair all hoping that a potential issue with a missing file will be fixed, or you could open a ticket with Plesk support, because this issue will probably need a deeper investigation on your server.
 
Thank you for your help...... you got me searching down the right path.
You are correct, databases were corrupt.

I fixed the issue with the below command (using SSH):

plesk bin extension --upgrade performance-booster

Also fixed Laravel (which wasn't opening) using:

plesk bin extension --upgrade laravel

:)
 
I wouldn't have had the idea to run the "upgrade" command. Good to know, that this is able to restore corrupted SQlite databases.
 
Back
Top