Support

Admin Tools

#11806 help please with error during security patch

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 nicholas on Tuesday, 03 April 2012 03:39 CDT

user61448
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 (pages 9-10-11)? yes
Joomla! version: (1.5.22)
PHP version: (5.2.11)
MySQL version: (5.0.41)
Host: (optional, but it helps us help you)
Admin Tools version: (2.2.2)

Description of my issue:
I want to upgrade my joomla 1.5.22 installation to latest in the 1.5 series (1.5.26)
I do this by:
1)in admintools click om update found icon
2)Click on Upgrade to 1.5.26
3)I get the update joomla interface that is asking me for extraction method and FTP data
4) When i try to update WITH ALL SORTST OF METHODS!! i get
ERROR: the archive file is corrupt, truncated or archive parts are missing

Methods that i have tried:
1) First letting Admin tool try to download the archive itself. (got error)
2) I manually downloaded the file and put it in ./tmp directory
then tried updating by "write directly to files" and by "FTP" (both same error)

As far as i can see i have all sever requirements for Admin tools in place.
So i'm stumped as to what is going wrong. PLEASE HELP?!

If needed i can provide access to system so as you can make an examination.
Please let me know

nicholas
Akeeba Staff
Manager
Based on your description, I believe that you site is using the wrong tmp directory, hence the problem. Please follow these instructions to change your tmp directory:
  1. Go to your site's administrator back-end and click Help, System Info from the top menu.
  2. Click on the Directory permissions link
  3. Scroll down the page and find the first Cache Directory line. It is the fourth from the bottom of the page.
  4. Next to the Cache directory label you can see a path, e.g. /home/myuser/public_html/cache
  5. Replace the cache word with tmp in that path, i.e. /home/myuser/public_html/tmp and note down this path. This is your new temp path.
  6. Go to Site, Global Configuration menu item from the top menu.
  7. Click on the Server link
  8. Find the "Path to Temp-folder" and replace its contents with the new temp path from step #5.
  9. Save your Global Configuration

At this point, you may have to make the tmp directory of your site writable. In order to do that, here's what you need to do. Create a file named htaccess.txt with the following contents:
order deny, allow
deny from all
allow from none

Upload it to your tmp directory using FTP. After uploading it, change its name to .htaccess (dot-htaccess, there is nothing before the dot) and its permissions to 444. Again using FTP, change the permissions of the tmp directory to 777.

Now, go back to Admin Tools and click on Clean Tmp Directory to remove any leftover files in the tmp directory. Then click on the "Joomla! Update Found" button, let Admin Tools download the update package and try upgrading first using the direct file writes or, of this doesn't work, the FTP method.

If you still get a truncated archive error message, it is possible that your host has file size restrictions which do not allow us to store the entire update archive (yes, that happens sometimes). In this case, we will have to follow plan B. Download the update ZIP package using the link provided by Admin Tools to your local computer. Extract it and remove the "installation" directory (if such a directory exists). Upload all remaining files to your site, overwriting same-named files.

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!

user61448
Hi Nicholas,

The provided solution worked for me.
The site is now updated to the latest version of the 1.5.xx family.

Thanks a lot!

nicholas
Akeeba Staff
Manager
You're welcome!

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!