Support

Akeeba Backup for Joomla!

#34199 copy file failed when attempting to upgrade to pro 7.4.0.1

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 on Thursday, 14 January 2021 20:17 CST

chew-k2

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!


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:

copy file failed when attempting to upgrade to pro 7.4.0.1

I see this issue commonly posted and have read the troubleshooting recommendations and understand this is likely a joomla or server config issue but I would appreciate some help to get me pointed in the right direction

I have 6 virtual sites on a virtual private server (Azure Ubuntu VM).  They share the same PHP7.4-fpm, Mysql 8.0.22, apache2, joomla 3.9.23.  2 of the 6 servers produce this copy files failed error the others upgraded successfully.  I have used your set file permissions from admin tools to address that common cause and have validated file and directory ownership and groups consistent with my apache server.  zip is an installed php module and gzip is installed on the system. I have validated post and upload sizes to be greater than 10M and have tested the install from an unziped copy of the install in a subfolder of the tmp directory.  I have restarted apache and updated/upgraded my server.  I did set logging in joomla to max and saw one notice related to a deprecated php issue and unpublished the associated plugin and retried the upgrade without success.

Can you recommend where I might look for logs? compatibility issues with other joomla extensions? anything else that I might be missing to locate the cause.

Thanks,

Jim

nicholas
Akeeba Staff
Manager

In my experience, this issue is usually tracked down to the following:

Check your site's temp folder. It's easy to fat-finger a character or two there and end up pointing it to a directory that doesn't exist or is not writeable by your user. Note that you must enter a full path e.g. /var/www/mysite/tmp and that /tmp points to the system-wide /tmp folder, not the folder on your site.

Make sure that all your files and folders are owned by the same user. The user should be the same one you have configured in your PHP-FPM pool (not the one you have configured in Apache!). Keep in mind that your site is PHP software which runs inside PHP. PHP runs under the user defined in PHP-FPM's pool.

Check that all files have 0644 permissions (except configuration.php which can have 0600 or 0400 permissions) and that all folders have 0755 permissions, including your site's root.

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!

chew-k2

Nicholas,

Thank you for the specifics on the php-fpm pool and ownership.  That was my issue!  Thanks for taking the time to clear that up for me..

 

Jim

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!

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!