• 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

Search results

  1. J

    Issue pm_View_List_Simple options

    Any reason why this table should not default to sorting by col-5 desc and page size of 25. $options = [ 'defaultSortField' => 'column-5', 'defaultSortDirection' => pm_View_List_Simple::SORT_DIR_DOWN, 'defaultItemsPerPage' => 25, ]...
  2. J

    Forwarded to devs XML Subdomain Add (with FTP)

    TITLE: XML Subdomain Add (with FTP) PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE: Plesk Onyx Version 17.8.11 on ‪CentOS Linux 7.6.1810 PROBLEM DESCRIPTION: Using the add operation as documented here Creating Subdomain Creates the subdomain with the proper document root, but Does not create...
  3. J

    Resolved REST API POST /domains

    Trying to create a SUBDOMAIN with physical hosting. Sending a POST call to the REST API creates the subdomain but it has no physical hosting attached to it. The documentation states the choices are as follows hosting_type: description: >- It specifies the hosting type of the...
  4. J

    Resolved CustomButtons order

    Is there no way to order CustomButtons that are in the Toolbar. "order" seems to have no effect. The button always appears first. And is there a way to assign an ID. it seems to always be id=[0]. 'place' => [self::PLACE_TOOLBAR], 'order' => 4, Thanks.
  5. J

    Question No documentation on how to display errors

    I see plenty of examples of $this->_status->addError() and addMessage() in various Controllers. But nowhere do I see how to display these in a view. Is there any documentation other than the sparse outlines of the methods in Extensions API Documentation - Plesk 17.5 To recap in my...
  6. J

    Resolved enable mod_substitute from command line

    My extension requires mod_substitute. I can get true or false from # httpd -M | grep -ci -o "substitute_module" Is there a way to enable it if the answer is false? Should I use yum, or some other mechanism? Thanks for any advice.
  7. J

    Question License for distributed extension

    Does Plesk require, or suggest a license to be used with Extensions developed by other parties. I notice that your sample extensions use this license Copyright 1999-2017. Parallels IP Holdings GmbH. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
  8. J

    Question get Service Plan for Logged in User

    pm_Plan requires the plan id (int) pm_Session has no such entity in it. How does one go about getting the Service Plan for the Logged in User?
  9. 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...
  10. 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...
  11. 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...
  12. 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);
  13. 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 =...
  14. 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.
  15. 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