-
-
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
Missing image in notification stop all notification to be send. #13516
Comments
hi,
there no files being deleted. That was a syns issue between two GLPI node. To keep web acces fast to enduser, we made a load balance over NGINX that route user to one node and other task to the second node(Fusion inventory import/cron/mail collector/AD import/send notification). We have a RSYNC process to merge file différencial every 2 minute. For some reaseon the RSYNC cron was stuck.
Thank for the fix
…________________________________
De : Curtis Conard ***@***.***>
Envoyé : 3 décembre 2022 04:42
À : glpi-project/glpi ***@***.***>
Cc : mat44444 ***@***.***>; Author ***@***.***>
Objet : Re: [glpi-project/glpi] Missing image in notification stop all notification to be send. (Issue #13516)
Hello,
Do you know how/why the files are being deleted from the file system rather than deleting the document in GLPI?
—
Reply to this email directly, view it on GitHub<#13516 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB7H7K2ETICLP5SN6TMAMPLWLMIXLANCNFSM6AAAAAASSGR7Q4>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I have this same problem, but I don´t have balancing or anything like that, just the default GLPI only on one server. `[2022-12-13 15:25:03] glpiphplog.WARNING: *** PHP Warning (2): getimagesize(/var/www/html/glpi/files/PNG/76/2afb157f1dd772b46a807551748268bb8c03f3.PNG): Failed to open stream: No such file or directory in /var/www/html/glpi/src/NotificationEventMailing.php at line 283 [2022-12-13 15:25:03] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type bool in /var/www/html/glpi/src/NotificationEventMailing.php at line 284 [2022-12-13 15:25:03] glpiphplog.WARNING: *** PHP Warning (2): Trying to access array offset on value of type bool in /var/www/html/glpi/src/NotificationEventMailing.php at line 285 [2022-12-13 15:25:03] glpiphplog.CRITICAL: *** Uncaught Exception DivisionByZeroError: Division by zero in /var/www/html/glpi/src/NotificationEventMailing.php at line 289 |
I solved the problem by creating the PNG file in place and set the same permission as the other files inside the folder. |
Fixed by #13517. |
Code of Conduct
Is there an existing issue for this?
Version
10.0.5
Bug description
Notification stop beeing sent by mail. looking a the log, a missing file appear. making a false file of the same name, let's the process continue and solve the issue.
Maybe a good idea to handle the kind of exception
Relevant log output
Page URL
No response
Steps To reproduce
After that all other notification arent handle and are stuck in the process
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: