Cron job Issues since PHP 8.3 Update

Hello, I was hoping I can get a resolution on an issues I’m having on my Nextcloud test instance, since upgrading from PHP 8.1 to 8.3. I understand 8.3 would be the supported version for the future Nextcloud 31 version. I figured I upgrade it now. I was able to configured the php.ini file similar to PHP 8.1 and removed all but one of the Nextcloud errors and warnings, Cron Jobs. Cron job will not run and getting an error message with accessing the occ file for manual -u www-data commands. All of this was working fine on the 8.1 version until I upgraded. Please advise if I’m missing anything I need to do. I already removed PHP 8.1 from the server. Thank you!


from the error message there seems to be an issue with APCu php module, please double check PHP Modules & Configuration — Nextcloud latest Administration Manual latest documentation
btw search existing topics \OC\Memcache\APCu not available for local cache (issue upon initial setup) seems to be the same

Thank you, I was able to figure it out. Adding the following text below under “/etc/php/8.3/cli/php.ini” resolved it. I just added it at he end of the file. Thanks again for the response.

; APCu settings
extension=apcu.so
apc.enabled=1
apc.enable_cli=1

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.