Feeds cannot be updated automatically

PLEASE READ THIS BEFORE POSTING: Read before posting / reporting bugs

Describe the problem you’re having:

…I’ve set up a scheduled task crontab, but feeds cannot be updated automatically.

This is the event log:

#0 /home/wwwroot/rss/classes/rssutils.php(873): PDOStatement->execute(Array)
#1 /home/wwwroot/rss/classes/rssutils.php(148): RSSUtils::update_rss_feed(‘79’, true, false)
#2 /home/wwwroot/rss/update.php(223): RSSUtils::update_daemon_common()
#3 {main}

E_ERROR (1) classes/rssutils.php:136
Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in /home/wwwroot/rss/classes/rssutils.php:136 Stack trace: #0 /home/wwwroot/rss/classes/rssutils.php(136): PDOStatement->execute(Array) #1 /home/wwwroot/rss/update.php(223): RSSUtils::update_daemon_common() #2 {main} thrown

If possible include steps to reproduce the problem:

tt-rss version (including git commit id):

… Tiny Tiny RSSv19.12-5448a94

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:

…centos 7, php 7.2.24, mysql 5.5

Please provide any additional information below:

this has nothing to do with tt-rss, fix your malfunctioning server.

I’ve fixed and modified mysql my.cnf file.

[mysqld]
max_allowed_packet = 32M