• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

Resolved DigitalOcean DNS extension stopped working after failed update to the latest version

Sergio Manzi

Regular Pleskian
Server operating system version
CentOS Linux 7.9.2009
Plesk version and microupdate number
18.0.52
Hello everybody!

I'm running Plesk 18.0.52 on a DigitalOcean VPS (CentOS Linux 7.9.2009).

Today I was notified that an update was available for the DigitalOcean DNS extension (sorry, I haven't noted what version it was, but everything was last updated on April 26, when I updated Plesk to version 18.0.52) and I proceeded to perform the update.

Unhappily the update failed with the following error message:

Code:
Could not update the DigitalOcean DNS extension

The execution of post-install.php has failed with the following message:
Could not enable custom backend: [2023-04-28 06:48:26.954] 22863:644b6c3ae8b87 ERR [panel] Custom DNS backend has finished with a non-zero error code 1, stderr: [2023-04-28 06:48:26.934] 22867:644b6c3ae3edb ERR [extension/digitaloceandns] The execution of digitaloceandns.php has failed with the following message:
[2023-04-28 06:48:26.910] 22872:644b6c3add44a ERR [panel] Syntax error:
0: /usr/local/psa/admin/plib/modules/digitaloceandns/library/Helper/Json.php:38
PleskExt\Digitaloceandns\Helper\Json::decode(string '', boolean false)
1: /usr/local/psa/admin/plib/modules/digitaloceandns/scripts/digitaloceandns.php:40
ERROR: RuntimeException: Syntax error (Json.php:38)
The execution of digitaloceandns.php has failed with the following message:
[2023-04-28 06:48:26.910] 22872:644b6c3add44a ERR [panel] Syntax error:
0: /usr/local/psa/admin/plib/modules/digitaloceandns/library/Helper/Json.php:38
PleskExt\Digitaloceandns\Helper\Json::decode(string '', boolean false)
1: /usr/local/psa/admin/plib/modules/digitaloceandns/scripts/digitaloceandns.php:40
ERROR: RuntimeException: Syntax error (Json.php:38)
Unable to enable Custom DNS backend: invalid DNS backend script.

Now the extension is listed as being version 1.3.9-144, but when I try to access it I get a 500 error

TypeError
MessageCall to a member function getHeaderLine() on null
FileDns.php
Line238

What should I do? Trying to reinstall the extension, will I loose its configuration?

Please HELP!

Thanks, in advance,

Sergio
 
Back
Top