• 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

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