Hardware: VPS bought online YunoHost version: 11.0.9.3 (stable) I have access to my server : Through SSH | through the webadmin Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no (not that I remember)
Description of my issue
My update to Yunohost 11 went smoothly, but ever since it has been sending an email to me every hour with this text
/sbin/run-parts: line 5: 127011 127011: syntax error in expression (error token is "127011")
Yeah the thread on superuser/stackoverflow also suggests that this script is not default debian …
After testing this on my machine, it seems the issue is not really a syntax error (?), but is related to affecting a value to RANDOM which is a special variable in bash and is not supposed to be overwritten …
Edit: one simple fix could maybe to replace RANDOM by random, line 5 and line 7, ie a different variable name
Is this script most likely to be from an app I have installed? or if I installed YH over a Debian image my VPS host supplied could it have been put in then?
It could be your VPS provider yeah, they may have made this tweak to prevent all cron jobs to be triggered exactly at the same time on all their VPS fleet to prevent huge CPU/RAM spikes
renaming the RANDOM variable did not seem to resolve it. I just received another of these emails. I’ve reached out to my VPS. At guess I can try removing the contents of the file and see if that resolves it.