2
A domain suddenly no longer works - Error: Object reference not set to an instance of an object
Question asked by Matthias Maass - 5/25/2021 at 2:54 AM
Answered
Hi

A domain suddenly no longer works on our server. Editing of the domain is no longer possible. Error message: Object reference not set to an instance of an object
I tried to reload the domain and also to dettach and attach but with the same error. I can't find a solution how to fix the problem. Does anyone know the problem and has a solution how to fix it?

Regards
Matthias Maass

3 Replies

Reply to Thread
0
Sébastien Riccio Replied
Hello Matthias,

Which version of SmarterMail are you running. If it is a recent build you might want to check in this particular domain folder if settings.json exists and if the content looks like a valid json file.

It could be corrupted if the server was shutdown abruptly or if the service crashed while it was writing to the file.

If the file doesn't seem right, you should be able to recover the settings.json file from the Archive subfolder of the domain, which contains some backups of the domain settings file.

I hope this will help.

Kind regards
Sébastien Riccio
System & Network Admin

2
Matthias Maass Replied
Marked As Answer
Hello Sebastien

Thank you for your help. I'm using the latest version of Smartermail.
Replacing the setting.json file from Archive does not fix the problem. I checked the other json-files and the accounts.json file was corrupted. I restored the file from the Archive and now the problem are fixed.

Kind regards
Matthias Maass
0
Sébastien Riccio Replied
Oh okay, cool you were able to recover the domain. Thanks you for letting me know.
Sébastien Riccio
System & Network Admin

Reply to Thread