-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem with the automatic collector #16694
Comments
Cron task: */1 * * * * php /var/www/html/glpi/front/cron.php > /var/log/cron.php.log cron log: |
Please test on latest stable release. |
Could you try to enable the mbstring PHP extension on PHP CLI context ? Maybe the error is related to this. |
@cedric-anne I've uncommented the "extension=mbstring" line Always in error |
I've enabled mbstring in /etc/php/8.2/Apache2/php.ini and /etc/php/8.2/cli/php.ini |
Do you still have the |
By the way, on CLI context, restarting Apache has no effect. Please ensure that |
sv-glpi _log $ php -m [Zend Modules] |
It seems that the mbstring extension is not loading. You should fix this issue first (see https://askubuntu.com/a/776366). |
i try but the extension is already installed: apt-get install php8.2-mbstring |
phpenmod mbstring |
The installation log displays an error, it means that the Also, in the initial description of your issue, you mentioned |
My version of PHP: php -v |
Please run |
Same error sv-glpi / $ apt-get update && apt-get install php8.2-mbstring |
apt-key adv --fetch-keys https://packages.sury.org/php/apt.gpg sv-glpi / $ apt-get install -y gnupg2 gnupg gnupg1 apt-key adv --fetch-keys https://packages.sury.org/php/apt.gpg apt-get update |
You have system issues that are out of the scope of GLPI community support. Please make sure mbstrig ext is properly installed, and then try if that solves your GLPI issue. |
I solved the repository problem with the apt-get update command. Here is the result of the command: Creating config file /etc/php/8.2/mods-available/mbstring.ini with new version |
@cedric-anne Thanks for your feedback. The problem was on mbstring |
The extension will be marked as mandatory in GLPI 11.0 to prevent this kind of issues, see #16696. |
Code of Conduct
Is there an existing issue for this?
Version
10.0.10
Bug description
Hello,
Since GLPI has been upgraded to version 10.0.10, I am experiencing a problem with the automatic collector. It doesn't retrieve emails and gets errors, whereas if I manually click on "retrieve emails now", it works and the user follow-ups are fed into the tickets.
What's more, e-mail notifications work correctly.
The "mailgate" action is configured in CLI with a cron that runs every minute.
My collector configuration:
Name
helpdesk@zolux.com
Connection errors 45
Active
Yes
Server
outlook.office365.com
Connection options
Oauth Office 365
SSL
NO-TLS
DEBUG
Incoming message folder (optional, often INBOX)
INBOX
Port (optional)
Connection string {outlook.office365.com/imap-oauth-1/ssl/notls/debug}INBOX
Identifier
helpdesk@zolux.com
Accepted e-mail archive folder (optional)
Archive folder for rejected e-mails (optional)
Maximum size of files imported by the collector
10 MiB
Use e-mail date instead of collection date
Yes
Use "Reply To" as requester (if available)
No
Add CC users as observers
No
Collect only unread emails
Yes
Comments
I've tried changing the "no-TLS" to "TLS" but it doesn't work because I get a "cannot enable TLS" error message. However, I don't think that's where it's coming from, because in manual mode it works.
I've looked at a lot of forums, and there are a lot of people in this situation, but no solutions have been found.
Do you have any idea where the problem might be coming from?
Relevant log output
No response
Page URL
No response
Steps To reproduce
No response
Your GLPI setup information
Informations sur le système, l'installation et la configuration
Server
GLPI constants
Libraries
LDAP directories
SQL replicas
Notifications
Plugins list
Anything else?
No response
The text was updated successfully, but these errors were encountered: