• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Search results

  1. P

    Question Сhange subscription expire date via REST API

    So... It turns out not to change the expiration date via REST API? Does version 18 support XML? Or maybe there are some other ways to change expiration date remotely?
  2. P

    Question Сhange subscription expire date via REST API

    Hmm..... curl -X POST "https://****.****.***:8443/api/v2/cli/subscription_settings/call" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"params\": [ \"--update\", \"****.****.***\", \"-expiration\", \"2021-11-11\" ] }" { "code": 0, "message": "Command...
  3. P

    Question Сhange subscription expire date via REST API

    Igor, I don’t understand, but how to call this utility through Rest API? Explain please.
  4. P

    Question Сhange subscription expire date via REST API

    Yes. Yes. Found and tried to change the creation date - successfully. curl -X POST "https://***.****.***:8443/api/v2/cli/domain/call" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"params\": [ \"--update\", \"****.****.***\", \"-creation-date\", \"2021-10-10\" ] }" {...
  5. P

    Question Сhange subscription expire date via REST API

    Hi! How to change subscription expire date via REST API? Via XML - found it, via REST - no. I searched in CLI gate entry points, but there is nothing.
  6. P

    Question Plesk RESTful API. Database <---> Site

    Thanks for the answer. But this is a little different. The ---register- command assign the database to a subscription, not a site. { "code": 2, "stdout": "", "stderr": "Database with such name is already registered." } The ---assign-to-subscription- command moves the database between...
  7. P

    Question Plesk RESTful API. Database <---> Site

    Hi! Using the REST API, I created a customer, created a site. ### GET https://ххх.хххххх.ххх:8443/api/v2/domains X-API-Key: *******-*****-****-****-********* //Authorization: Content-Type: application/json Accept: application/json {} --- ... { "id": 23, "created": "2021-03-29"...
  8. P

    Question Uncaught ImagickException: unable to open file /tmp/magick-19187PLk9nfNAo48O

    UPD The file 3100.jpg is in webp format despite the jpg extension. Apparently, need to tweak Imagick itself or install an additional library?
  9. P

    Question Uncaught ImagickException: unable to open file /tmp/magick-19187PLk9nfNAo48O

    That is, there is a code (43) $this->im = new Imagick; (44) $this->im->readImage($file); The variable $ file is set dumped from /var/www/vhosts/*******/httpdocs/wa-system/image/waImageImagick.class.php line #40...
  10. P

    Question Uncaught ImagickException: unable to open file /tmp/magick-19187PLk9nfNAo48O

    Hi! Not certainly in that way. The file has been uploaded to the server for a long time and is in the subscription. I tried to set the value {WEBSPACEROOT} {/} {:} {TMP} {/}: / tmp in the php settings for this subscription in the open_basedir field, but the problem was not solved.
  11. P

    Question Uncaught ImagickException: unable to open file /tmp/magick-19187PLk9nfNAo48O

    Hey! When trying to process an image already uploaded to the server using Imagick, I get the error Uncaught ImagickException: unable to open file /tmp/magick-19187PLk9nfNAo48O. Tell me, what could be causing it? thank
Back
Top