Join the community today
Register Now

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

    94
    14
    8
    Aug 13, 2015
    Ratings:
    +31
    Local Time:
    9:31 AM
    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

    29,763
    6,721
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,035
    Local Time:
    11:31 PM
    Nginx 1.13.x
    MariaDB 5.5
    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

    29,763
    6,721
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,035
    Local Time:
    11:31 PM
    Nginx 1.13.x
    MariaDB 5.5
    What do you get for output for cmd
    Code (Text):
    curl -I https://www.openssl.org/source/openssl-1.0.2h.tar.gz