Support

Akeeba Backup for Joomla!

#12346 Upgrading to v3.5.0 manually

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 Sunday, 20 May 2012 10:47 CDT

gulam
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?)? Yes
Joomla! version: (unknown)2.5.4
PHP version: (unknown)5.2.8
MySQL version: 5.0.95-community
Host: (optional, but it helps us help you)
Akeeba Backup version: 3.5.0

EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.

Description of my issue: When trying to upgrade from v3.4.3 to 3.5.0 manually, I get the following error message:

Copy failed
JInstaller: :Install: Failed to copy file /home/nhif/tmp/install_4fb736452045b/frontend/akeeba.php to /home/nhif/public_html/components/com_akeeba/akeeba.php

My tmp and cache folders are writable.

Please advice.

Gulam


nicholas
Akeeba Staff
Manager
Hi Gulam,

The error message was about your component directory being unwritable. Please follow our troubleshooting instructions to get your FTP settings enabled on your site so that Joomla! can write the component's 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!

gulam
Hi Nicholas,

Thanks for your response.

This is strange because on my backup server, which has the exact same settings in terms of permissions, owner and group, I can upgrade without any issues but on my main server I get this error.

On both servers FTP is disabled.

Do you think I should try a manual installation by copying the akeeba folder to the tmp folder?

Gulam

nicholas
Akeeba Staff
Manager
Well, I am pretty sure that the ownership and/or permissions are not the same, otherwise you wouldn't get the error message you mentioned in your first post. Please do follow the troubleshooting instructions. Don't try to improvise by copying around files manually, it will really end in tears, AJAX errors and inexplicable 500 error messages. Be methodical and go through the troubleshooting instructions I linked to in my earlier post.

Usually it's just a tiny detail that would have otherwise gone unnoticed. For what is worth, I screw up on my test servers very often and I find myself sheepishly following those troubleshooting instructions, only to find that I did have screwed up my server's config or permissions without noticing. Paraphrasing Alexander Pope, to err is human, to follow troubleshooting instructions is divine :)

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!

gulam
Thanks Nicholas,

Surely there is something wrong, I am trying to make sense of it. I have gone through your troubleshooting guide several time and am following it but haven't managed to find what is wrong.

What I find difficult to understand is that when I backup my site and restore it on a test server, presumably all the permission / ownership remain the same, on the restore server without making any changes I can install akeeba / admin tools without any issue. But when I try to install on the main server, i fail.

This all started when i disabled FTP but FTP is also disable on the test server and works fine. Probably something is wrong on the OS level, but site wise everything is the same.

Gulam

nicholas
Akeeba Staff
Manager
If you are still getting the same message as the one you mentioned in your first post, there is certainly some kind of permissions issue on your site. The easiest way to deal with that would be changing the ownership of all your site's files/folders to the FTP user and group. This is highly dependent on your server configuration, so I can't give you the exact commands.

Another alternative is the nuclear option:
  • Take a backup of the site and keep it somewhere safe
  • Delete all files and folders from the server
  • Upload the backup and kickstart.php
  • Use Kickstart's "Use FTP" file writing option. That's the important part of the process.
  • During the restoration, choose to enable the FTP feature.


After doing that, all your files and folders are certainly owned by the FTP user/group and you have also enabled Joomla!'s FTP options. This should allow you to install Akeeba Backup and any other extension for that matter. If you still have problems, make sure that all folders have at least 0755 permissions and all files have 0644 permissions.

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!