!Friendica Admins I've switched to PHP 8.2 for the cronjob after updating my instance to 2023.04-1. Since then I receive e-mails from cron with the content "Terminated".
@Daniel Siepmann I'd probably do that. Or maybe there is a way to just start it and then abandon it? Did you consider using the daemon instead, you could try it by manually starting it (disable the cron job first) and see how that works.
You need something like this in the config: 'pidfile' => '/tmp/friendica_daemon.pid',
@Daniel Siepmann also check the timeout setting for cli is long and maybe also check that in the Friendica config you also use the same path for php as in the cron job. 'php_path' => '/usr/bin/php8.2',
I think it does not matter to have no such parameter, but in case you use php_path it should probably be the same value for this as the php 8.2 path.
@utzer [Friendica] I didn't receive any email anymore since adjusting the configuration. So it seems like that missconfiguration caused the trouble. Thank you.
@Daniel Siepmann In the past, at least on my server, #APC has caused some instability issues, so can you please try to temporary remove the --define apc.enable_cli=1 part from it?
Did you consider using the daemon instead, you could try it by manually starting it (disable the cron job first) and see how that works.
You need something like this in the config:
'pidfile' => '/tmp/friendica_daemon.pid',
@Michael Vogel
php_path
option, as suggested in another answer here.Thanks for your suggestion.