Learn about Centmin Mod LEMP Stack today
Register Now

Nginx Can`t upgrade to nginx 1.15.2

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Max, Jul 31, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    42,350
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,734
    Local Time:
    1:28 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    so immediately after that command
    Code (Text):
    axel https://nginx.org/download/nginx-1.15.2.tar.gz
    

    and type
    Code (Text):
    echo $?
    

    there's no number error code ?
     
  2. Max

    Max Member

    79
    4
    8
    Feb 17, 2018
    Ratings:
    +7
    Local Time:
    3:28 PM
    no not work

    Code:
     / ___| ___   _ __ ___   _ __  (_)| |  ___  | \ | |  __ _ (_) _ __  __  __
       | |    / _ \ | '_ ` _ \ | '_ \ | || | / _ \ |  \| | / _` || || '_ \ \ \/ /
       | |___| (_) || | | | | || |_) || || ||  __/ | |\  || (_| || || | | | >  <
        \____|\___/ |_| |_| |_|| .__/ |_||_| \___| |_| \_| \__, ||_||_| |_|/_/\_\
                               |_|                         |___/                 
    Compiling nginx...
    Starte Abruf: https://nginx.org/download/nginx-1.15.2.tar.gz
    SSL error: (null)
    
              _   _         _                _____       _  _            _
             | \ | |  __ _ (_) _ __  __  __ |  ___|__ _ (_)| |  ___   __| |
             |  \| | / _` || || '_ \ \ \/ / | |_  / _` || || | / _ \ / _` |
             | |\  || (_| || || | | | >  <  |  _|| (_| || || ||  __/| (_| |
             |_| \_| \__, ||_||_| |_|/_/\_\ |_|   \__,_||_||_| \___| \__,_|
                     |___/                                                 
                  ____                          _                    _
                 |  _ \   ___ __      __ _ __  | |  ___    __ _   __| |
                 | | | | / _ \\ \ /\ / /| '_ \ | | / _ \  / _` | / _` |
                 | |_| || (_) |\ V  V / | | | || || (_) || (_| || (_| |
                 |____/  \___/  \_/\_/  |_| |_||_| \___/  \__,_| \__,_|
                                                                      
    
    !! Nginx Failed Download !!
    try again by running centmin.sh menu option 4
    make sure you type the correct nginx version
    report errors on the forums at community.centminmod.com/forums/8/
    
                  total        used        free      shared  buff/cache   available
    Mem:           1838         593         138         138        1106         806
    Swap:          1023         143         880
    
    Dateisystem    Typ      Größe Benutzt Verf. Verw% Eingehängt auf
    /dev/vda1      ext4       41G     32G  6,8G   83% /
    devtmpfs       devtmpfs  909M       0  909M    0% /dev
    tmpfs          tmpfs     920M       0  920M    0% /dev/shm
    tmpfs          tmpfs     920M     97M  823M   11% /run
    tmpfs          tmpfs     920M       0  920M    0% /sys/fs/cgroup
    /dev/loop0     ext4      5,8G     25M  5,5G    1% /tmp
    tmpfs          tmpfs     184M       0  184M    0% /run/user/0
    
    CPU: Intel(R) Xeon(R) CPU E3-1230 v3 @ 3.30GHz (4)
    
    version increment history
    123.09beta01.b040 #Di 31. Jul 12:02:54 UTC 2018
    123.09beta01.b040 #Di 31. Jul 16:07:08 UTC 2018
    123.09beta01.b041 #Mi 1. Aug 12:58:04 UTC 2018
    123.09beta01.b041 #Mi 1. Aug 13:09:17 UTC 2018
    123.09beta01.b041 #Mi 1. Aug 15:36:14 UTC 2018
    
    last Centmin Mod local git commit entry
    /usr/local/src/centminmod /svr-setup
    
    6a3d747 George Liu Wed, 1 Aug 2018 14:11:21 +1000
    update download urls to HTTPS versions in 123.09beta01
    
    1       1       addons/avginstall.sh
    2       2       addons/ffmpeg.sh
    2       2       addons/geoip.sh
    1       1       addons/maldet.sh
    1       1       addons/nodejs.sh
    1       1       addons/rclone.sh
    3       3       centmin.sh
    1       1       example/custom_config.inc
    1       1       inc/compress.inc
    1       1       inc/cpcheck.inc
    14      14      inc/downloadlinks.inc
    59      59      inc/downloads.inc
    1       1       inc/downloads_centosfive.inc
    2       2       inc/downloads_centosseven.inc
    2       2       inc/downloads_centossix.inc
    8       8       inc/geoip.inc
    2       2       inc/mariadb_install.inc
    6       6       inc/mariadb_install103.inc
    6       6       inc/mariadb_upgrade10.inc
    6       6       inc/mariadb_upgrade101.inc
    6       6       inc/mariadb_upgrade102.inc
    6       6       inc/mariadb_upgrade103.inc
    6       6       inc/mariadb_upgrade55.inc
    2       2       inc/nginx_configure.inc
    1       8       inc/nginx_upgrade.inc
    1       1       inc/nsd_install.inc
    1       1       inc/nsd_reinstall.inc
    1       1       inc/xcache_reinstall.inc
    1       1       tools/csf-advancetweaks.sh
    8       8       tools/geoipdb-update.sh
     30 files changed, 153 insertions(+), 160 deletions(-)
    /svr-setup
    
    
     
  3. Max

    Max Member

    79
    4
    8
    Feb 17, 2018
    Ratings:
    +7
    Local Time:
    3:28 PM
    Code:
     axel https://nginx.org/download/nginx-1.15.2.tar.gz
    Starte Abruf: https://nginx.org/download/nginx-1.15.2.tar.gz
    SSL error: (null)
    
    Sie haben neue Post in /var/spool/mail/root.
    [15:46][[email protected] ~]# echo $?
    1
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    42,350
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,734
    Local Time:
    1:28 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    ok got it so error code = 1
     
  5. Max

    Max Member

    79
    4
    8
    Feb 17, 2018
    Ratings:
    +7
    Local Time:
    3:28 PM
    unfortunately 1 yes.
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,350
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,734
    Local Time:
    1:28 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    FYI, for everyone reading after each SSH command you run you can see the status code for it by using echo $? and 0 = ok while non-zero value = error of specific kind defined by the command sometimes

    i just updated 123.09beta01 nginx upgrade routine in centmin.sh menu option 4 to fall back to wget instead of axel download if error code is not = 0.

    so updated centmin mod 123.09beta01 via SSH command = cmupdate and re-run centmin.sh menu option 4
     
  7. Max

    Max Member

    79
    4
    8
    Feb 17, 2018
    Ratings:
    +7
    Local Time:
    3:28 PM
    Hello

    thanks works

    Code:
    nginx updated
    
    Current Nginx Version: 1.15.2 (010818-161345)
    * Latest Nginx Available: 1.15.2 (centminmod.com/nginxnews)
    
     
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    42,350
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,734
    Local Time:
    1:28 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    great to see it worked :)