Cron error, YunoHost dydns update >> /dev/null

Hello all,

After the installation of YunoHost and roundcube, I see a lot of errors in my mailbox.
I didn’t found anything about this problem on the web.

Please see to above screenshots :

Is somebody having the same issue ?

Thanks

Hello,

Maybe it is a bit late, but I had the same kind of errors mails. It is due to a cron rule defined in /etc/cron.d/yunohost-dyndns:
*/2 * * * * root yunohost dyndns update >> /dev/null
It means that each 2 minutes, your server tries to execute the yunohost dyndns update command and the standard output of the command is deleted (thanks to >> /dev/null). Nothing is mentioned concerning the error output, so each time the command fails, you receive an mail. To avoid this, you have several solutions by editing the crontab rule like this:
*/2 * * * * root yunohost dyndns update >> /dev/null 2>&1
meaning that error output is sent to standard output and both are deleted, or like this:
*/2 * * * * root yunohost dyndns update >> /dev/null 2> /home/user/dyndnsUpdate.log
so that the last error output from this command is printed in a file according to the path you prefer, in case you want to check it later.

Hope it helps.

Thank you @FabienB, I will check

:slight_smile: