Can't install any themes, addons… but permissions ok
-
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/ total 84 -rw-r--r-- 1 ftpuser ftpgroup 1944 Aug 1 10:32 comments.php -rw-r--r-- 1 ftpuser ftpgroup 2447 Aug 1 10:32 header.php drwxr-xr-x 4 ftpuser ftpgroup 4096 Aug 1 10:32 images drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 includes drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 js drwxr-xr-x 2 ftpuser ftpgroup 4096 Aug 1 10:31 languages -rw-r--r-- 1 ftpuser ftpgroup 1392 Aug 1 10:31 readme.txt -rw-r--r-- 1 ftpuser ftpgroup 51978 Aug 1 10:32 screenshot.png
ls -l wp-content/themes/picochic/includes total 8 -rw-r--r-- 1 ftpuser ftpgroup 1436 Aug 1 10:35 jquery-scripts.js -rw-r--r-- 1 ftpuser ftpgroup 194 Aug 1 10:35 theme-options.css -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.
I downloaded the package for this theme and checked, there is nothing wrong with the file “picochic/includes/theme-options.js”Filesystem Size Used Avail Use% Mounted on /dev/xvda1 60G 25G 32G 44% / udev 2.9G 4.0K 2.9G 1% /dev tmpfs 1.2G 204K 1.2G 1% /run none 5.0M 0 5.0M 0% /run/lock none 3.0G 0 3.0G 0% /run/shm
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.[ Please do not bump, that’s not permitted here. ]
- The topic ‘Can't install any themes, addons… but permissions ok’ is closed to new replies.