• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Can't login - edit Plesk via SSH

D

DedicatedPros

Guest
I just got a server with Plesk on it, and out of all the things I did, I forgot the setup an A record as for my server's hostname after having changed the server hostname in Plesk. Now I cannot login as a blank page shows up when I try :(

Is there anyway I can edit the hostname of the server from SSH?
 
Login to the Plesk database:

#mysql -uadmin -p`cat /etc/psa/.psa.shadow` psa

The entry is located here:
Code:
[B]mysql> select * from misc where param="FullHostName";[/B]
+--------------+-----------------------------+
| param        | val                         |
+--------------+-----------------------------+
| FullHostName | hostname.domain.tld         |
+--------------+-----------------------------+

Try running an update query like:

mysql> update misc set val='new.domain.tld' where param='FullHostName';
 
Last edited by a moderator:
That fix worked like a charm, but changing the hostname did not solve the issue.

I still keep getting a blank page whenever I go to my Plesk login page, I've enabled display_errors in /usr/local/psa/admin/conf/php.ini, restarted Plesk, and still nothing (no errors show) :(

Could I maybe reinstall Plesk without damaging my databases/current server settings?
 
Are you able to access the control panel by IP address? I mean via: "https://<IP>:8443"? If so, try this:

1) Edit /etc/hosts with:
Code:
[b]<IP address> plesk.domain.tld plesk[/b]

2) Edit /etc/sysconfig/network:
Code:
[b]HOSTNAME plesk.domain.tld[/b]

3) Run:
Code:
[b]#hostname plesk.domain.tld
#/etc/init.d/network restart 
#/etc/init.d/psa restart[/b]
 
The hostname is now changed successfully but I still get a blank page when trying to access Plesk :(
 
Back
Top