Support

Akeeba Backup for Joomla!

#39227 Install Error

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
3.10.12
PHP version
7.4.33
Akeeba Backup version
8.3.1 Pro

Latest post by tampe125 on Thursday, 20 July 2023 02:39 CDT

mducreative

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 10MiB, please upload it on your server and post a link to it.

 

III am getting the below error.  I have uninstalled Akeeba completely and tried to reinstall and still get the error.

Please Help.

 

Akeeba Backup - An unhandled Exception has been detected 1062 Duplicate entry '0' for key 'PRIMARY'

File <root>/libraries/joomla/database/driver/mysqli.php Line 668

Debug information

Exception type: JDatabaseExceptionExecuting

#0 /home/blueridge/public_html/libraries/joomla/database/driver.php(1421): JDatabaseDriverMysqli->execute()
#1 /home/blueridge/public_html/libraries/fof40/Update/Update.php(671): JDatabaseDriver->insertObject('#__update_sites', Object(stdClass))
#2 /home/blueridge/public_html/administrator/components/com_akeeba/Model/Updates.php(86): FOF40\Update\Update->refreshUpdateSite()
#3 /home/blueridge/public_html/administrator/components/com_akeeba/Controller/ControlPanel.php(329): Akeeba\Backup\Admin\Model\Updates->refreshUpdateSite()
#4 /home/blueridge/public_html/libraries/fof40/Controller/Controller.php(1095): Akeeba\Backup\Admin\Controller\ControlPanel->onBeforeMain()
#5 /home/blueridge/public_html/libraries/fof40/Controller/Controller.php(409): FOF40\Controller\Controller->triggerEvent('onBeforeMain')
#6 /home/blueridge/public_html/administrator/components/com_akeeba/Controller/Mixin/PredefinedTaskList.php(41): FOF40\Controller\Controller->execute('main')
#7 /home/blueridge/public_html/libraries/fof40/Dispatcher/Dispatcher.php(178): Akeeba\Backup\Admin\Controller\ControlPanel->execute('main')
#8 /home/blueridge/public_html/administrator/components/com_akeeba/akeeba.php(59): FOF40\Dispatcher\Dispatcher->dispatch()
#9 /home/blueridge/public_html/libraries/src/Component/ComponentHelper.php(402): require_once('/home/blueridge...')
#10 /home/blueridge/public_html/libraries/src/Component/ComponentHelper.php(377): Joomla\CMS\Component\ComponentHelper::executeComponent('/home/blueridge...')
#11 /home/blueridge/public_html/libraries/src/Application/AdministratorApplication.php(101): Joomla\CMS\Component\ComponentHelper::renderComponent('com_akeeba')
#12 /home/blueridge/public_html/libraries/src/Application/AdministratorApplication.php(159): Joomla\CMS\Application\AdministratorApplication->dispatch()
#13 /home/blueridge/public_html/libraries/src/Application/CMSApplication.php(225): Joomla\CMS\Application\AdministratorApplication->doExecute()
#14 /home/blueridge/public_html/administrator/index.php(51): Joomla\CMS\Application\CMSApplication->execute()
#15 {main}

tampe125
Akeeba Staff

Hello,

I suspect this is not related to Akeeba Backup or Joomla itself. If you install another extension do you get the same error?

It seems like that your database is not correctly handling the 0 value for the primary key, usually it should automatically create a new number and assign it to the record that is saved inside the table. You should get in touch with your host and ask them to take a look at the value NO_AUTO_VALUE_ON_ZERO for your database.

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: 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!