• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Search results

  1. J

    Resolved file_put_contents() permission denied in extension

    In my extension I'm trying to open and write to a file on the server. I have the absolute path to the file ($filepath) and when I run $contents = @file_get_contents($filepath) ?: ''; $s = 'some string'; $file_put_contents($contents, $s); I get the following errors PHP Warning...
  2. J

    Resolved Tokens created by plesk utility 401 with RestAPI

    I've been informed by support that keys produced using the secret_key utility are not allowed in Rest API calls. They are only for XML_RPC calls. Documentation is supposedly being corrected to say that, currently it says you can.
  3. J

    Resolved Tokens created by plesk utility 401 with RestAPI

    haha, I just discovered that . . . longdash instead of a dash, came back to report it and saw your post. Thanks Brujo. The initial post is still an issue.
  4. J

    Resolved Tokens created by plesk utility 401 with RestAPI

    additionally, this does not work as documented [root@li505 ~]# plesk bin secret_key --delete –key fd24d491-1c04-23b7-b64d-8102880e335a Unknown option '–key': /usr/local/psa/bin/secret_key --delete –key fd24d491-1c04-23b7-b64d-8102880e335a Required option -key is not set
  5. J

    Resolved Tokens created by plesk utility 401 with RestAPI

    I'm having a problem with RestAPI calls made using tokens created by the plesk utility. If I create a token with plesk bin secret_key -c -ip-address nn.175.208.108 This token will get a 401 in Postman when used in a RestAPI call. A Token created in Postman using a call to...
  6. J

    Resolved SSH root public key stopped working

    Solved: Port was blocked. Changing /etc/ssh/sshd_config back to Port 22 let me in via the key. Re-open the port in the Firewall. iptables -I INPUT -p tcp --dport 22022 -m state --state NEW -j ACCEPT Change sshd_config back to Port 22022, and it worked.
  7. J

    Resolved SSH root public key stopped working

    Since I last logged in to my Plesk Onyx 17.8 via ssh my key has stopped working (probably a month or more ago, this is a dev server). This is a key from my local computer. I want to SSH to my Plesk server as root. The public key is uploaded to the plesk server in ~/.ssh/authorized_keys...
  8. J

    Question Get server prefs command line

    Looking for the equivalent command line to replace this method $request = <<< EOT <server> <get> <prefs/> </get> </server> EOT; $response = pm_ApiRpc::getService()->call($request);
  9. J

    Question Get Service plans via command line

    Can you give me the equivalent command line to the following XMLRPC method? $request = <<< EOT <service-plan> <get> <filter/> </get> </service-plan> EOT; $response =...
  10. J

    Question Call to plesk command line utility

    Can you tell me how to accomplish this? I cannot call the command line utility 'plesk version' using the pm_ApiCli wrapper. $version = pm_ApiCli::call('version'); Error: Command version not found.
  11. J

    Issue XML-Api deprecated features since 17.8

    It only gets worse. The above put while it does update ftp_login and ftp_password also unfortunately modifies the login name to the account at the same time. Also it doesn't seem possible to update ftp_webroot with the API. I got a response from Plesk, which said "There are no substitutions...
  12. J

    Issue XML-Api deprecated features since 17.8

    I've used the API to PUT /domains/{ID} $cargo = [ "hosting_type" => "virtual", 'hosting_settings' => [ 'ftp_login' => $ftpName, 'ftp_password' => $ftpPass, ], ]; But it seems to be more...
  13. J

    Issue XML-RPC Items Removed, WTH

    For some reason I can't respond to agree with this comment. Issue - XML-Api deprecated features since 17.8 Why would you remove functions that break modules in the field??
Back
Top