Support

Akeeba Backup for Joomla!

#34484 Backup restoration failed

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 Wednesday, 10 February 2021 02:23 CST

HisEvilness

Hello, I updated my site this morning but it somehow failed, the initial message was that the updates were installed(Koala web gear and Akeeba backup) and was promoted to clear the cache and then got the error 0 on the front page so I reverted back to a backup using Akeeba but as with the initial problem the Error 0 remains even though it was a backup taken 02-01-2021. Error 0, as far as I know, is some sort of plugin problem but the backup I used from Jan-2021 did not have this issue and the site was running just fine until 1 ish hour ago after an update. I can find hardly any information on Error 0 and even more puzzling that a working backup from well over a month ago yields the same Error 0.

If needed I can provide a user and pass for the backend that is working perfectly fine.Β 

Cheers,

Β 

nicholas
Akeeba Staff
Manager

Error 0 sounds like an unhandled exception without a descriptive error code.

Edit your configuration.php file and change the following lines (they might not be one after the other or in the order presented below):

        public $debug = '1';
        public $error_reporting = 'development';

What these lines do is the same as going into Global Configuration and setting Site Debug to Yes and Error Reporting to Development. You should get a much more descriptive error message which would at least point you towards the issue you have.

As for restoring the backup. Do remember that restoring a backup only overrides existing files and creates new ones. It does not delete any files which now exist on your site right now but did not exist at backup time. If the update you made added files which are also able to be autoloaded by the old version of the plugin that broke you'd indeed run into the same problem.

In this case first download any backup archives still stored on your site. Make three copies of them in different media / storage services e.g. one on your computer, one on a USB key and one on a NAS / file storage service (such as Dropbox, OneDrive, Google Drive...) / another computer. The idea is that you want to be really darned sure you don't lose your backups!

Then restore the backup again. This time delete all files and folders (or at least the administrator, modules, layouts, plugins and templates folders) and then use Kickstart to extract the backup archive.

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!

HisEvilness

Hello, thank you for your response.

I will take your advice and see if I can get the backup to work. As it was taken when the site was still working fine the suggestion of new files that were added after the backup was taken sounds like it is the problem.

Will come back here and update you when I have something new or further questions.

Cheers,

Β 

HisEvilness

There was a bug in the Template that gave the error 0. Compile less in the Helix framework etc. This issue has been resolved. Others errors were also resolved new files that were not replaced/removed like template files/*.js files. Re-installing the template after switching to another template and removing the old one but saving the settings in a JSON file made is easy to recover.

Thanks for the help though, this ticket can be closed.

Cheers,

nicholas
Akeeba Staff
Manager

You're welcome! I am closing the ticket per your request :)

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!