• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

cli

  1. M

    Resolved Mass update of Zone Transfer records

    I need to update the zone transfer record across multiple domains on multiple servers with different versions of Plesk ranging from 9.5 to 17. I'm looking for a way to do this at the cli for: v9.5.x - I suspect this may require direct edit of psa. v11.5.x and above - "%plesk_cli%\dns.exe" -a...
  2. S

    Question PHP CLI 7

    I'm trying to install Laravel via SSH but I realised that my PHP CLI is still 5 even if in the website I use 7.2 How can I use PHP 7 CLI and use all the modules include the php pgsql extension? I have 2 problems. 1) I'm running a cron job with root and it has a pg_connect inside the php...
  3. agarzon

    Question where is "Force daily log rotation for all domains" in CLI?

    According the change-log, starting from Plesk Onyx 17.5.3 Update 60 it was introduced and I quote: According that statement that new option can be managed via CLI and API. However, after reviewing the Command-Line documentation for hours and checking the --help option in my own command line...
  4. A

    Question Lets Encrypt - How to retrieve list of subscription status ??

    As per thread title, is there a means we can retrieve the status through a CLI command for all the subscriptions on our server with regards to the status of the SSL certificates that are/were issued via LetsEncrypt ?? We have an issue this morning since upgrading our Windows Server 2012 R2 to...
  5. F

    Resolved Download compressed backup via CLI

    Hi. Is there a way to download the compressed backup (as it does on the panel) in cli mode? thanks
  6. G

    Question Get list of sites with prefix, via CLI

    Hi, I'm on Plesk Onyx, 17.8 on CentOS 7.5 I can get a list of all sites on the server with: plesk bin site --list ... which is great, but how would I get a list of all sites including the relevant prefix? i.e. with http:// or https:// included? Thanks for any help you might provide!
  7. Edward Dekker

    Question common_cli_messages_nl-NL.php files

    Hello to all and @IgorG , I have seen on my server that there are a translateble file for "common_cli_messages_nl-NL.php" at /usr/local/psa/admin/plib/locales/nl-NL. Are there ways to add this into the Locales Manager? Most of the translations are availible from other files and could be...
  8. Yarin

    Issue Crazy SPU usage with Plesk CLI

    Hey! I noticing that plesk CLI service constantly uses 98% of the CPU usage - which results in extremly slow server. Everytime I shut down the task manually, it just comes back in a few hours.. I have the latest Plesk version on a Windows 2012 R server. Any ideas?
  9. J

    Question MAIL GUI

    Hi everyone, I would like a sort of GUI to see all the mails i've send or the count per email adres. A CLI solution would also be great because I wasnt able to find much on this. Does anyone know if this is possible. In Cpanel I was able to see delivery reports and see all the mails that were...
  10. nilsringersma_nl

    Question Possible (CLI) command to check what vhosts do not have a SSL certificate

    Hi Forum, Plesk: 17.8.11 System: CentOS7 With the Advisor extension it is possible to show a view of all subscriptions and their SSL status. In example, a view of domains that do not use a valid SSL certificate. I'm looking for a way to do the same thing on the command line. I want to perform...
  11. nilsringersma_nl

    Resolved Linux CLI notification utility, ID's missing.

    Hi all, System: CentOS7 Plesk 17.8.11 #1 Context: With this KB article we are able to disable ( or enable ) admin email notifications using the CLI. However the ID's for the notifications for WordPress APS updates and Let's Encrypt renewal are not shown in the article. I've tried inspecting...
  12. nilsringersma_nl

    Question Check if scheduled backups are enabled via CLI?

    Hello Forum! Would anyone happen to know a way to check if Plesk's scheduled backups ( as described here ) are enabled via the CLI? I can't find a way to do this in the CLI documentation. If it's possible via the CLI or maybe with a bash script it'll save me a lot of time. I can then run it...
  13. V

    Issue Error: There were issues with switching WordPress instances to HTTPS:

    Hello everybody. This morning many of my websites are falling without HTTP error, the server was no longer rendering the sites. Here is the kind of error that I could see in the "Security advisor": Error: There were issues with switching WordPress instances to HTTPS: Cannot switch from HTTP...
  14. V

    WP-Toolkit update broke permalinks

    At least with the plugins installed on my websites, after months of investigation, it's now clear after a wp-toolkit plugins/themes upgrade, lots of sites have the permalinks broken. To fix it, I have to save the permalink structure. I can either do it on each site but just found I can solve it...
  15. H

    Resolved Is it possible to make changes to Plesk Firewall from the command line?

    Hi all, I am trying to learn how to setup a server from the command line, instead of by using the Plesk control panel. So far, I can manage everything from the command line. Which will be a time-saver, except for one thing; the Plesk Firewall. Is it possible to make visible changes in there as...
  16. V

    Question How to use Plesk CLI to change 'Default settings for remote access of database users'?

    We would like to change the option "Default settings for remote access of database users" ('Tools & Settings' > 'Database Hosting Preferences') to "Allow local connections only", using Plesk CLI. The following commands do not seem to be the solution: plesk bin server_pref...
  17. DevStudio

    Resolved Angular Install

    Greetings I am working with (Angular 4 not to be mistaken with AngularJS) in PLESK (centOS) 64-bit Set up steps go nicely as per Angular Docs Once installed and set up the project can be seen on port 4200 http://localhost:4200/ In my case my.ip.address:4200 or mydomain.com:4200 This does not...
  18. H

    Question Changing PHP CLI version (with symlinks), is that good or bad?

    Hi all, I have a question, probably a bit silly, but still I want to make sure. We are using the following script from Github to change our PHP CLI version. It's a simple script which creates symlinks for the desired PHP version. By default PHP 5.4 is installed as CLI. We also install several...
  19. M

    Question Clone Wordpress with CLI or API

    Hello, I am running Plesk Onyx behind my own hosting interface, customers do not login to Plesk. I would like to be able to clone staging Wordpress website to production from my own hosting panel, I did not find this functionality in API, but I guess I would create script that would use...
  20. D

    Question CLI commands help

    Hi everyone I am looking to migrate from an extremely old PPA to a shiny new Plesk Onyx multi server set up I am creating. I am attempting to make a script to try and automate as much as possible - customer creation, subscription assignment and all the rest of it. so far, I have managed to...
Back
Top