# The letters cease to be sent(MySql?)

**URL:** <https://kanboard.discourse.group/t/the-letters-cease-to-be-sent-mysql/227>\
**Category:** Open Discussions\
**Created:** [February 27, 2019, 9:47am UTC](https://kanboard.discourse.group/t/the-letters-cease-to-be-sent-mysql/227 "2019-02-27T09:47:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0anion0](https://avatars.discourse-cdn.com/v4/letter/0/ea666f/32.png) [@0anion0](https://kanboard.discourse.group/u/0anion0)\
**Post date:** [February 27, 2019, 9:47am UTC](https://kanboard.discourse.group/t/the-letters-cease-to-be-sent-mysql/227/1 "2019-02-27T09:47:56Z")

</div>

I am using the Docker version of Kanboard on Synology NAS, use worker and beanstalk.  
At night, after starting the task **“crond[15]: USER nginx pid 213 cmd cd /var/www/app && ./cli cronjob \>/dev/null 2\>&1”**, the letters cease to be sent.

Errors in the logs:

> 2019-02-27T03:00:00.708295228Z crond[15]: USER nginx pid 213 cmd cd /var/www/app && ./cli cronjob \>/dev/null 2\>&1  
> 2019-02-27T03:00:00.708688663Z crond[15]: USER root pid 214 cmd run-parts /etc/periodic/15min  
> 2019-02-27T03:00:00.708743260Z crond[15]: USER root pid 215 cmd run-parts /etc/periodic/hourly  
> 2019-02-27T03:00:04.962695473Z [27-Feb-2019 08:00:04 Asia/Yekaterinburg] PHP Warning: Error while sending QUERY packet. PID=14 in /var/www/app/libs/picodb/lib/PicoDb/StatementHandler.php on line 240  
> 2019-02-27T03:00:04.963094636Z [27-Feb-2019 08:00:04 Asia/Yekaterinburg] [error] Kanboard\Core\Queue\JobHandler::executeJob: Error during job execution: SQL Error: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away  
> 2019-02-27T03:00:04.963196686Z [27-Feb-2019 08:00:04 Asia/Yekaterinburg] [error] Kanboard\Core\Queue\JobHandler::executeJob =\> {“class”:“Kanboard\Job\EmailJob”,“params”:[“hiddenmail”,“hiddentext”]}  
> 2019-02-27T03:00:05.039934215Z [27-Feb-2019 08:00:05 Asia/Yekaterinburg] [error] Kanboard\Core\Queue\JobHandler::executeJob: Error during job execution: SQL Error: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away  
> 2019-02-27T03:00:05.040056460Z [27-Feb-2019 08:00:05 Asia/Yekaterinburg] [error] Kanboard\Core\Queue\JobHandler::executeJob =\> {“class”:“Kanboard\Job\EmailJob”,“params”:[“hiddenmail”,“hiddentext”]}

After restarting the container everything is restored.  
What could be the problem?
