Plesk inaccessible… error 500

Hello, for a few days I've been getting this error: DB query failed: (1146) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'psa.smb_apsPackages' doesn't exist, query was: DESCRIBE smb_apsPackages

As a result I can no longer log in to Plesk. It shows me this page and when I click the repair button it asks for a login & password probably for Plesk but it doesn't accept any.

OVH tells me to use SSH but, of course, I've lost the password.

Could someone help me with the 500 error, or give the proper steps on a VPS to change the root password so I can log in again via SSH?

Thanks.

Hello @Nicdel

How come you don't have a folder on your PC dedicated to your site that contains all the connection information?

Hello,

I have exactly the same problem.

DB query failed: (1146) SQLSTATE[42S02]: Base table or view not found: 1146 Table 'psa.smb_apsPackages' doesn't exist, query was: DESCRIBE smb_apsPackages

I have my SSH access, but then, what should I do?

I don't know much, but I can follow a precise procedure.

Have you solved the problem?

I found this and followed the procedure, so I changed the file /etc/apt/sources.list, but it doesn't change anything even after restarting the server; did I miss something?

https://talk.plesk.com/threads/false-update.395012/

Thanks in advance.

Hello,

Well, the problem was finally solved by running the SQL database repair via SSH, using this command:

plesk repair db -y

This will probably be useful to others...

See you later...

Hello,

We also need to consider updating Plesk because there was an ultra‑critical security vulnerability a few days ago.
And I'm not even talking about the other recent security vulnerabilities.