Page 1 of 1

Windows Subsystem for Linux (WSL)

Posted: Thu Sep 06, 2018 9:49 pm
by nilard
Hi all,

I tried to install Vesta into WSL (Windows Subsystem for Linux) under Ubuntu and Debian subsystems and had no luck.

Both systems got the same behaviour: nginx/php-fpm/mysql work good, default placeholder page (Powered by VESTA) is displayed in web browser under localhost URL, but https://localhost:8083 doesn't work.

There're only and same errors in /usr/local/vesta/log/nginx-error.log:

Code: Select all

2018/09/06 23:17:42 [error] 671#0: *17 upstream timed out (110: Connection timed out) while reading upstream, client: 127.0.0.1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "localhost:8083"
2018/09/06 23:24:39 [error] 2247#0: *2 upstream timed out (110: Connection timed out) while reading upstream, client: 127.0.0.1, server: _, request: "GET /login/ HTTP/1.1", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "localhost:8083"
No other errors in any other logs.

I tried all the solutions that I found on this forum, but nothing helped.

My common installation command is the following, but I tried another combination of parameters too.

Code: Select all

bash vst-install.sh --nginx yes --phpfpm yes --apache no --named no --remi no --vsftpd no --proftpd no --iptables no --fail2ban no --quota no --exim yes --dovecot no --spamassassin no --clamav no --softaculous no --mysql yes --postgresql no --hostname localhost

Re: Windows Subsystem for Linux (WSL)

Posted: Sat Sep 08, 2018 4:58 am
by grayfolk
Maybe bad upstream path?

Re: Windows Subsystem for Linux (WSL)

Posted: Sat Sep 08, 2018 5:00 am
by nilard
Where to check it?

Re: Windows Subsystem for Linux (WSL)

Posted: Sat Sep 08, 2018 5:05 am
by grayfolk
nilard wrote:
Sat Sep 08, 2018 5:00 am
Where to check it?
Actually, i'm not to using WSL. Try to check if upstream socket (fastcgi://unix:/var/run/vesta-php.sock) exists.

Re: Windows Subsystem for Linux (WSL)

Posted: Sat Sep 08, 2018 5:10 am
by nilard
Yes, this file exists, I’ve checked it. It exists when Vesta is running, and doesn’t exist when Vesta is stopped.