You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2023-10-30 16:05:37

lones
Member
From: Istanbul
Registered: 2023-05-08
Posts: 20

QueuedNotifications Stuck

Our GLPI was sending emails for 6 months until 2 days ago. We didn't change any configuration or didn't do any update but suddenly our queuednotifications started to be stuck.
and I saw a cron alert. However when I checked from logs cron seems working fine
you may find related images below.

fwjkdfp.png
b672xvb.png








Here I decided to check php-errors.log and it showed me the error
pyxfppv.png











and I decided to check line 283 which it was pointing for DivisionByZero Error and it brought me below one
658mdew.jpeg









it seems that $initial_width variable takes 0 thats why it gives division by zero error and queuednotifications are stuck
btw $initial_width in the php file defined as below:

$initial_width = $img_infos[0];

How can I solve this issue ? Anybody faced with it before?
GLPI Version : 10.0.6

Last edited by lones (2023-10-30 18:15:14)


As long as you don't stop, it doesn't matter how slow you go

Offline

#2 2023-10-30 18:38:47

cedric-anne
Administrator
Registered: 2018-07-02
Posts: 85

Re: QueuedNotifications Stuck

Hi,

This issues has been fixed in most recent versions. You should upgrade to GLPI 10.0.10.

Offline

#3 2023-10-30 20:09:46

lones
Member
From: Istanbul
Registered: 2023-05-08
Posts: 20

Re: QueuedNotifications Stuck

cedric-anne wrote:

Hi,

This issues has been fixed in most recent versions. You should upgrade to GLPI 10.0.10.

Long live mate !
It solved the issue but after update I see a warning and it tells me to check update documantation however I couldn't find info about it, can you give me a suggestion about it too ?
Thank you in advance

I have done "chown -R www-data glpi"
after update can it be caused because of this ?
also my /etc/apache2/sites-available/000-default.conf as belows

<VirtualHost *:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html
        ServerName xx.xx.com
        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/STAR_xxx_com.crt
        SSLCertificateKeyFile /etc/ssl/private/xxx_com.key
        SSLCertificateChainFile /etc/ssl/certs/STAR_xxx_com.ca-bundle
        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>


bu0ht7i.png

Last edited by lones (2023-10-30 20:29:54)


As long as you don't stop, it doesn't matter how slow you go

Offline

#4 2023-10-31 15:26:13

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: QueuedNotifications Stuck

This warning refers to your site root not being the "public" folder. Currently, this is optional but it will be required in GLPI 10.1.
Changing the root will enable GLPI to only allow access to files that are supposed to be sent over the web.

https://glpi-install.readthedocs.io/en/ … figuration


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB