tracker icon indicating copy to clipboard operation
tracker copied to clipboard

SuiteCRM appliance cron error

Open N-Storm opened this issue 4 years ago • 1 comments

Version: turnkey-suitecrm-16.1-buster-amd64

Issue: Every hour you will be getting following error:

/etc/cron.hourly/suitecrm:
This account is currently not available.
run-parts: /etc/cron.hourly/suitecrm exited with return code 1

Cause: /etc/cron.hourly/suitecrm script launches via su www-data which has /sbin/nologin as default shell set in /etc/passwd.

Solution: Fix /etc/cron.hourly/suitecrm script by adding shell via -s keyword: su www-data -s /bin/bash -c "cd /var/www/suitecrm && php -f cron.php > /dev/null 2>&1"

N-Storm avatar Dec 22 '21 15:12 N-Storm

Sorry for slow response @N-Storm. Great work! Thanks for reporting the issue and bonus points for providing the workaround...

JedMeister avatar Jan 07 '22 05:01 JedMeister

https://github.com/turnkeylinux-apps/suitecrm/commit/518a61533a17430c02b31406a0ad56d4ffc5f5cc This issue was fixed 2 years ago

OnGle avatar Mar 31 '25 01:03 OnGle