Plugins don't update


#1

I get the following error while I try to update my plugins

An error occurred while updating WordPress SEO: Could not remove the old plugin.


#2

Please provide me the following details

ls -lah /path/to/plugin


#3

drwxr-xr-x 9 root root 4.0K Apr 25 11:24 .
drwxr-xr-x 22 www-data www-data 4.0K May 20 09:38 …
drwxr-xr-x 4 root root 4.0K Apr 25 11:24 admin
-rw-r–r-- 1 root root 52K Apr 25 11:24 changelog.txt
-rw-r–r-- 1 root root 577 Apr 25 11:24 composer.json
-rw-r–r-- 1 root root 2.3K Apr 25 11:24 CONTRIBUTING.md
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 css
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 frontend
-rw-r–r-- 1 root root 1.8K Apr 25 11:24 Gruntfile.js
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 images
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 inc
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 js
drwxr-xr-x 2 root root 4.0K Apr 25 11:24 languages
-rw-r–r-- 1 root root 32K Apr 25 11:24 license.txt
-rw-r–r-- 1 root root 288 Apr 25 11:24 package.json
-rw-r–r-- 1 root root 321 Apr 25 11:24 phpunit.xml
-rw-r–r-- 1 root root 2.1K Apr 25 11:24 README.md
-rw-r–r-- 1 root root 59K Apr 25 11:24 readme.txt
-rw-r–r-- 1 root root 2.7K Apr 25 11:24 wpml-config.xml
-rw-r–r-- 1 root root 9.6K Apr 25 11:24 wp-seo-main.php
-rw-r–r-- 1 root root 1.4K Apr 25 11:24 wp-seo.php


#4

The permission is wrong

you need to run following command to fix the permission issue

chown -R www-data:www-data /path/to/website


#5

Thanks that worked :slight_smile:

BTW, links like http://www.techwithlove.com/wp-content/uploads/ show error 403. Is it okay?


#6

EasyEngine don’t allow directory listing

In your upload folder there is no index.php or index.html file so its return 403 Forbidden for the directory listing


#7

Hi @sakshamtalwar,

I hope your query is resolved. I am closing this support ticket for now.

Feel free to create a new support ticket if you have any queries further. :slight_smile:


#8