Support

Akeeba Backup for Joomla!

#8851 Auto Update

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 Wednesday, 27 April 2011 02:41 CDT

user12686
I am getting the following error when auto updating the Akeeba Backup Component for Joomla:

“Downloading the update package failed. Make sure that your temp-directory is writable”

I have received the following from support at Rackspace:

“The tmp directory you are writing to:

/var/www/rattle_net/content/tmp

is writeable by the user:

drwxr-xr-x 2 rattle_net users 4096 Apr 25 22:38 tmp

and files being written there are owned correctly:

(/var/www/rattle_net/content/tmp) # ls -la
total 8
drwxr-xr-x 2 rattle_net users 4096 Apr 25 22:38 .
drwxr-xr-x 20 rattle_net users 4096 Apr 25 22:28 ..
-rw------- 1 rattle_net users 0 Apr 25 22:38 com_akeeba.update.zip

So you may need to contact Joomla to inquire. The error it is giving is:

[Mon Apr 25 21:54:51 2011] [error] [client 24.35.48.5] PHP Warning: fileowner(): stat failed for /var/www/rattle_net/content/tmp/a1ce9a0bd397facf094d7cb89ea38b71 in /var/www/rattle_net/content/libraries/joomla/filesystem/path.php on line 212, referer: http://rattle.net/administrator/index.php?option=com_config”

Joomla! version: 1.5.23
PHP version: 5.3.3-1ubuntu9.3
MySQL version: 5.1.49-1ubuntu8.1
Host: Rackspace
Akeeba Backup Professional version: Akeeba Backup Professional 3.2.6 (2011-04-09)


Please advise,
Thank you.

nicholas
Akeeba Staff
Manager
Well, the permissions are not correct. Permissions all by itself mean absolutely nothing. It's the ownership and permissions that matters. For more information regarding how Linux and other UNIX systems work with ownership, users, groups and permissions pelase read our documentation's Security information chapter. It may take 2-3 tries to understand it, but understanding this information will allow you to administer your sites more efficiently.

That said, in order to be able to install the update, you have to enable Joomla!'s FTP layer following the instructions halfway through this page

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!

user12686
Nicholas,

Thank you for the reply. I'm running suPHP and the user is running the Apache process. I thought I could get away without enabling the FTP layer but it seems there is no way around it.

After I enabled FTP I received an xml error and decided to update manually. Worked fine. I then un-installed Akeeba, disabled FTP layer, reinstalled, and everything went good.

I'll wait till the next update to try it again.

Thank you,
-Joe

nicholas
Akeeba Staff
Manager
Are you sure you had Akeeba Backup 3.2.6? This kind of problem should not happen with that release. There was a bug which could cause this in Akeeba Backup 3.2.5 and earlier, but it was fixed in the Live Update code I had placed in 3.2.6 :s

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!

nicholas
Akeeba Staff
Manager
DO NOT POST FILES LIMITED TO SUBSCRIBERS ONLY ON THE PUBLIC FORUM! I deleted your post with the attachment.

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!

user12686
SORRY!!! I totally didn't think that one through. My apologies.

nicholas
Akeeba Staff
Manager
No problem. Accidents happen! You nearly gave me a heart attack when I saw your post :D

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!