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

cli

  1. 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...
  2. 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.
  3. 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?
  4. 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!
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. R

    Question Lock Abonement via Console

    Hey, is it possible, that a customer can lock his subscription via console? Greetings
  14. 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...
  15. 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)?
  16. 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...
  17. 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??
  18. 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...
  19. 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...
  20. C

    Issue Installation without NGINX component

    Hello everyone! My first message in the forum, I hope to do well and that you can help me :) I have a virtual machine on HYPER-V in which I am trying to install Plesk without the NGINX module since I would like everything to be served by Apache. Product version: Plesk Obsidian 18.0.32.2 OS...
Back
Top