• 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.

Issue upgrade to 10.0.64 broke Plesk asking for psa.Smarhost table

jorge ceballos

Regular Pleskian
Server operating system version
AlmaLinux 8.10
Plesk version and microupdate number
Versión 18.0.64
Hope this helps someone if they run into the same situation:

This morning, I found there was a pending update which I proceeded to run.
Finished without any visible error nor showing any mistake, until I tried to go back to the panel and it redirected me to "Repair Mode".
Apparently there were some db inconsistencies which I agreed to repair; after running repair, the panel still was non-working and a message showed stating that the psa.Smarthosts table was missing.
Ran a manual psa db restore to no avail. The table was not there.
Unzipped psa backups and the table did not exist in any of the past backups.
Created an empty smarthosts table using the structure found and provided by Windows copilot -thanks MS - and Plesk came back to life.... but all the WP sites in the server were not able to connect to their respective db.
Tried to recover dbs from their backups but users were not being recognized as they had their privileges gone, so had to recreate them - did not dare to erase them, just re-created them using the same name and confirmed their privileges. This showed error as the new user could not be created as it already existed, but it made the trick and it worked.
After this, db backup recovery was successful and the sites were back to normal.

Don't know if I may be missing something which may come up later when attempting a backup recovery or panel upgrade.
Please advice if you know or think of something I missed.

TIA
 
this was the table structure I used:

CREATE TABLE psa.Smarthosts (
id INT AUTO_INCREMENT PRIMARY KEY,
host VARCHAR(255) NOT NULL,
port INT DEFAULT 25,
username VARCHAR(255),
password VARCHAR(255),
use_ssl TINYINT(1) DEFAULT 0
);
 
Actually I just ran into an error when pressing the new link "smarthost" in Tools > Email > Smarthost
The error states:
TypeGraphQL Error
MessageSpecified column "encryption" is not in the row

Please advice
 
Back
Top