A
A
alovanton2016-02-04 22:02:02
Nginx
alovanton, 2016-02-04 22:02:02

The problem of installing plugins for wordress, debian, what is the error?

Good afternoon.
There is a server on it spinning n-th number of sites.
There was a problem from cms, there is no way to install plugins, this is the error:

Произошла непредвиденная ошибка. Возможно, что-то не так с сайтом WordPress.org или с настройками вашего сервера. Если проблема не решится, обратитесь на форумы поддержки.

Rights on www-data sites, as in the web server settings.
When trying to update plugins, the error is:
An error occurred while installing WPBakery Visual Composer: Загрузка не удалась. Couldn't resolve host 'alala.ru'.

/etc/resolve.conf contains hosting and google dns.
nginx.conf
user www-data;
worker_processes 3;
pid /var/run/nginx.pid;
worker_priority -5;

events {
        worker_connections 1024;
        use epoll;
        multi_accept on;
}

http {

        include /etc/nginx/mime.types;
        default_type application/octet-stream;

        fastcgi_cache_path /var/cache/fpm levels=1:2 keys_zone=fcgi:100m;
        fastcgi_cache_key "$scheme$request_method$host$request_uri";


        access_log /var/log/nginx/access.log;
        error_log /var/log/nginx/error.log;

        sendfile on;
        keepalive_timeout 65;

        open_file_cache max=2000 inactive=20s;
        open_file_cache_valid 60s;
        open_file_cache_min_uses 5;
        open_file_cache_errors off;

        client_max_body_size 50M;
        client_body_buffer_size 1m;
        client_body_timeout 15;
        client_header_timeout 15;
        send_timeout 15;
        tcp_nopush on;
        tcp_nodelay on;

        fastcgi_buffers 256 16k;
        fastcgi_buffer_size 128k;
        fastcgi_connect_timeout 3s;
        fastcgi_send_timeout 120s;
        fastcgi_read_timeout 120s;
        fastcgi_busy_buffers_size 256k;
        fastcgi_temp_file_write_size 256k;
        reset_timedout_connection on;
        server_names_hash_bucket_size 100;

        gzip on;
        gzip_disable "msie6";
        gzip_min_length 1000;
        gzip_buffers 16 8k;
        gzip_comp_level 6;
        gzip_http_version 1.1;
        gzip_proxied any;
        gzip_types text/plain application/xml application/x-javascript text/css;

        include /etc/nginx/conf.d/*.conf;
        include /etc/nginx/sites-enabled/*;

}

config of one of the sites
server {
        listen   80; ## listen for ipv4; this line is default and implied

        root /var/www/test;
        index index.html index.htm index.php;

        server_name test;

        access_log /var/log/nginx/**/access.log;
        error_log /var/log/nginx/**/error.log;

   location / {
        try_files $uri $uri/ =404;
    }

    error_page 404 /404.html;
    error_page 500 502 503 504 /50x.html;
    location = /50x.html {
        root /usr/share/nginx/html;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/php5-fpm.sock;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include fastcgi_params;
    }
}

I'm confused, I'd be grateful for any hints.
Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MetaDone, 2016-02-05
@MetaDone

An error occurred while installing WPBakery Visual Composer: Loading failed. Couldn't resolve host 'alala.ru'.

Let's start with the fact that it is not very good to install communized plug-ins, not even so much for ethical reasons, but because it is not known what might be there.
second - the alala.ru site is unavailable
third - first deactivate the visual composer, then check the plugins for updates - it tries to download updates from a dead site and gives an error

A
alovanton, 2016-02-05
@alovanton

MetaDone
It's like a server.
And this is on a test bench, quickly raised on vps.
Why can't I see the same thing with a purchased theme ... I don't understand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question