• 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

command line

  1. K

    Question How to bypass / set Plesk Extensions initial config via command line?

    On a fresh installation, when I go to the GUI and the Extensions tab, I'm asked to provide information on what to be shown: private/business extensions. Since initial server setup is done via ansible: How can I set this value from the command line? I couldn't find anything related to the plesk...
  2. K

    Resolved Unable to set admin user's locale via command line

    During setup I wanted to change the admin user's locale. $ plesk bin locales --set-default en-US $ plesk bin user --update admin -locale en-US $ plesk bin user --info admin User Admin: Contact name: admin ... Locale: en-US Role: Admin SUCCESS: Information is successfully retrieved. $ plesk bin...
  3. K

    Question How to trigger re-sync migration from command line?

    I know about the panel-migrator cli tool and I'm already using several steps with a created config to start a full migration (in preparation for a failover to a second server). Docs here: Migrating via the Command Line The question is: How do I start a "re-sync" in order to get the most recent...
  4. PierreLannoy

    Resolved The SVG file … cannot be uploaded: Suspicious node 'svg' (Line: -1)

    Hello all! When I create a new server (I do it via scripts), I'm setting branding options too. From some times now, my script triggers an error on the following command: plesk bin branding --custom-logo -file /tmp/header.svg After investigation, I found the sanitization that is made by Plesk in...
  5. J

    Issue plesk sbin statistics fails for database on a non-standard database server

    After running plesk sbin statistics --calculate-one --domain-name=example.com I get WARN: WARNING during statistics_collector execution: statistics_collector[17429]: Failed to process database 'example' from domain 'example.com': MySQL error 1049: Unknown database 'example' executing query...
  6. S

    Resolved java command works from SSh Terminal but not from Plesk task scheduler

    Hello all, I can run succesfully a command line from SSH Terminal in the my Plesk Subscription. But the same command, in Plesk Scheduler (in the same subscription) doesn't work. Why? Please keep in mind that the command will require one or two hours to complete. Here is the command...
  7. 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...
  8. P

    Question Command line for adding firewall rule for icmp

    I need to add a large number of IPs to be allowed to ping the web server. My Plesk version is Obsidian 18.0.36. The Plesk admin GUI does provide this, but it is impossible to type in all of the IPs one by one and add. So I'm looking for a command line alternative. I can add other firewall...
  9. H

    Question Commandline utilities

    Hello, Is there a commandline utility available to find the reseller of a domain (Plesk Linux)?
  10. C

    Question How do I change the '$' prefix to a '#', when using SSH?

    I would like to run the following command via SSH: # plesk bin extension --disable google-authenticator I am using PuTTY, where the above command is outputting the following: plesk: command not found I am assuming this is because the command line has a '$' prefix, which I cannot...
  11. R

    Question PLESK BIN Command Line not Working through PHP

    Hello, Short story : I need PLESK BIN to be executed from a PHP file. Long story I made a SH script to add Plesk subscription (newplesk.sh) I need this script to be started from a PHP file. It's working through SSH when typing php testplesk.php It's not working when I enter the direct path...
  12. E

    Resolved Enable 32-bit applications by Command Line ( Windows )

    Hi Dear i always use CMD ( Command Line ) for Setup or change Customer and Subscription and Domain in Plesk but i think Plesk Obsidian is poor in Command Line , i have several problem in CommandLine Obsidian , for Example : i can not find command for ( Enable 32-bit applications ) in command...
  13. E

    Resolved at Unable to execute console command: '--add-mailname'(vconsoleapp::start line 95)

    Hi Dear After Upgrade Plesk Onyx to Obsidian i can not Create Email by Command Line ( Windows Server 2016 and MailEnable Professional Ver 6.88 ) , i Can Create email by Plesk panel but can not in CMD and Show This Error : C:\Program Files (x86)\Plesk\bin> plesk bin mail.exe --create...
  14. 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...
  15. AndyM

    Resolved How to export (or display through command line) mailbox forwarding addresses?

    We have many email addresses on a certain domain and we need to generate a list of all forwarding recipient addresses for each mail address in Plesk. Can I run a command similar to this one which shows the password? /usr/local/psa/admin/sbin/mail_auth_view Or is there a way to generate a...
  16. iGraphics

    Question How to show How many root in my server

    Hello today I made this command to show how many root user in my server getent passwd | cut -d : -f 1 | xargs groups and I find : root : root bin : bin daemon : daemon adm : adm lp : lp sync : root shutdown : root halt : root mail : mail operator : root games : users ftp : ftp I'm ask about...
  17. iGraphics

    Resolved How to Automatically Shut Down Servers at Defined Times?

    Hello Everyone, How to Automatically Shut Down Servers at Defined Times? I want to Shut Down my server on 25/Dec/2017 at 03:00 PM Can I make that by Scheduled Tasks in Plesk control panel ? or By SSH ? Please if by SSH give me the command line for shutting down on 25/Dec/2017 at 03:00 PM...
  18. 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...
  19. Fabs87

    Resolved Set default php-version for command line

    Hi, I need to set the default php-version of a subscription to php7.1. Of course I've done this via the plesk onyx web interface. But now I need to run a few php commands via ssh access. Unfortunately the php-version there is 5.5.9 (connected via ssh with my webhosting-user. SSH-access-setting...
  20. J

    Plesk command line register existing user to domain

    I have register an existing databases to a new domain on plesk 17. In plesk database domain i have the message : No database user It's normal because i have creating the user with sql script. To register the existing user, i use this command : plesk bin database --register-dbuser dbuser...
Back
Top