I set up a #hubzilla
server for the first time. Setting it up worked so far, hubzilla is running.
I also created the #cronjob
as stated in the installation instructions, with
*/10 * * * * cd /var/www/html; /usr/bin/php Zotlabs/Daemon/Master.php Cron > /dev/null 2>&1
But now cron executed the job for the first time, and I got following error
Cron <root@Debian-95-stretch-64-minimal> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'
error: error running shared postrotate script for '/var/log/mysql/mysql.log /var/log/mysql/mysql-slow.log /var/log/mysql/mariadb-slow.log /var/log/mysql/error.log '
run-parts: /etc/cron.daily/logrotate exited with return code 1
Do I understand it right that while performing the cronjob, the #password
for the user root is not used when accessing the database in #mysql
)? How can I define the cronjob that it works?
!Hubzilla Support Forum