I recently set up a new server runninng Ubuntu 12.4
I have currently 2 websites one using WordPress 3.2.1 the other 3.4.1 and same problem in both.
My problem is that no themes, plugins or add-ons can be installed automatically, also upgrading the 3.2.1 doesn't work.
The directory wp-content/ & all files & subdirs are ftp-user:www-data with permission 775.
All other are ftpuser:ftpgroup 755
My user-account is a ftp-account only, pureftpd-mysql, user mapped to ftpuser:ftpgroup.
What happens (example from theme installation):
1) Message "Package is being downloaded"
2) Message "Unpacking package"
3) Message "Installing theme"
4) Message "Could not copy file wp-content/themes/picochic/includes/theme-options.js"
It always stops with this "could not copy..." but the file & location differs.
Also sometimes I get that during the Unpacking stage.
I'm checking in terminal during installation, files and dirs are created under both :
ls -l wp-content/upgrade/picochic.tmp/picochic/<br />
total 84<br />
-rw-r--r-- 1 ftpuser ftpgroup 1944 Aug 1 10:32 comments.php<br />
-rw-r--r-- 1 ftpuser ftpgroup 2447 Aug 1 10:32 header.php<br />
drwxr-xr-x 4 ftpuser ftpgroup 4096 Aug 1 10:32 images<br />
drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 includes<br />
drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 js<br />
drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 languages<br />
-rw-r--r-- 1 ftpuser ftpgroup 1392 Aug 1 10:31 readme.txt<br />
-rw-r--r-- 1 ftpuser ftpgroup 51978 Aug 1 10:32 screenshot.png
ls -l wp-content/themes/picochic/includes<br />
total 8<br />
-rw-r--r-- 1 ftpuser ftpgroup 1436 Aug 1 10:35 jquery-scripts.js<br />
-rw-r--r-- 1 ftpuser ftpgroup 194 Aug 1 10:35 theme-options.css<br />
-rw-r--r-- 1 ftpuser ftpgroup 0 Aug 1 10:35 theme-options.js
So it simply can't be a permission issue.
And there's plenty of space on disk, I can manually copy and install things that way.
Filesystem Size Used Avail Use% Mounted on<br />
/dev/xvda1 60G 25G 32G 44% /<br />
udev 2.9G 4.0K 2.9G 1% /dev<br />
tmpfs 1.2G 204K 1.2G 1% /run<br />
none 5.0M 0 5.0M 0% /run/lock<br />
none 3.0G 0 3.0G 0% /run/shm
I downloaded the package for this theme and checked, there is nothing wrong with the file "picochic/includes/theme-options.js"
No other errors in any logs than this "could not copy..."
Versions:
HIred vps "cloud server"
Ubuntu 12.4
Apache version 2.2.22
Php 5.3.10
Several typo3-sites works fine, also 3 Magento installations works fine.