Support

Admin Tools

#11182 Installation failure: installer hangs

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 on Friday, 23 March 2012 18:00 CDT

rokkhit
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting? Yes
Joomla! version: (2.5.1)
PHP version: (5.3.3)
MySQL version: (Ver 14.14 Distrib 5.1.61)
Host: (CentOS 6.0 Virtual Hosting)
Admin Tools version: (2.2.1-pro)

Description of my issue:
1. Try to install Admin Tools component (com_admintools-2.2.1-pro.zip) from Joomla! Extension Manager.
2. Select the zip file from my local folder and press "Upload & Install".
3. I'm stuck here and no matter how much I wait, the component never loads and installs.

The following may be useful information for you:

1. OS is CentOS 6.0
2. This is a fresh installation, which means, that after installing the OS on my virual account, I installed Joomla! on it and then, tried to install Admin Tools on Joomla! in order to protect it.
3. The site is on a virtual server. Therefore, can provide root login information to someone who is interested to have a look.

Thanks in anticipation.

nicholas
Akeeba Staff
Manager
Unless you are a time traveller, I assume you mean 2.2.0, not 2.2.1 :) This kind of installation issues can be worked around with our manual installation. Moreover, since you are on a virtual server, I'd recommend increasing the max_execution_time in your php.ini file to 90, so that Joomla! has ample time installing big software.

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!

rokkhit
Hi Nicholas,

Thanks for responding. Yes, I made a mistake: It is 2.2.0.

And, yes, I have tried increasing the max_execution_time without any result.

I have also tried increasing the maximum size of the upload files to 4 MB without any result either.

There is also no error log!

nicholas
Akeeba Staff
Manager
Did you try the manual installation instructions for which I gave you a link?

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!

rokkhit
No, not yet. I'll give it a try tonight.
But, I'm anxious about my Joomla! installation's health!

nicholas
Akeeba Staff
Manager
I wouldn't be so worried. First, let me explain what is the most likely cause of this issue. Admin Tools Professional is a big package with a lot of files. When you select "Upload & Install" the following have to take place:
  1. PHP uploads the file to a temporary directory (not your site's tmp directory). The file will have to be copied to your site's tmp directory.
  2. The ZIP archive will be read to memory
  3. A new subdirectory will be created in your site's temp-directory
  4. All of the files will be extracted to the temp-directory
  5. The files will be copied to their final location
  6. The database installation SQL script will run
  7. The PHP post-installation script will run, copying some more files into libraries/fof
  8. The temporary subdirectory and all contained files are removed

As you can see, there is a lot of file copying going on. File copying is a O(N) procedure, a geeky way to say that the amount of time it takes is directly proportional to the number of files being copied. Since so many file copy operation take place, it takes a LOT of time, leading to a timeout error on most shared hosts when installing moderately big packages (anything over 300-500Kb, the majority of Joomla! extensions). If you're using Joomla!'s FTP mode (every typical shared host requires this), things get even slower and the problem is more likely to occur. Moreover, step 2 may also cause a memory outage condition (the maximum amount of memory PHP can reserve is usually very limited on shared hosts). Each of these conditions will cause a blank page to show up, usually long before the installation had the chance to complete.

When you follow the manual procedure you skip steps 1, 2, 3, 4 and 8, reducing the necessary file operations by a whooping 75%. Moreover, you don't have to read the ZIP file into memory, therefore you don't run into memory outages. That's why the manual installation process has far more chances to run.

There is a lot of discussion going on in the Joomla! project these days about ways to circumvent these problems. I've made a proposal of my own, using the same method our Live Update software uses. The process is broken into multiple page loads. Each page load performs only one of the aforementioned steps, therefore minimising the chance of a timeout error. It doesn't deal with the memory outage condition, but it will be a good starting point. Hopefully this, or an equally competent solution, will be included by the time Joomla! 3.5 (the next long term support release) will be released in 18 months. Joomla! is scaling up as its components are also scaling up. With 2.7% of the Internet relying on its code being robust, I understand why the change process is slow. The first priority is making sure that every solution is well thought out and the proposed code is well tested before it hits the mainstream distribution :)

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!

rokkhit
Hi Nicholas,
Thanks for the detailed description. That was quite a nice glimpse of what happens at the background.

Meanwhile, my attempt to upload the files to the necessary directory failed because the ftp server (proftpd) would not accept connections (a security measure). I have to find out a way before I can proceed.

Until then~

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!