OBAS register domain failed - 'stat_ttl': '0' is not a valid value

Created:

2016-11-16 12:44:06 UTC

Modified:

2017-04-24 12:13:37 UTC

0

Was this article helpful?


Have more questions?

Submit a request

OBAS register domain failed - 'stat_ttl': '0' is not a valid value

Applicable to:

  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

Task explanation: terminating expired subscriptions; subscription upgrade; subscription synchronization

Problem description: OBAS Automated tasks are failing with an XML error from Plesk Transport

Plesk Transport; Failed to valide XML response from Plesk node: unknown-288cb040:0: Schemas validity error : Element 'stat_ttl': '0' is not a valid value of the union type 'positive-integer-or-empty'. . Please fix the problem.

After Plesk microupdate #43 was installed, all limits for all subscriptions were set to 0 (zero) on the Plesk side. As a result all subscriptions were suspended due to limits exceed.

Cause

The issue was caused due to schema files fixed in Plesk 12 #MU22 was not synced between Plesk and OBAS server. This is an internal issue with ID #PBAS-30020 . The fix will be included in future OBAS versions.

Resolution

  1. Apply the latest microupdate to the Plesk server.
  2. Get files plesk_common.xsd and plesk_domain.xsd from Plesk server for API-RPC 1.6.5 and 1.6.6

    In Linux they are located at:

    /usr/local/psa/admin/htdocs/schemas/rpc/1.6.5.0/plesk_common.xsd
    /usr/local/psa/admin/htdocs/schemas/rpc/1.6.5.0/plesk_domain.xsd
    /usr/local/psa/admin/htdocs/schemas/rpc/1.6.6.0/plesk_common.xsd
    /usr/local/psa/admin/htdocs/schemas/rpc/1.6.6.0/plesk_domain.xsd

    In Windows those files are located at:

    %plesk_dir%\\admin\\htdocs\\schemas\\rpc\\1.6.5.0\\plesk_common.xsd
    %plesk_dir%\\admin\\htdocs\\schemas\\rpc\\1.6.5.0\\plesk_domain.xsd
    %plesk_dir%\\admin\\htdocs\\schemas\\rpc\\1.6.6.0\\plesk_common.xsd
    %plesk_dir%\\admin\\htdocs\\schemas\\rpc\\1.6.6.0\\plesk_domain.xsd

    And replace schema files on OBAS with files from the Plesk server:

    /var/opt/hspc-data/PleskRPC/1.6.6.0/plesk_common.xsd
    /var/opt/hspc-data/PleskRPC/1.6.6.0/plesk_domain.xsd

    Warning The 1.6.5.0 files listed below should not be replaced if there are both Plesk 12 and Plesk 11.5 nodes in the customer's environment.

    /var/opt/hspc-data/PleskRPC/1.6.5.0/plesk_common.xsd
    /var/opt/hspc-data/PleskRPC/1.6.5.0/plesk_domain.xsd
Have more questions? Submit a request
Please sign in to leave a comment.