SuiteCRM appliance cron error
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"
Sorry for slow response @N-Storm. Great work! Thanks for reporting the issue and bonus points for providing the workaround...
https://github.com/turnkeylinux-apps/suitecrm/commit/518a61533a17430c02b31406a0ad56d4ffc5f5cc This issue was fixed 2 years ago