• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

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