Filed under:

Removing Plesk License Packs on Linux when the license has expired.




SSH into the server
  • Obtain the admin password for Pleak
  • cat /etc/psa/.psa.shadow
  • Login to MySQL
  • mysql -u admin -p psa
  • View currently installed locale statuses
  • select * from locales;
  • Set the defaul language to en-US in case any users/domains/etc are using it
  •     update mn_param set val="en-US";
        update clients set locale="en-US";
        update module_watchdog_param set val="en-US" where param="locale";
        update dom_param set val="en-US" where param="locale";
        update Parameters set value="en-US" where Parameter in ("s:locale", "s:country_locale");
        update locales set active="false" where id!='en-US';
        
  • Check the stus of the locales
  • select * from locales;
  • Only en-US should be showing as with true
You can now install the License through the Plesk interface.

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
article icon What is PHP? (Views: 2687)

Language: