Author Topic: NGINX not start - Error after upgrade CWP Pro v0.9.8.906 to CWP Pro v0.9.8.907  (Read 19553 times)

0 Members and 1 Guest are viewing this topic.

Offline
**
Hi,

After upgrade CWP Pro from v0.9.8.906 to CWP Pro v0.9.8.907 NGINX not start and this is journalctl output:

-- Unit nginx.service has begun starting up.
nginx[14497]: nginx: [emerg] module "/usr/share/nginx/modules/ngx_http_brotli_filter_module.so" version 1016000 instead of 1016001 in /etc/nginx/nginx.conf:1
nginx[14497]: nginx: configuration file /etc/nginx/nginx.conf test failed
systemd[1]: nginx.service: control process exited, code=exited status=1
systemd[1]: Failed to start The nginx HTTP and reverse proxy server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Unit nginx.service entered failed state.
systemd[1]: nginx.service failed.

The problem is that the latest CWP Pro update v0.9.8.907 it also contained the NGINX update and now NGINX requires a new version compiled for this latest NGINX update of this two file:

ngx_http_brotli_static_module.so and ngx_http_brotli_static_module.so

When i installed Brotli to work with NGINX, i followed the official CWP wiki guide:

https://wiki.centos-webpanel.com/enabling-brotli-compression-on-nginx

The guide was perfect then because it contained the files at this link

wget http://dl1.centos-webpanel.com/files/nginx/modules/nginx-brotli-modules.zip

But today these files ngx_http_brotli_static_module.so and ngx_http_brotli_static_module.so need to be updated because NGINX is updated.

I await the help of anyone who can or wants to help me !!!

Thanks in advance for the support.


« Stay hungry, stay foolish. »

Offline
**
Please also update Brotli to the latest v1.0.7

Thanks in advance for the support.


« Stay hungry, stay foolish. »

Offline
**
PROBLEM SOLVED

Hi, i discovered a great website https://www.mysterydata.com/ with a great administrator where you can find many guides for CWP and more, also by registering for free on the forum i found the solution to this problem thanks to the courtesy and extreme availability of the administrator.

SOLUTION:

https://forum.mysterydata.com/topic/2/cwp-brotli-not-work-and-nginx-not-start-after-upgrade-of-cwp-pro-from-v0-9-8-906-to-cwp-pro-v0-9-8-907-even-with-the-last-update-to-cwp-pro-v0-9-8-913/12

Good day and good work to all !


« Stay hungry, stay foolish. »