Cron scheduled pprocessqueue stopped working after updated to 3.5.2

I updated to latest version and cron wont work anymore.

I have set up the cron using this guide:
https://www.phplist.org/manual/books/phplist-manual/page/setting-up-your-cron

I am getting error “The pageroot in your config does not match the current location Check your config file.” but the pageroot is fine. What is wrong?

You will need to show the value, and explain why you think it is correct.

Pageroot is:
$pageroot = “/list2_customer”;

Path to the list is:
/home/customer1/public_html/list2_customer

It was working perfectly until this last update.

@pcadmin the message is only a warning so the cron job should continue. I guess that there is something unusual about how your cron job is setup. phplist appears to think that it is being run through the web server and not from a command line.

You can disable the check by phplist by adding or changing this setting in your config.php file - set it to 0 instead of 1

WARN_ABOUT_PHP_SETTINGS

Like i said, it was working perfectly before update.
The cron job was made like in the guide i linked. Is that wrong?

Like i said, it was working perfectly before update.
The cron job was made like in the guide i linked. Is that wrong guide?

I just saw that parameter. I used it and now i got responding:

X-Powered-By: PHP/7.3.17
Set-Cookie: PHPSESSID=7b5486d66ce6252577c717ee3d8564c7; path=/

home

Main page

On server log there is one error row:
[Sun Apr 26 18:59:44.287127 2020] [:error] [pid 3892973] [] client denied by server configuration: /home/customer1/public_html/list2_customer/admin/, referer: /list2_customer/admin/?page=send&id=161&tk=9223acecb4d7a5da6c9e23a7fbc90d9a&tab=Scheduling

Does this error tells something where to fix problem?

This message is a warning, not a fatal error. If the cron job is failing then something else is going wrong.
Please use the code toolbar button </> for the output of the cron job to make it readable.
The error in the server log doesn’t appear to be related to the cron job.

Also, show the cron command and explain from which version of phplist you upgraded.

Cron
/home/customer1/bin/phplist -pprocessqueue

phplist -file
#/usr/bin/php /home/customer1/public_html/list2_customer/admin/index.php -c /home/customer1/public_html/list2_customer/config/config.php $*

This worked years but not after update. I don’t remember what the old versio was but current is newest 3.5.2.

How about this remote processing, is this new feature? Can it be run from cron?

Suddenly it get working again. I only removed that cron job and recreated it.

@pcadmin Ok, good that it is working again.