Received that error in the Nextcloud UI when trying to add an account in Mail. Other Nextcloud accounts have Mail accounts and are working fine, can send/receive, etc. I don’t believe anyone has added a Mail account for some time so I don’t know when this happened. This is a production server so I can’t just randomly try things. Also can’t upgrade to the latest version of NC as a couple key apps aren’t yet compatible.
Browser logs:
XHR POST https://mycloud/index.php/apps/mail/api/accounts
[HTTP/1.1 500 Internal Server Error 113ms]
…
[ERROR] mail: could not save account details
Error from nextcloud.log
“/index.php/apps/mail/api/accounts”,“message”:“Class ‘IPLib\Factory’ not found in file ‘/var/www/html/apps/mail/lib/Net/IpAddressClassifier.php’ line 52”
That makes sense, as Mail does not include that lib. I could potentially provide it if I knew where Mail was expecting to find it.