Code: Select all
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'partition par WHERE par.partition_free_space < '1000' AND sys.system_uuid = par.' at line 1
Code: Select all
Nov 11 14:20:58 WARN read_smb_spool: PHP Warning [2]: Error while sending QUERY packet. PID=1391 in /usr/bin/greyhole on line 590; BT: greyhole[L3353] run() => greyhole[L3324] parse_samba_spool() => greyhole[L4688] getFirstValue(SELECT COUNT(*) FROM tasks) => greyhole[L617] getFirst(SELECT COUNT(*) FROM tasks,array ()) => greyhole[L609] execute(SELECT COUNT(*) FROM tasks,array ()) => greyhole[L590] execute()
Nov 11 14:20:58 ERROR read_smb_spool: PHP Fatal Error: Uncaught exception 'Exception' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /usr/bin/greyhole:599
Stack trace:
#0 /usr/bin/greyhole(609): DB::execute('SELECT COUNT(*)...', 'array ()')
#1 /usr/bin/greyhole(617): DB::getFirst('SELECT COUNT(*)...', 'array ()')
#2 /usr/bin/greyhole(4688): DB::getFirstValue('SELECT COUNT(*)...')
#3 /usr/bin/greyhole(3324): parse_samba_spool()
#4 /usr/bin/greyhole(3353): DaemonRunner->run()
#5 {main}
thrown; BT: greyhole[L599]
Many thanks.