nginx-ee icon indicating copy to clipboard operation
nginx-ee copied to clipboard

Applying nginx patches [FAIL]

Open SwarupGolui opened this issue 2 years ago • 6 comments

################################## Compilation summary ##################################

Detected OS : Ubuntu 20.04.6 LTS Detected Arch : x86_64

  • Nginx release : 1.24.0

  • OPENSSL : OpenSSL 1.1.1f

  • Dynamic modules YES

  • Naxsi : NO

  • RTMP : NO

    Installing dependencies [OK] Setting Up Nginx configurations [OK] Installing gcc [OK] Downloading additionals modules [OK] Downloading zlib [OK] Downloading brotli [OK] Downloading nginx [OK] Applying nginx patches [FAIL]

    Please look at /tmp/nginx-ee.log

patching file auto/options Hunk #1 FAILED at 61. Hunk #2 FAILED at 236. Hunk #3 FAILED at 456. 3 out of 3 hunks FAILED -- saving rejects to file auto/options.rej https://drive.google.com/file/d/1uI3VMT8psujKx-w5wWlQ2TmeVxcMgPZ4/view?usp=share_link This The log File

SwarupGolui avatar May 31 '23 17:05 SwarupGolui

I'm getting the same issue on Ubuntu 22.04

olegcarguy avatar Jun 01 '23 17:06 olegcarguy

@METALG0D I just tried to install the not stable version of nginx and it worked for me:

################################## Compilation summary ##################################

Detected OS : Ubuntu 22.04.2 LTS Detected Arch : x86_64

  • Nginx release : 1.25.0

  • OPENSSL : OpenSSL 3.0.2 1

  • Dynamic modules YES

  • Naxsi : NO

  • RTMP : NO

  • WordOps : YES

    Installing dependencies [OK] Installing gcc [OK] Downloading additionals modules [OK] Downloading zlib [OK] Downloading brotli [OK] Downloading nginx [OK] Applying nginx patches [OK] Configuring nginx build [OK] Compiling nginx [OK] Updating Nginx manual [OK] Performing final steps [OK] Checking nginx configuration [OK] Nginx-ee was compiled successfully !

    Installation log : /tmp/nginx-ee.log

olegcarguy avatar Jun 01 '23 17:06 olegcarguy

@METALG0D I just tried to install the not stable version of nginx and it worked for me:

################################## Compilation summary ##################################

Detected OS : Ubuntu 22.04.2 LTS Detected Arch : x86_64

  • Nginx release : 1.25.0
  • OPENSSL : OpenSSL 3.0.2 1
  • Dynamic modules YES
  • Naxsi : NO
  • RTMP : NO
  • WordOps : YES Installing dependencies [OK] Installing gcc [OK] Downloading additionals modules [OK] Downloading zlib [OK] Downloading brotli [OK] Downloading nginx [OK] Applying nginx patches [OK] Configuring nginx build [OK] Compiling nginx [OK] Updating Nginx manual [OK] Performing final steps [OK] Checking nginx configuration [OK] Nginx-ee was compiled successfully ! Installation log : /tmp/nginx-ee.log

Ok thats good, thanks for the information but i wanna install stable version..

SwarupGolui avatar Jun 01 '23 20:06 SwarupGolui

I install wordops first with the default nginx that comes with wordops. Then I run this to install the latest nginx and integrate dynamic modules that I need @METALG0D

olegcarguy avatar Jun 02 '23 14:06 olegcarguy

problem in this line on nginx-build.sh curl -sL https://raw.githubusercontent.com/kn007/patch/master/nginx.patch | patch -p1

Change with this line curl -sL https://raw.githubusercontent.com/kn007/patch/master/nginx_for_1.23.4.patch | patch -p1

but also dynamic module installation not work...

SwarupGolui avatar Jun 09 '23 09:06 SwarupGolui

Yes, I can confirm that this workaround works. Hopefully there will be a permanent fix soon.

olegcarguy avatar Jun 21 '23 21:06 olegcarguy