Well what seems to have fixed it is this:
I don't really understand what happened here but it seems like there was some kind of compatibility issue between the PHP version the board was running on and the PHP version the cron job was using. Even that I am not convinced about because being a newbie to all things Linux I had just accepted the defaults provided by my hosting service which was version 8.2, so the original environment for both phpBB and the system cron job was for both to run on 8.2. And as this was working OK for many weeks I still think my hosting provider must have made some kind of subtle change to the environment which resulted in the problem. Can't prove that, of course, and not much interested in trying to.
I have to admit, the export PATH solution was posted in other topics on this issue and in the FAQ for the Digests extension. It was there all along but because Digests was previously working OK without the export statement I guess it didn't seem relevant. That'll teach me to not make assumptions
Thanks again to all who contributed suggestions which led me eventually to the solution. Your help is very much appreciated.
Andy
- in cPanel changed the current PHP version for my site to 7.4
- changed the cron job command to:
export PATH=/usr/bin:$PATH && cd /home/fellfixe/public_html/ftfforum && ./bin/phpbbcli.php cron:run
I don't really understand what happened here but it seems like there was some kind of compatibility issue between the PHP version the board was running on and the PHP version the cron job was using. Even that I am not convinced about because being a newbie to all things Linux I had just accepted the defaults provided by my hosting service which was version 8.2, so the original environment for both phpBB and the system cron job was for both to run on 8.2. And as this was working OK for many weeks I still think my hosting provider must have made some kind of subtle change to the environment which resulted in the problem. Can't prove that, of course, and not much interested in trying to.
I have to admit, the export PATH solution was posted in other topics on this issue and in the FAQ for the Digests extension. It was there all along but because Digests was previously working OK without the export statement I guess it didn't seem relevant. That'll teach me to not make assumptions
Thanks again to all who contributed suggestions which led me eventually to the solution. Your help is very much appreciated.
Andy
Statistics: Posted by AndySt — Wed Jan 08, 2025 5:38 pm