• 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.

cli

  1. E

    Resolved CLI command plesk bin subscription -u example.net -ip 123.123.123.213 is not working

    Hi, I wanted to change IP addresses for all domain from CLI and followed this guide: https://support.plesk.com/hc/en-us/articles/12377887745687-How-to-change-the-IP-address-for-a-domain-all-domains-in-Plesk But for some reason I get error: exit status 1 Incorrect syntax for the command's '-ip'...
  2. micneon

    Issue Problems to del certificate with cli

    Hello, I would like to delete certificates that are empty via the CLI. Unfortunately I have the following problem. You have to enter the certificate name on the manpage. However, for some domains this is assigned several times and is the same. If then none of them is in use or the ones with...
  3. T

    Resolved ImunifyAV extension - CLI infected domain list?

    Hey Guys, is it possible to get a list (or amount) of infected Domains of ImunifyAV extension using CLI on a Linux based system? We are using the premium version with daily scans and i would like implement it in our monitoring software.
  4. P

    Question Plesk CLI: Show TTL for DNS records

    Hi there! Is there a way to list DNS records for a selected domain with their TTL values?
  5. P

    Question Plesk CLI: subscriptions and sites relationship

    Hi! Is there a way to find a connection between 'site' and 'subscription' using Plesk CLI? I can't find any mentions of a 'subscription' when retrieving 'site' info nor vice versa. Thanks!
  6. Giu

    Question Restore Backup with API/CLI from remote Storage

    Hi, i have two questions: 1) there is no way with the xml api or the REST api to restore a backup from a remote storage right? 2) if so then i need to make use of the cli: pleskrestore: Restoration from Backup my question here is: will this cli restore automatically check for the remote...
  7. E

    Resolved Wordpress toolkit CLI, can't enable smart update from CLI

    Hi, I tried to enable smart updates with wordpress toolkit cli using this command: plesk ext wp-toolkit --smart-update -instance-id 1 (I changed instance-id for right wordpress installation using list command: plesk ext wp-toolkit --list) which I found from here...
  8. Z

    Question Restore Backup in CLI

    Hi to all. I try to restore website backup in CLI (i need this in future for Cronjob). The backup is saved locally on server. I'm trying to do this with the following command : plesk bin pleskrestore --restore /var/lib/psa/dumps/domains/imnserver.de/backup_user-data_2309141019.tzst -only-sites...
  9. M

    Question Did /usr/local/psa/bin/dns change in August?

    I have a script running some 4 years which removes a TXT-record and then adds a new one. It used the syntax: /usr/local/psa/bin/dns --del ${DOMAIN} -txt '' -domain ${SUBDOMAIN} Notice the double single quotes. I never gave it the TXT-value, but still the record was removed. I never tested if...
  10. B

    Resolved 503 error after changing php_handler_id for site

    Hi all, I have some PHP software that updates via a bash script. As part of that script I want to update the PHP handler for a given domain, I'm attempting to do that like so: plesk bin site -u "mydomain.com" -php_handler_id plesk-php82-fpm That command runs ok and I can see in the PHP...
  11. M

    Question How to provide CLI Commands with spaces

    Hi, it seems like Plesk CLI Commands are unable to process space characters in Parameters. For example: # plesk bin service_plan --info "Default Admin" An error occurred while getting the hosting plan information: Unknown option 'Admin': /usr/local/psa/bin/service_plan --info Default Admin I...
  12. K

    Question Question: allow_sendmail subscription status cli

    In certain situations we disable the option to allow websites to send e-mails, by disallowing use of sendmail. We use a script to automate this. The primary command of the script is: /usr/sbin/plesk bin subscription_settings -u domain.tld -outgoing_messages_enable_sendmail false This disables...
  13. M

    Question Global sttings of HSTS via CLI

    Hi, on my plesk admin-web-server I got many many Subscriptions. After a Server Issue I had to backup, but now all subscritions are not resolveable. I tested out why, its something with HSTS. A switch of will make everything fine. So is it possible to switch global all subscriptons on "false" via...
  14. R

    Question Lock Abonement via Console

    Hey, is it possible, that a customer can lock his subscription via console? Greetings
  15. A

    Resolved REST API /api/v2/cli/* returns 404

    Hi, Since I migrated my Plesk vm to a new IP, I realized the REST API calls to CLI returns 404: https://<IP_ADDRESS>:8443/api/v2/cli/commands/ returns 404 https://<host.domain.tld>:8443/api/v2/cli/commands/ returns 404 command curl -k -u 'admin:password' -X GET...
  16. E

    Question CLI - Get list of databases by domain

    Hello, Do you know if there's a way to get the list of databases associated with a domain from the CLI (Bash script)?
  17. Sven Wappler

    Question PHP CLI versions in chrooted environment

    Hello, first I would like to ask a question of understanding because I am new to Plesk users. I am a server administrator and PHP developer and would like to use Plesk as a reseller among other things. I am also looking for solutions for partner agencies. PHP software needs more and more access...
  18. M

    Question REST API One time login with redirect url

    I am trying to create an one time login that logins as an system user or redirect to a specific client or domain. In the XML API it can be done with server -> create_session, but how can i do it with the rest api (somewhere in cli??) Is it even possible??
  19. E

    Question Backup Database MS SQL Server by Command Line in windows

    Hi i use this command for backup MySQL Database in Plesk Obsidian and Windows Server 2016 : cd C:\Program Files (x86)\Plesk\mysql\bin mysqldump.exe -uMyUsername -pMySamplePassword -P3306 SampleDatabse > D:\BACKUP\MySQL\SampleDatabse.sql BUT i can not find command for Get Backup ( MS SQL...
  20. O

    Question changing virtual host directory

    Hello My virtual directory path currently is on "C" drive and I want to move it to "D" drive . The problem is that size of vhost directory is about 380 GB and I want a secure way to change the vhost directory. the size is huge , It causes my websites to be down for a long time. can I copy the...
Back
Top