Closed Alt791350 closed 1 year ago
Update: Issue is with any email server details I fill in.
The class should be shipped with Nextcloud.
I'll look into that and keep you updated, thanks!
Upgrading to the new 25.0.2 seems to have fixed it. I did move my server this week so maybe something got lost or I never installed correctly. Working now thanks for your tip!
This is only a problem with Nextcloud 24.0.7 and older. 24.0.8 comes with the class.
https://github.com/nextcloud/server/tree/v24.0.8 -> https://github.com/nextcloud/3rdparty/tree/ffeb7436c50cea31bd589047d02242e8dfab659b -> https://github.com/nextcloud/3rdparty/tree/ffeb7436c50cea31bd589047d02242e8dfab659b/mlocati/ip-lib the lib is there
This is why our tests didn't catch the error. we test against the latest releases.
https://github.com/nextcloud/3rdparty/pull/1221 is what added the lib to server's 3rdparty repo.
Steps to reproduce
There was an error while setting up your account
Class "IPLib\Factory" not found in file '/var/www/html/apps/mail/lib/Net/IpAddressClassifier.php' line 53
Expected behavior
After filling in the form to setup an mail account on Nextcloud it should connect to the mail server to try and authenticate.
Actual behavior
It throws an error that points towards a missing class/library.
Mail app version
1.15.0
Mailserver or service
Mailfence
Operating system
Ubuntu 20, Docker Image: nextcloud:24.0.2-apache
PHP engine version
PHP 8.0
Web server
Apache (supported)
Database
MySQL
Additional info
I've checked the mail app path for signs of
IPLib
but it doesn't seems to be installed.