Support

Akeeba Backup for Joomla!

#20039 Configuration data is empty after decryption

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Latest post by nicholas on Friday, 09 May 2014 11:30 CDT

[email protected]
EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue:

When the setting to encrypt the configuration in the global Akeebabackup settings is on then the command line (cli) akeeba-backup.php script gets an empty ini_data_local variable in the AEPlatformAbstract->load_configuration function after decryption.
This causes the script to run with the default settings and not the profile settings.

When this security setting is off then the ini_data_local variable holds the profile settings string to parse and the right profile settings are used.

I debugged this by just echoing and catching the output in the cronjob email.

nicholas
Akeeba Staff
Manager
Your PHP CLI binary doesn't have the PHP mcrypt extension enabled or it does have it enabled but doesn't support the rijndael-128 (AES128) cipher. Please remember that the PHP CLI used in CRON jobs and the PHP CGI/FastCGI/mod_php used in your web server have different configuration (php.ini) files and may even be different versions of PHP! If you don't have a say on the php.ini of PHP CLI, e.g. you are on a shared server, the only thing you can do is disable configuration encryption in Akeeba Backup. Not the ideal solution, but the only thing you can do if php.ini is out of reach for you.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

[email protected]
Thank you for explaining the issue. I am going to look into the possibility to enable mcrypt for the php cli.

Kind Regards

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

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!