Support

Akeeba Backup for Joomla!

#13432 Updated failed - Link to component gone

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 Monday, 03 September 2012 09:00 CDT

user9146
Hej,

my problem is, I updated AkeebaBackup to the lates Release today and got the following error:

Failed to copy file /tmp/install_504466c36d8e2/frontend/akeeba.php to /components/com_akeeba/akeeba.php

It's the first time I get an eror like this...

My problem now is, AkeebaBackup is still installed but the link to the component is gone. It's now impossible to open the component.
Exactly the same happened with the update of AdminTools Pro. Same error and the link to the component is also gone from the backend menu.


Joomla: 2.5.6
PHP: 5.3.13
MySQL: 5.1.63

nicholas
Akeeba Staff
Manager
This is caused by permissions and ownership issues on your site. Please consult our installation troubleshooting instructions.

Regarding the missing menu link, just take a look in the page I linked you to below "Joomla! 1.6/1.7/2.5 installation problems". This is a bug in Joomla! which I reported in April 2011 and my patch was accepted August 8th, 2012. I can't do anything about it except ask you to follow the (difficult and manual) workaround. The best I could do was to report the bug and submit a patch to the Joomla! project. Too bad it wasn't accepted earlier. I have to reply to such support requests, about a bug that I know of but can't fix because it's not in my code, all the time :(

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!

user9146
Oh my god... :(

Thanks for your fast answer. I can't believe that such a big bug isn't fixed yet. :(

Ok, I clicked on the link you provided:

First go to Extensions, Extensions Manager, Manage, find any mentions of Akeeba or COM_AKEEBA and uninstall them. It may lead to an error, but don't worry about it yet. Now open phpMyAdmin for the next three steps.


Table jos_assets - Find the row where the name column is com_akeeba and delete it


Table jos_extensions - Find the row where the type column is plugin and the element column is com_akeeba and delete it


Table jos_menu - Find the row where the title is COM_AKEEBA and delete it


Am I'm loosing all of my settings if I follow this instructions?
How should I upgrade a component in the future to get sure this i not happen again?

Thanks in advance
Bastian

nicholas
Akeeba Staff
Manager
Please note that the instructions are about Akeeba Backup. As mentioned in the paragraph above them, please replace COM_AKEEBA with COM_ADMINTOOLS and com_akeeba with com_admintools.

Regarding your settings, all WAF and .htaccess Maker settings are preserved. You will lose your Download ID (you can re-enter it) and your PHP File Scanner settings.

And, yes, it's a huge bug and a tricky one to reproduce. It took me three months and several reports from users to find a way to replicate this. It was even more difficult creating an easy way to reproduce it to let everyone on the Joomla! Bug Squad be able to reproduce the issue and verify that the patch fixes it. Plus, there was some confusion whether it should be fixed in the CMS or the Platform and if my patch should be applied or a completely different method. The only was I can describe the situation preceding to the resolution of this bug is "clusterfuck". And I'm not even sure this word can engulf the amount of confusion...

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!

user9146
This workarround isn't working for me! :(

I uninstalled AkeebaBackup (with some error like your wrote) and I uninstalled AdminTools (with some error too). After that I logged in to my PHPmyAdmin Account and searched for the entries like in your troubleshooting guide. There is nothing left in my database! Nothing from AkeebaBackup and nothing from AdminTools.

If I try to install AkeebaBackup again, I get the following errors:

JFolder: :files: Path is not a folder. Path: /administrator/components/com_akeeba

JInstaller: :Install: Cannot find XML setup file

JInstaller: :Install: Cannot find XML setup file

Copy failed

JInstaller: :Install: Failed to copy file /tmp/install_50449dbbe2bee/frontend/akeeba.php to /components/com_akeeba/akeeba.php


Did I killed my site? What should I do now?

Thanks in advance
Bastian

nicholas
Akeeba Staff
Manager
Hello Bastian,

Before retrying to install the component you have to fix the permissions / ownership issue which causes this error message:
JInstaller: :Install: Failed to copy file /tmp/install_50449dbbe2bee/frontend/akeeba.php to /components/com_akeeba/akeeba.php

This means that the Joomla! installer cannot write to the components/com_akeeba/akeeba.php folder. On the same troubleshooting page you will find the instructions for checking your temp-directory setting and enabling FTP in Joomla!. Please follow them.

If that doesn't work, try removing the following directories:

- administrator/components/com_akeeba EXCEPT the administrator/components/com_akeeba/backup directory and the administrator/components/com_akeeba/akeeba/serverkey.php file. If you remove that directory and that file you will lose your existing backups and/or settings. Give 0777 permissions to the administrator/components/com_akeeba directory.
- components/com_akeeba
- administrator/modules/mod_akadmin
- media/com_akeeba
- plugins/system/plg_srp
- plugins/system/plg_akeebaupdatecheck
- plugins/system/plg_aklazy
- plugins/system/plg_oneclickaction

The install Akeeba Backup. Afterwards, remember to change the permissions of the administrator/components/com_akeeba directory back to 0755. Then reinstall Admin Tools.

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!

user9146
Horrible! Just horrible to fix this bug on a live site...

After a couple of hours, AkeebaBackup is installed but all my settings are gone... damn it!


But thanks for your help anyway!
Bastian

nicholas
Akeeba Staff
Manager
I agree 100% with you. That's why I was bitching on the bug tracker. These bugs are hard to recover from and th recovery is potentially problematic. Nevermind making us third party developers look like schmucks :(

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!