Error: database corrupted, cannot update

We are in process of upgrading to ubuntu 20.04.1 lts

We get this error on all our nameservers running NSD version 4.1.26

[2020-08-20 08:35:14.831] nsd[32502]: error: database corrupted, cannot update

[2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl written received XFR packet from 2a02:968:1:2:212:72:224:48 with serial 2020082005 to disk

[2020-08-20 08:35:14.834] nsd[32486]: info: xfrd: zone xxxx.nl committed “received update to serial 2020082005 at 2020-08-20T08:35:14 from 2a02:968:1:2:212:72:224:48 TSIG verified with key sec_key”

[2020-08-20 08:35:14.834] nsd[32589]: error: handle_reload_cmd: reload closed cmd channel

[2020-08-20 08:35:14.834] nsd[32589]: warning: Reload process 1 failed, continuing with old database

Any idea’s

I removed the db file so its recreated but that didn’t solve it

With kind regards

We are in process of upgrading to ubuntu 20.04.1 lts

From which version?

B.t.w. current recommendation is to run nsd without database.
So with:

server:
  database: ""

-- Willem

I had issues when upgrading to 4.1.26, the SOA serial number I used was
too long. I now insert "$(date +%s)" (number of seconds after
1-1-1970) and now it works. I looked it up in the changelogs and
somewhere between 4.1.13 and 4.1.26 was this "fix".

R.