Before update at plesk 12.5 Passenger was serving python application without any problems. I have 3 VPS and after upgrade to Onyx any of them are not serving python applications.
OS: CentOS 7.3
Plesk Onyx Version 17.0.17 Update #12
Steps to reproduce - just update to Plesk Onyx from Plesk 12.5
Important information - modules are installed and loaded, configurations are correct. Placing passenger_wsgi.py at top domain directory not initializing app startup. Also any other ways like adding directives to apache or ngnix are not helping
PassengerAppType python
PassengerStartupFile passenger_wsgi.py
or passenger_enabled on;
Reinstalliation of ngnix or passenger not helping, manual updates or downgrades too.
It just not loading app and ignoring /var/www/vhosts/domain.com/passenger_wsgi.py
As I wrote same configuration at Plesk 12.5 was working great.
nginx version: nginx/1.11.4
built with OpenSSL 1.0.2j 26 Sep 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-ipv6 --with-file-aio --with-http_v2_module --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --with-openssl=/home/builder/buildbot/nginx-1.11.4-bcos7x64/build/nginx/work/openssl-1.0.2j --with-openssl-opt='enable-tlsext zlib no-idea no-mdc2 no-rc5 no-ssl2 no-shared -fpic' --add-dynamic-module=/usr/share/passenger/ngx_http_passenger_module
passenger-memory-stats
Version: 5.1.1
Date : 2017-01-16 09:12:31 +0000
---------- Apache processes -----------
PID PPID VMSize Private Name
---------------------------------------
13318 29908 422.7 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29908 1 417.3 MB 0.1 MB /usr/sbin/httpd -DFOREGROUND
29910 29908 417.2 MB 0.0 MB /usr/sbin/httpd -DFOREGROUND
29912 29908 1137.2 MB 10.0 MB /usr/sbin/httpd -DFOREGROUND
29913 29908 1073.2 MB 11.1 MB /usr/sbin/httpd -DFOREGROUND
29914 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29915 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29916 29908 422.5 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
29917 29908 422.6 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
29918 29908 422.6 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
30095 29908 422.8 MB 1.2 MB /usr/sbin/httpd -DFOREGROUND
30114 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
31855 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
32693 29908 422.9 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
### Processes: 14
### Total private dirty RSS: 32.15 MB
---------- Nginx processes ----------
PID PPID VMSize Private Name
-------------------------------------
28750 1 23.6 MB 0.0 MB nginx: master process /usr/sbin/nginx
30072 28750 25.8 MB 2.2 MB nginx: worker process
### Processes: 2
### Total private dirty RSS: 2.21 MB
--- Passenger processes ---
### Processes: 0
### Total private dirty RSS: 0.00 MB
OS: CentOS 7.3
Plesk Onyx Version 17.0.17 Update #12
Steps to reproduce - just update to Plesk Onyx from Plesk 12.5
Important information - modules are installed and loaded, configurations are correct. Placing passenger_wsgi.py at top domain directory not initializing app startup. Also any other ways like adding directives to apache or ngnix are not helping
PassengerAppType python
PassengerStartupFile passenger_wsgi.py
or passenger_enabled on;
Reinstalliation of ngnix or passenger not helping, manual updates or downgrades too.
It just not loading app and ignoring /var/www/vhosts/domain.com/passenger_wsgi.py
As I wrote same configuration at Plesk 12.5 was working great.
nginx version: nginx/1.11.4
built with OpenSSL 1.0.2j 26 Sep 2016
TLS SNI support enabled
configure arguments: --prefix=/usr/share --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --modules-path=/usr/share/nginx/modules --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --user=nginx --group=nginx --with-ipv6 --with-file-aio --with-http_v2_module --with-http_ssl_module --with-http_realip_module --with-http_sub_module --with-http_dav_module --with-http_gzip_static_module --with-http_stub_status_module --with-openssl=/home/builder/buildbot/nginx-1.11.4-bcos7x64/build/nginx/work/openssl-1.0.2j --with-openssl-opt='enable-tlsext zlib no-idea no-mdc2 no-rc5 no-ssl2 no-shared -fpic' --add-dynamic-module=/usr/share/passenger/ngx_http_passenger_module
passenger-memory-stats
Version: 5.1.1
Date : 2017-01-16 09:12:31 +0000
---------- Apache processes -----------
PID PPID VMSize Private Name
---------------------------------------
13318 29908 422.7 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29908 1 417.3 MB 0.1 MB /usr/sbin/httpd -DFOREGROUND
29910 29908 417.2 MB 0.0 MB /usr/sbin/httpd -DFOREGROUND
29912 29908 1137.2 MB 10.0 MB /usr/sbin/httpd -DFOREGROUND
29913 29908 1073.2 MB 11.1 MB /usr/sbin/httpd -DFOREGROUND
29914 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29915 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
29916 29908 422.5 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
29917 29908 422.6 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
29918 29908 422.6 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
30095 29908 422.8 MB 1.2 MB /usr/sbin/httpd -DFOREGROUND
30114 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
31855 29908 422.8 MB 1.1 MB /usr/sbin/httpd -DFOREGROUND
32693 29908 422.9 MB 1.0 MB /usr/sbin/httpd -DFOREGROUND
### Processes: 14
### Total private dirty RSS: 32.15 MB
---------- Nginx processes ----------
PID PPID VMSize Private Name
-------------------------------------
28750 1 23.6 MB 0.0 MB nginx: master process /usr/sbin/nginx
30072 28750 25.8 MB 2.2 MB nginx: worker process
### Processes: 2
### Total private dirty RSS: 2.21 MB
--- Passenger processes ---
### Processes: 0
### Total private dirty RSS: 0.00 MB