OCC Error: Call to undefined function OC\App\simplexml_load_file()

Nextcloud version 20.0.3
Operating system and version Debian 10.7
PHP version 7.4

I got following Output if i try to do an with occ:

The output of your Nextcloud log in Admin > Logging:
*Error: Call to undefined function OC\App\simplexml_load_file() in /var/www/vhosts/**/cloud/lib/private/App/InfoParser.php:65
Stack trace:
#0 /var/www/vhosts/###/cloud/lib/private/App/AppManager.php(511): OC\App\InfoParser->parse(’/var/www/vhosts…’)
#1 /var/www/vhosts/###/cloud/lib/private/legacy/OC_App.php(581): OC\App\AppManager->getAppInfo(‘files’, false, NULL)
#2 /var/www/vhosts/###/cloud/lib/private/AppFramework/App.php(69): OC_App::getAppInfo(‘files’)
#3 /var/www/vhosts/###/cloud/lib/private/legacy/OC_App.php(264): OC\AppFramework\App::buildAppNamespace(‘files’)
#4 /var/www/vhosts/###/cloud/lib/private/AppFramework/Bootstrap/Coordinator.php(100): OC_App::registerAutoloading(‘files’, ‘/var/www/vhosts…’)
#5 /var/www/vhosts/###/cloud/lib/base.php(644): OC\AppFramework\Bootstrap\Coordinator->runRegistration()
#6 /var/www/vhosts/###/cloud/lib/base.php(1091): OC::init()
#7 /var/www/vhosts/###/cloud/console.php(49): require_once(’/var/www/vhosts…’)
#8 /var/www/vhosts/###/cloud/occ(11): require_once(’/var/www/vhosts…’)
#9 {main}root@###:/var/www/vhosts/###/cloud#

Does anyone know a solution?

Believe it or not, a simple Google search brought me to this issue ticket within seconds :wink:

1 Like