• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Plesk CLI: list service plans

pmg

Basic Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.61.5
Hi!

Is there a way to list service plans using Plesk CLI?

Thanks!
 
Hello @pmg

The utility plesk bin service_plan does not have the option to list all the plans. However, they can be fetched from the database:
Bash:
# plesk db "select id,name,owner_id,type from Templates"
+----+------------------+----------+----------+
| id | name             | owner_id | type     |
+----+------------------+----------+----------+
|  1 | Admin Simple     |        1 | domain   |
|  2 | Default Reseller |        1 | reseller |
|  3 | Default Domain   |        1 | domain   |
|  4 | Unlimited        |        1 | domain   |
|  5 | Default Simple   |        1 | domain   |
+----+------------------+----------+----------+
Also, you can get details about every single plan by using the ID:
Bash:
# plesk db "select * from TmplData where tmpl_id = 3"
+---------+--------------------------------------+--------------------------------------+
| tmpl_id | element                              | value                                |
+---------+--------------------------------------+--------------------------------------+
|       3 | access_appcatalog                    | true                                 |
|       3 | access_service_users                 | true                                 |
|       3 | allow_account_ftp_backups            | false                                |
|       3 | allow_account_local_backups          | false                                |
|       3 | allow_ftp_backups                    | true                                 |
|       3 | allow_insecure_sites                 | true                                 |
|       3 | allow_local_backups                  | true                                 |
...
 
Back
Top