• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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