Support

Akeeba Backup for Joomla!

#36560 backup cli is failing

Posted in ‘Akeeba Backup for Joomla!’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

blacknell

Description of my issue:

 

CLI backups are failing with this command line

 

Can you help please

/usr/bin/php /var/www/solentyachtcharter.com/cli/joomla.php akeeba:backup:take --description "SYCTEST" --profile=1

 

Output

 

Symfony\Component\ErrorHandler\Error\UndefinedFunctionError^ {#151
  #message: "Attempted to call function "simplexml_load_file" from namespace "Joomla\CMS\Language"."
  #code: 0
  #file: "/var/www/solentyachtcharter.com/libraries/src/Language/LanguageHelper.php"
  #line: 680
  trace: {
    /var/www/solentyachtcharter.com/libraries/src/Language/LanguageHelper.php:680 {
      Joomla\CMS\Language\LanguageHelper::parseXMLLanguageFile($path)^
      › // Try to load the file
      › $xml = simplexml_load_file($path);
      › 
    }
    /var/www/solentyachtcharter.com/libraries/src/Language/LanguageHelper.php:572 { …}
    /var/www/solentyachtcharter.com/libraries/src/Language/Language.php:193 { …}
    /var/www/solentyachtcharter.com/libraries/src/Language/LanguageFactory.php:32 { …}
    /var/www/solentyachtcharter.com/libraries/src/Language/CachingLanguageFactory.php:43 { …}
    /var/www/solentyachtcharter.com/libraries/src/Service/Provider/Application.php:123 { …}
    /var/www/solentyachtcharter.com/libraries/vendor/joomla/di/src/ContainerResource.php:176 { …}
    /var/www/solentyachtcharter.com/libraries/vendor/joomla/di/src/Container.php:96 { …}
    /var/www/solentyachtcharter.com/cli/joomla.php:76 { …}
  }
}

 

tampe125
Akeeba Staff

Hello,

you should get in touch with your host. It seems that in CLI environment, your PHP executable doesn't have the module XML loaded.

Please get in touch with them, since they are the only ones that can fix this issue.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.