#1 2024-03-02 12:59:43

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13875

More than 1 notification on available Piwigo update

In [Forum, post 189405 by windracer in topic 33508] Piwigo 14.3.0 and [Forum, post 189398 by michaelh99 in topic 33508] Piwigo 14.3.0 it seems that a new version of Piwigo available has been notificied more than once (sometimes 24 times).

Of course, it's far too much. Only one should be sent.

I don't know why it happens but I have ideas. The state "Piwigo has checked a new version is available" is stored in the config table.

Code:

MariaDB [piwigo_db]> select * from config where param = 'update_notify_last_check';
+--------------------------+---------------------------+---------+
| param                    | value                     | comment |
+--------------------------+---------------------------+---------+
| update_notify_last_check | 2024-03-02T08:22:00+01:00 | NULL    |
+--------------------------+---------------------------+---------+
1 row in set (0.000 sec)

If, for any reason, this line is not updated, Piwigo will notify several times (until the line is updated). Piwigo relies on the database good work.

Offline

 

#2 2024-03-03 02:47:21

windracer
Member
St. Pete, FL
2014-12-28
501

Re: More than 1 notification on available Piwigo update

Thanks, I'll check this next time if it happens again. Right now my update_notify_last_check column is "current."

Offline

 

#3 2024-03-09 15:20:29

willem
Member
The Netherlands
2022-04-25
20

Re: More than 1 notification on available Piwigo update

Just a single notification here.

param    value    comment
update_notify_last_check    2024-03-09T13:11:53+01:00    NULL
update_notify_last_notification    a:2:{s:7:"version";s:6:"14.3.0";s:11:"notified_on"...    NULL

PHP 8.1.27 on Plesk/Litespeed shared hosting.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact