Want to subscribe to topics you're interested in?
Become a Member

Problem with updating nginx to 1.11.3

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by jscott, Aug 25, 2016.

  1. jscott

    jscott Member

    102
    14
    18
    Aug 13, 2015
    Ratings:
    +33
    Local Time:
    10:40 PM
    I am trying to update a test server from .08 to .09beta01.

    centmin install seems to have gone fine, however, I was running an old version of nginx.

    I am trying to update from
    Code (Text):
    -------------------------------------------------------------
    * Current Nginx Version: 1.9.3
    * Latest Nginx Available: 1.11.3
    -------------------------------------------------------------
    


    and I am getting two errors. The first one may be from multiple failed runs...
    Code (Text):
    Download nginx-sticky-1.2.6.tar.gz ...
    nginx-sticky-1.2.6.tar.gz Archive found, skipping download...
    nginx-sticky-1.2.6.tar.gz valid file.
    mv: cannot move `nginx-goodies-nginx-sticky-module-ng-c78b7dd79d0d' to `nginx-sticky-module-1.2.6/nginx-goodies-nginx-sticky-module-ng-c78b7dd79d0d': Directory not empty
    

    Code (Text):
    HTTP/1.1 200 OK
    Download openssl-1.0.2h.tar.gz ...
    Initializing download: https://www.openssl.org/source/openssl-1.0.2h.tar.gz
    Too many redirects.
    
    Error: openssl-1.0.2h.tar.gz download failed.
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    Total Nginx Upgrade Time: 21.492127714 seconds
    


    I also noticed this on my LE test machine, but ignored it as I did not need the most up to day nginx....

    -John
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,050
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    12:40 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    seems to be failing due to openssl 1.0.2h download failure which could be due to specific network connectivity issues between your server and download (either end)

    Code (Text):
    HTTP/1.1 200 OK
    Download openssl-1.0.2h.tar.gz ...
    Initializing download: https://www.openssl.org/source/openssl-1.0.2h.tar.gz
    Too many redirects.
    
    Error: openssl-1.0.2h.tar.gz download failed.
    check Centmin Mod log for details at /root/centminlogs/
    Aborting script...
    Total Nginx Upgrade Time: 21.492127714 seconds


    how did you update to 123.09beta01 ? via centmin.sh menu option 23 submenu option 3 ? if so did you exit centmin.sh after update and re-run centmin.sh menu option 4 or did you run centmin.sh menu option 4 in same session as menu option 23 submenu option 3 ? if you did the later, centmin.sh would still see the old 123.08* code not the updated

    You can try a fresh Centmin Mod code replacement by wiping /usr/local/src/centminmod as outlined similar to update guide here for older than .07 releases.

    replace branchname with branch you want either 123.08stable or 123.09beta01
    Code (Text):
    branchname=123.09beta01
    cd /usr/local/src
    rm -rf centminmod*
    git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    cd centminmod
    ./centmin.sh
     
    Last edited: Aug 25, 2016
  3. eva2000

    eva2000 Administrator Staff Member

    36,050
    7,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,192
    Local Time:
    12:40 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    What do you get for output for cmd
    Code (Text):
    curl -I https://www.openssl.org/source/openssl-1.0.2h.tar.gz
     
..