Support

Akeeba Backup for Joomla!

#40752 Installation on Joomla 4 Synology

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
Joomla 4.2.9-1079
PHP version
8.0.23
Akeeba Backup version
9.7.1

Latest post by nicholas on Monday, 27 May 2024 13:45 CDT

rickenbacher

I tried to install Akeeba Backup on my Joomla 4 website which runs on my Synology diskstation. It seemed to install properly but when I tried to run it I've got the following error message and I wonder if this has something to do with the outdated PHP because Synology only provides PHP 8.0.23.

 

quote

Akeeba Backup - An unhandled Exception has been detected
500 Undefined constant "Akeeba\Engine\Util\AesAdapter\OPENSSL_RAW_DATA"
File <root>/administrator/components/com_akeebabackup/engine/Util/AesAdapter/OpenSSL.php Line 34


 The content below this point is for developers and power users.


Joomla 4.2.9 – PHP 8.0.23 on Linux

Debug information
Exception type: Error

#0 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Util/Encrypt.php(685): Akeeba\Engine\Util\AesAdapter\OpenSSL->__construct()
#1 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Util/SecureSettings.php(126): Akeeba\Engine\Util\Encrypt->getAdapter()
#2 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Util/SecureSettings.php(153): Akeeba\Engine\Util\SecureSettings->preferredEncryption()
#3 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Platform/Base.php(882): Akeeba\Engine\Util\SecureSettings->encryptSettings('{\n "global":...')
#4 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/platform/Joomla/Platform.php(228): Akeeba\Engine\Platform\Base->save_configuration(1)
#5 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Platform/Base.php(605): Akeeba\Engine\Platform\Joomla->save_configuration(1)
#6 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/platform/Joomla/Platform.php(189): Akeeba\Engine\Platform\Base->load_configuration(1, true)
#7 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/engine/Platform.php(284): Akeeba\Engine\Platform\Joomla->load_configuration()
#8 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/src/Mixin/AkeebaEngineTrait.php(82): Akeeba\Engine\Platform->__call('load_configurat...', Array)
#9 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/src/Dispatcher/Dispatcher.php(129): Akeeba\Component\AkeebaBackup\Administrator\Dispatcher\Dispatcher->loadAkeebaEngineConfiguration()
#10 [internal function]: Akeeba\Component\AkeebaBackup\Administrator\Dispatcher\Dispatcher->onBeforeDispatch()
#11 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/src/Mixin/TriggerEventTrait.php(40): call_user_func_array(Array, Array)
#12 /volume1/web_packages/joomla/administrator/components/com_akeebabackup/src/Dispatcher/Dispatcher.php(79): Akeeba\Component\AkeebaBackup\Administrator\Dispatcher\Dispatcher->triggerEvent('onBeforeDispatc...')
#13 /volume1/web_packages/joomla/libraries/src/Component/ComponentHelper.php(355): Akeeba\Component\AkeebaBackup\Administrator\Dispatcher\Dispatcher->dispatch()
#14 /volume1/web_packages/joomla/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_akeebabacku...')
#15 /volume1/web_packages/joomla/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch()
#16 /volume1/web_packages/joomla/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\AdministratorApplication->doExecute()
#17 /volume1/web_packages/joomla/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#18 /volume1/web_packages/joomla/administrator/index.php(32): require_once('/volume1/web_pa...')
#19 {main}

 

unquote

nicholas
Akeeba Staff
Manager

PHP on Synology does not have the required OpenSSL PHP extension. Neither Akeeba Backup, nor Joomla! itself (when accessing encrypted data, e.g. using multi-factor authentication) will work correctly with this dependency missing.

I am not aware of any solution to this problem other than not using Synology as your test server. Their PHP packages are very basic, missing too many extensions used by modern software.

And yes, the irony of them offering a (very outdated) Joomla package for installation is not lost on me. It's just that they didn't test it or, if they did, they never bothered to fix their PHP package to meet Joomla's minimum requirements...

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!