• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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