• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

File manager not working

Henri

Basic Pleskian
Hello everybody,
I use plesk 12.5 on centos 6.7 respectively with all updates.

I tried precisely at a domain via the file manager files edit, unfortunately this does not work, it loads and loads but nothing happens.

what can I do?

Thanks and Greetings
Henri
 
In Error Log I found this following entry:
2016/03/10 12:50:26 [error] 25195#0: *1872 readv() failed (104: Connection reset by peer) while reading upstream,
client: IP:AD:RE:SS, server: , request: "GET /smb/log-file/browser-data/id/51?sources=%5B%22access_log%22%2C%22access_ssl_log%22%2C%22error_log%22%5D&showAfter=%7B%22access_log%22%3A38268%2C%22access_ssl_log%22%3A10258%2C%22error_log%22%3A39820%7D&short=true HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "excample.com:8443", referrer: "https://excample.com:8443/smb/log-file/browser/id/51"
 
Hi hardbrasil,
I have tested, it has not changed a single file, they all belong to the webuser

chown -CR webuser: psacln /var/www/vhosts/excample.org/httpdocs/wp/
 
I let the time just run, I guess so 5 minutes, then there is eventually a 504 Gateway Time-out of nginx.

then you will find in /var/log/sw-cp-server/error_log following entry:
2016/03/10 13:43:40 [error] 25195#0: *2009 upstream timed out (110: Connection timed out) while reading response header from upstream, client: IP:AD:RE:SS, server: , request: "GET /smb/file-manager/list/domainId/41 HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock", host: "excample.com:8443", referrer: "https://excample.com:8443/smb/web/overview/id/d:41"
 
only edit has an issue?
you can upload and delete files?
what about chmod ? if you have 4 or less for psa user, painel was not able to manipulate files
 
No the file manager is not open, then it just runs into the timeout with the 504 error, to edit etc I'm not even,
Right from the user directory I checked via ssh.
 
It's a nginx error page?
Humm...

Try to change subscription to apache, fast cgi. Cgi, etc. Nginx.

Other thing that you can do is update yum and some packages.
When I get to the office I sent a script for a yum update more restrictive (to not update all)
 
I installed all updates via yum, except for kernel bind etc

Plesk also all micro updates are installed, which I have just checked again by cli
at the subscription is not installed or active ningx all run over fast_cgi

the error message has exclusively what with ningx and plesk to do backend because otherwise no is ningx installed.

it is not because of too many files in the webuser the domain content in an example domain is just 168 KB. the example domain that I have precisely applied to the test again contains basically only the automatically provided by Plesk files errorpages, index.html, css, etc.

where and in what file is ningx for Plesk backend Configured?
 
the path for ningx you can find on kb.odin website
try to disable iptables.

have you try to search for the log lines on google?
 
Hi Henri,
Plesk uses it's own web server instance based on nginx, you can find the config files in ...

Plesk Panel Web Server - /etc/sw-cp-server/
and
Plesk Panel FPM - /etc/sw-engine/

You can make sure both are running with...
Code:
# service sw-cp-server status
# service sw-engine status
Check the sw-engine.

Then hosted domains are served via the normal...

/etc/apache2/
/etc/niginx/

Back to your problem...does this help...

https://kb.plesk.com/en/118757

I notice the first error appears to be an issue opening logs, so you may need to run...
Code:
# plesk repair fs -y


Let me know how you get on.
Regards

Lloyd
 
Hi Lloyd_mcse,
thank you for your message,
it is advisable to have a backup to customize or it's painless to make the engagement?

[user@www ~]# service sw-cp-server status
sw-cp-serverd (PID 7287) wird ausgeführt ...
[user@www ~]# service sw-engine status
sw-engine-fpm (PID 7260) wird ausgeführt ...

[user@www ~]# grep buffer /etc/sw-cp-server/config
fastcgi_buffers 16 16k;
fastcgi_buffer_size 32k;
[user@www ~]#


Thank you Henri
 
Hi Henri,
no problem, yeah it's always best to back up the original file...just in case.
Hope it resolves the issue for you, let us know how you get on.
Regards

Lloyd
 
Hi Lloyd_mcse,
you saved my day :)

[user@www ~]# service sw-cp-server restart
sw-cp-serverd beenden: [ OK ]
sw-cp-serverd starten: [ OK ]
[user@www ~]# service sw-engine restart
sw-engine-fpm beenden: [ OK ]
sw-engine-fpm starten: [ OK ]
[user@www ~]# grep buffer /etc/sw-cp-server/config
fastcgi_buffers 32 32k;
fastcgi_buffer_size 64k;
[user@www ~]# service sw-engine status
sw-engine-fpm (PID 30276) wird ausgeführt ...
[user@www ~]# service sw-cp-server status
sw-cp-serverd (PID 30249) wird ausgeführt ...

Thank you very much Henri

Now I just have to get to the Backup Manager running and then I am completely satisfied ...
 
Glad it helped :)
Start a new thread about the Backup manager and I'll take a look for you.
Regards

Lloyd
 
Back
Top