Errors "return code 1" in daily root emails

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin

Describe your issue

Hello all,

For the past months or so, I am getting this error messages in the daily root email service (object: Cron root@mydomain test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.daily; }).
This is VERY similar to Errors in daily root emails but the return code is different (1 in my case, not 127).

Is is safe to apply the same solution (sudo rm /etc/cron.daily/node_update)?

Thanks.

Share relevant logs or error messages

/etc/cron.daily/node_update:
/etc/cron.daily/node_update: ligne 3: /opt/node_n/node_update.log: Aucun fichier ou dossier de ce type
run-parts: /etc/cron.daily/node_update exited with return code 1

Anyone inspired? :face_with_tongue:

IIRC the solution was to remove the file /etc/cron.daily/node_update, it was supposed to be autoremoved but alas.

Writeup here: Errors in daily root emails, node_update cron job (thread follow up) - #2 by Aleks

Thanks.

In my case, the return code is 1. In this post, the error code is 127. Does it matter or can I just remove the file with sudo rm /etc/cron.daily/node_update ?

The whole functionality provided by this util is defunct, you can safely remove it.

It works, I don’t get the error messages in the daily root email service anymore. Thanks @orhtej2 ! :smiley:

1 Like