Nextcloud version 25.0.1
Operating system and version _Raspbian
Apache 2.4.54
PHP version 8.0 and 8.1
The issue I am facing:
Background jobs not working (is this linked to “No memory cache has been configured” issue ?)
When choosing Ajax, system says “Some jobs have not been executed since 15 days ago. Please consider increasing the execution frequency.”
When choosing Cron, “Last job execution ran xx hours ago. Something seems wrong.”
The output of logging every 15 mins when trying to run cron.php
[cron] Error: Error: Call to undefined function simplexml_load_file() at <<closure>>
0. /var/www/nextcloud/lib/private/App/AppManager.php line 507
OC\App\InfoParser->parse()
1. /var/www/nextcloud/lib/private/legacy/OC_App.php line 596
OC\App\AppManager->getAppInfo()
2. /var/www/nextcloud/lib/private/AppFramework/App.php line 74
OC_App::getAppInfo()
3. /var/www/nextcloud/lib/private/legacy/OC_App.php line 281
OC\AppFramework\App::buildAppNamespace()
4. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 117
OC_App::registerAutoloading()
5. /var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php line 91
OC\AppFramework\Bootstrap\Coordinator->registerApps()
6. /var/www/nextcloud/lib/base.php line 671
OC\AppFramework\Bootstrap\Coordinator->runInitialRegistration()
7. /var/www/nextcloud/lib/base.php line 1144
OC::init()
8. /var/www/nextcloud/cron.php line 43
require_once("/var/www/nextcloud/lib/base.php")
at 2022-11-09T22:30:02+00:00
My config.php file:
GNU nano 5.4 config.php
<?php
$CONFIG = array (
'instanceid' => 'xxxxxxx',
'passwordsalt' => 'xxxxxxxx',
'secret' => 'xxxxxxxx',
'trusted_domains' =>
array (
0 => '192.168.xxxxxxx',
1 => 'xxxxxxxx',
),
'datadirectory' => '/mnt/xxxxxxx/data',
'dbtype' => 'mysql',
'version' => '25.0.1.1',
'overwrite.cli.url' => 'http://192.168.xxxxxxx/nextcloud',
'dbname' => 'xxxxxxxx',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'xxxxxxxxx',
'dbpassword' => 'xxxxxxxxx',
'installed' => true,
'default_phone_region' => 'GB',
'mail_smtpmode' => 'smtp',
'mail_smtpsecure' => 'tls',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'xxxxxxx',
'mail_domain' => 'xxxxxxx',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.xxxxxxx',
'mail_smtpport' => '587',
'mail_smtpname' => 'xxxxxxxxx',
'mail_smtppassword' => 'xxxxxxxx',
'maintenance' => false,
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'updater.secret' => '$2y$10$jUU8DVxxxxxxZGj>
'theme' => '',
'loglevel' => 2,
);