Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.43k stars 2.78k forks source link

Migrate the emailcollector class towards using webklex/php-imap library #24765

Open HLFH opened 1 year ago

HLFH commented 1 year ago

Critical bug

Dolibarr 17.0.0 is not usable because it requires php-imap that has been dropped by most of the distributions as php-imap was relying on the unmaintained uw-imap.

Dolibarr requires the migration of the emailcollector class towards using the webklex/php-imap library.

Environment Version

17.0.0

Environment OS

Arch Linux

Environment Web server

nginx

Environment PHP

php-legacy

Environment Database

mariadb

Environment URL(s)

No response

Expected and actual behavior

No response

Steps to reproduce the behavior

No response

Attached files

No response

HLFH commented 1 year ago

At least 4 files to update:

I will gradually do changes on these files: https://github.com/HLFH/dolibarr on the imap-fix branch. I packaged dolibarr-git that integrates these changes: https://aur.archlinux.org/packages/dolibarr-git. And I packaged dolibarr 17.0.1 that does not have these changes: https://aur.archlinux.org/packages/dolibarr

eldy commented 10 months ago

Note: Currently you have a warning at install, but you can install despite of this. The option MAIN_IMAP_USE_PHPIMAP will be forced to true when Dolibarr will support php8.4

q2dg commented 6 months ago

Well...I've tried to run rpm -Uvh dolibarr-19.0.1-0.4.noarch.rpm on a Fedora 39 system and I can't install the package because:

It complains "php-imap" is required (but it can't be installed due to reasons explained in above posts) It complains "mysql-server" is required (but it can't be installed due to this package doesn´t exist in Fedora, its alternative -which is what I've installed- is MariaDB)

So, please, update the rpm package in order to get rid of these faulty errors. If not, Dolibarr can't be installed on Fedora systems! Thanks!

PD: When trying to install rpm package with dnf, I get exactly the same error mentioned in https://github.com/Dolibarr/dolibarr/issues/19967