Support

Admin Tools

#11837 Blank Site (Front and Back) after update of AdminTools Pro

Posted in ‘Admin Tools 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
Admin Tools version
n/a

Latest post by martinix on Thursday, 05 April 2012 16:14 CDT

martinix
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)?
https://www.akeebabackup.com/home/news/56-releases/1461-admin-tools-2-2-2.html
Joomla! version: 2.5.4
PHP version: (unknown)
MySQL version: (unknown)
Host: (optional, but it helps us help you)
Admin Tools version: (unknown)

Description of my issue:

Following update to latest version of AdminTools Pro locked out of my site both Front End and Back End. Tried to follow instructions in ticket #11832 (manually removed files and renamed .htaccess with cPanel) but still locked out of site.

Please advise best course of action to recover site.

Thank you.

martinix
Looking through the site cPanel File Manager records, a number of .html and .php files are showing 0 bytes and have their 'last modified' date/time as of the update/time the site went down corresponding to the time the AdminTools update occurred. Is this significant?

Ideas/Questions: Would an overlay install of Joomla recover the problem or is it necessary to do a full backup recovery?

nicholas
Akeeba Staff
Manager
Sorry, but this is a server issue. When you go over quota and try to write to files, any files in your account may end up with 0-byte sizes. The only solution is to try removing any unused files and restore your site from a backup.

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!

martinix
Ok, but I was well under 50% (only about 35%) of my Server Quota of 1000MB. Are you saying that you need more than '2x' disk quota size before you can successfully complete an update of AdminTools Pro? If so, then we need to find some other way of keeping these tools updated. The update process seems very fragile? Is this just me because I'm doing something wrong? I'd welcome any 'best practice' guidance you have to avoid this problem in the future. I'll be very reluctant to apply any further updates of AdminTools Pro until we better understand the nature of this problem/limitation and can avoid it happening in the future.

nicholas
Akeeba Staff
Manager
Normally no. You should only need 2-4Mb (depending on the method of installation).

I might have an idea what is going on. How did you update Admin Tools? Did you use the "UPDATE FOUND" button inside Admin Tools' control panel, or did you use the Joomla! extensions updater (either the Extensions Update Found icon in the Joomla! control panel, or the Manage Extensions, Update menu item)? The latter is not supposed to work properly with Admin Tools Professional and I specifically warn against using it in my release announcement. The only supported method for updating Professional versions of our software is using our own Live Update, the UPDATE FOUND button inside Admin Tools' and Akeeba Backup's control panel pages.

I have been unable to trace it or get conclusive evidence that this happens, but it seems that -sometimes!- using the Joomla! Extensions Manager's update method to update Professional editions of my software does screw up your site. If you can confirm that this was what happened, it will help me confirm my suspicions and try to debug Joomla! and find out why it causes this issue. Please note that if my suspicions are correct, I will be tracing a Joomla! bug, not an Admin Tools bug; at the time when the update runs, Admin Tools' code doesn't execute (in fact, isn't even loaded).

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!

martinix
Nicolas - thanks for your prompt and helpful response. All is now working - I managed to recover all files/folders from a backup.

re. your questions/suggestions ...

yes, you're correct; I did choose the update option from 'Updates are Available'. I hadn't seen/noticed this option before. It so happened that the first update option listed was 'admintoolspro' and it was choosing this that prompted the website failure. I hadn't appreciated [read your release notes!] that this option shouldn't be used for updating Akeeba AdminToolsPro. I will remember in future!

as for ideas about what causes the problem the only relevant error log entries recorded at the time of failure were ..

[04-Apr-2012 13:50:38] PHP Fatal error: Call to a member function load() on a non-object in ../public_html/libraries/joomla/installer/adapters/file.php on line 220

in the administrator error.log and ..

[04-Apr-2012 13:44:41] PHP Fatal error: Call to a member function getValue() on a non-object in ../public_html/plugins/system/admintools/admintools/core.php on line 78

[04-Apr-2012 13:49:09] PHP Fatal error: Call to a member function mark() on a non-object in ../public_html/index.php on line 24

[04-Apr-2012 13:49:29] PHP Fatal error: Call to a member function mark() on a non-object in ../public_html/index.php on line 24

in the root error.log

I hope these entries might be of use in your investigations.

It seems unfortunate that such a simple user 'error' should give rise to such a dramatic failure in deleting files. Following the 'First do no harm' principle it would seem the update process should fail more gracefully.

I've given myself a bit of a fright. I will be more careful in future!:)

nicholas
Akeeba Staff
Manager
I still couldn't reproduce this issue. At worst, I got an error message telling me that it can't find the directory, but that's it. No zeroing out of the files. The error messages seem to be mostly unrelated stuff. The only thing I can do is to make sure that if you don't have a Download ID there will be no update shown in the Joomla! extensions manager. This is what I'm going to implement in the next release.

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!

martinix
Thanks for your update and efforts in trying to reproduce this problem. I'll update the 'correct' way and open a separate ticket if I experience something similar in the future.

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!