Learn about Centmin Mod LEMP Stack today
Become a Member

Installer Won't Complete on IPv6 Only.

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Indlar, Jan 23, 2024.

  1. Indlar

    Indlar New Member

    5
    0
    1
    Jan 23, 2024
    Ratings:
    +0
    Local Time:
    4:13 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ? - YES
    • Centmin Mod Version Installed: i.e. 124.00stable or 130.00beta01 - 130.00beta01
    • Nginx Version Installed: i.e. 1.25.3 NIL
    • PHP Version Installed: i.e. 7.3.33, 7.4.33, 8.0.30, 8.1.25 - Trying to Install PHP 8.2
    • MariaDB MySQL Version Installed: i.e. 10.3.xx or 10.4.xx or 10.6.xx - NIL
    • When was last time updated Centmin Mod code base ? : i.e. run centmin.sh menu option 23 submenu option 2 or cmupdate command
    • Persistent Config: Do you have any persistent config file options set in /etc/centminmod/custom_config.inc ? You can check via this command:
      Code (Text):
      cat /etc/centminmod/custom_config.inc
      

      Post output in CODE tags. - Nothing


     
  2. Indlar

    Indlar New Member

    5
    0
    1
    Jan 23, 2024
    Ratings:
    +0
    Local Time:
    4:13 PM
    Trying to Install Centmin Mod version 130.00beta01 with PHP 8.2 on IPV6 only.

    I added a persistent config file before running the installer as I read here - https://blog.centminmod.com/2019/07/15/117/centmin-mod-advanced-customised-installation-guide/

    Here is the file details -
    Code:
     # dynamically tune nginx ssl_session_cache in /usr/local/nginx/conf/ssl_include.conf based
    # on system detected memory
    # https://community.centminmod.com/posts/76615/
    echo "NGINX_SSLCACHE_ALLOWOVERRIDE='y'" >> /etc/centminmod/custom_config.inc
    
    # override Nginx default OCSP response cache refresh time 1h (3600 seconds) to 24hrs (86400 seconds)
    # https://community.centminmod.com/threads/19515/
    echo "NGINX_STAPLE_CACHE_OVERRIDE='y'" >> /etc/centminmod/custom_config.inc
    echo "NGINX_STAPLE_CACHE_TTL='86400'" >> /etc/centminmod/custom_config.inc
    
    # SET_DEFAULT_MYSQLCHARSET='utf8mb4' to override MariaDB MySQL
    # default characterset and collation from default utf8 to utf8mb4
    # https://community.centminmod.com/threads/17949/
    echo "SET_DEFAULT_MYSQLCHARSET='utf8mb4'" >> /etc/centminmod/custom_config.inc
    
    # enable nginx backlog override https://community.centminmod.com/threads/17620/
    echo "AUTOHARDTUNE_NGINXBACKLOG='y'" >> /etc/centminmod/custom_config.inc
    
    # enable zstd compressed logrotation for nginx & php-fpm https://community.centminmod.com/threads/16374/
    echo "ZSTD_LOGROTATE_NGINX='y'" >> /etc/centminmod/custom_config.inc
    echo "ZSTD_LOGROTATE_PHPFPM='y'" >> /etc/centminmod/custom_config.inc
    
    # enable letsencrypt ssl certificate + dual RSA+ECDSA ssl certs https://centminmod.com/acmetool/
    echo "LETSENCRYPT_DETECT='y'" >> /etc/centminmod/custom_config.inc
    echo "DUALCERTS='y'" >> /etc/centminmod/custom_config.inc
    
    # enable ECC 256bit ECDSA self-signed SSL certificate generation https://community.centminmod.com/posts/82177/
    echo "SELFSIGNEDSSL_ECDSA='y'" >> /etc/centminmod/custom_config.inc
    
    # enable nginx zero downtime on the fly nginx binary upgrades https://community.centminmod.com/threads/8000/
    #echo "NGINX_ZERODT='y'" >> /etc/centminmod/custom_config.inc
    
    # enable brotli compression https://community.centminmod.com/threads/10688/
    echo "NGINX_LIBBROTLI='y'" >> /etc/centminmod/custom_config.inc
    echo "NGXDYNAMIC_BROTLI='y'" >> /etc/centminmod/custom_config.inc
    
    # boost PHP 7 performance by enabling Profile Guided Optimisation flag
    # https://centminmod.com/perf/
    # will dramatically increase PHP-FPM compile/install times but result in
    # 5-20% faster PHP 7+ performance. PHP_PGO='y' only works with servers with
    # 2+ or more cpu threads. However, you can force PHP PGO optimisations with
    # 1 cpu thread servers via PHP_PGO_ALWAYS='y'
    echo "PHP_PGO_ALWAYS='y'" >> /etc/centminmod/custom_config.inc
    echo "PHP_PGO='y'" >> /etc/centminmod/custom_config.inc
    
    # php compression extensions https://community.centminmod.com/posts/70777/
    echo "PHP_BROTLI='y'" >> /etc/centminmod/custom_config.inc
    echo "PHP_LZFOUR='y'" >> /etc/centminmod/custom_config.inc
    echo "PHP_LZF='y'" >> /etc/centminmod/custom_config.inc
    echo "PHP_ZSTD='y'" >> /etc/centminmod/custom_config.inc
    
    # disable force ipv4
    FORCE_IPVFOUR='n'
    NGINX_IPV='y'
    
    # enable PHP latest version check on SSH logins MOTD
    # https://community.centminmod.com/threads/19540/
    echo "DMOTD_PHPCHECK='y'" >> /etc/centminmod/custom_config.inc
    
    # php file info
    echo "PHPFINFO='y'" >> /etc/centminmod/custom_config.inc
    
    # enable centmin.sh menu option 22 WordPress Cache Enabler Query String inclusions
    # https://community.centminmod.com/posts/85927/
    echo "WPCLI_CE_QUERYSTRING_INCLUDED='y'" >> /etc/centminmod/custom_config.inc
    When I run
    Code:
    yum -y update; curl -O https://centminmod.com/betainstaller82.sh && chmod 0700 betainstaller82.sh && bash betainstaller82.sh
    
    I got stuck here -

    Code:
    make[2]: Leaving directory `/svr-setup/axel-2.16.1/src'
    Making all in po
    make[2]: Entering directory `/svr-setup/axel-2.16.1/po'
    make[2]: Leaving directory `/svr-setup/axel-2.16.1/po'
    make[2]: Entering directory `/svr-setup/axel-2.16.1'
    make[2]: Leaving directory `/svr-setup/axel-2.16.1'
    make[1]: Leaving directory `/svr-setup/axel-2.16.1'
    Making install in src
    make[1]: Entering directory `/svr-setup/axel-2.16.1/src'
    make[2]: Entering directory `/svr-setup/axel-2.16.1/src'
     /bin/mkdir -p '/usr/local/bin'
      /bin/install -c axel '/usr/local/bin'
    make[2]: Nothing to be done for `install-data-am'.
    make[2]: Leaving directory `/svr-setup/axel-2.16.1/src'
    make[1]: Leaving directory `/svr-setup/axel-2.16.1/src'
    Making install in po
    make[1]: Entering directory `/svr-setup/axel-2.16.1/po'
    installing de.gmo as /usr/local/share/locale/de/LC_MESSAGES/axel.mo
    installing es.gmo as /usr/local/share/locale/es/LC_MESSAGES/axel.mo
    installing id_ID.gmo as /usr/local/share/locale/id_ID/LC_MESSAGES/axel.mo
    installing it.gmo as /usr/local/share/locale/it/LC_MESSAGES/axel.mo
    installing ja.gmo as /usr/local/share/locale/ja/LC_MESSAGES/axel.mo
    installing nl.gmo as /usr/local/share/locale/nl/LC_MESSAGES/axel.mo
    installing pt_BR.gmo as /usr/local/share/locale/pt_BR/LC_MESSAGES/axel.mo
    sed: can't read centmin.sh: No such file or directory
    /usr/local/src/centminmod
    betainstaller82.sh: line 2077: cd: /usr/local/src/centminmod: No such file or directory
    sed: can't read centmin.sh: No such file or directory
    betainstaller82.sh: line 2079: ./centmin.sh: No such file or directory
    ./centmin.sh install completion
    
    /root/.bashrc modifications
    alias command setup
    
    Created command shortcuts:
    * type cmdir to change to Centmin Mod install directory
      at /usr/local/src/centminmod
    * type centmin call and run centmin.sh
      at /usr/local/src/centminmod/centmin.sh
    
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 252.9105 seconds
    tail: cannot open ‘/root/centminlogs/centminmod_yumtimes_*.log’ for reading: No such file or directory
    tail: cannot open ‘/root/centminlogs/centminmod_downloadtimes_*.log’ for reading: No such file or directory
    tail: cannot open ‘/root/centminlogs/centminmod_ngxinstalltime_*.log’ for reading: No such file or directory
    
    I've reinstalled the server and redo and still got stuck at the same place.
     
  3. eva2000

    eva2000 Administrator Staff Member

    51,261
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,375
    Local Time:
    1:13 AM
    Nginx 1.25.x
    MariaDB 10.x
  4. Indlar

    Indlar New Member

    5
    0
    1
    Jan 23, 2024
    Ratings:
    +0
    Local Time:
    4:13 PM
    Hi,
    Code:
    # ls -lhrt /root/centminlogs/
    Got this only -

    Code:
    total 104K
    -rw-r--r-- 1 root root  19 Jan 23 14:30 getcmtime_installtime_230124-142404.log
    -rw-r--r-- 1 root root 92K Jan 23 14:30 installer_cmm_230124-142404.log
    -rw-r--r-- 1 root root  56 Jan 23 14:30 firstyum_installtime_230124-142404.log
    -rw-r--r-- 1 root root 463 Jan 23 14:30 install_time_stats_230124-142404.log
    Here is the installer_cmm_230124-142404.log

    Code:
     File: installer_cmm_230124-142404.log
    
    ^[[1;33;40mDownload pcre-8.45.tar.gz ...
    ^[(B^[[m--2024-01-23 14:29:03--  https://centminmod.com/centminmodparts/pcre/pcre-8.45.tar.gz
    Resolving centminmod.com (centminmod.com)... 2606:4700::6812:baa, 2606:4700::6812:aaa, 104.18.10.170, ...
    Connecting to centminmod.com (centminmod.com)|2606:4700::6812:baa|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 2096552 (2.0M) [application/octet-stream]
    Saving to: ‘pcre-8.45.tar.gz’
    
         0K .......... .......... .......... .......... ..........  2% 8.70M 0s
        50K .......... .......... .......... .......... ..........  4%  120M 0s
       100K .......... .......... .......... .......... ..........  7%  105M 0s
       150K .......... .......... .......... .......... ..........  9% 10.2M 0s
       200K .......... .......... .......... .......... .......... 12% 68.2M 0s
       250K .......... .......... .......... .......... .......... 14% 67.4M 0s
       300K .......... .......... .......... .......... .......... 17% 88.9M 0s
       350K .......... .......... .......... .......... .......... 19% 77.2M 0s
       400K .......... .......... .......... .......... .......... 21% 13.6M 0s
       450K .......... .......... .......... .......... .......... 24%  113M 0s
       500K .......... .......... .......... .......... .......... 26% 98.0M 0s
       550K .......... .......... .......... .......... .......... 29% 77.1M 0s
       600K .......... .......... .......... .......... .......... 31% 88.9M 0s
       650K .......... .......... .......... .......... .......... 34% 67.9M 0s
       700K .......... .......... .......... .......... .......... 36%  163M 0s
       750K .......... .......... .......... .......... .......... 39% 16.7M 0s
       800K .......... .......... .......... .......... .......... 41% 95.2M 0s
       850K .......... .......... .......... .......... .......... 43% 71.3M 0s
       900K .......... .......... .......... .......... .......... 46% 66.2M 0s
       950K .......... .......... .......... .......... .......... 48%  126M 0s
      1000K .......... .......... .......... .......... .......... 51% 87.3M 0s
      1050K .......... .......... .......... .......... .......... 53% 84.6M 0s
      1100K .......... .......... .......... .......... .......... 56% 76.0M 0s
      1150K .......... .......... .......... .......... .......... 58% 64.9M 0s
      1200K .......... .......... .......... .......... .......... 61% 96.5M 0s
      1250K .......... .......... .......... .......... .......... 63% 80.3M 0s
      1300K .......... .......... .......... .......... .......... 65%  163M 0s
      1350K .......... .......... .......... .......... .......... 68% 92.3M 0s
      1400K .......... .......... .......... .......... .......... 70%  155M 0s
      1450K .......... .......... .......... .......... .......... 73% 85.4M 0s
      1500K .......... .......... .......... .......... .......... 75% 74.0M 0s
      1550K .......... .......... .......... .......... .......... 78% 57.7M 0s
      1600K .......... .......... .......... .......... .......... 80% 79.9M 0s
      1650K .......... .......... .......... .......... .......... 83%  101M 0s
      1700K .......... .......... .......... .......... .......... 85% 6.77M 0s
      1750K .......... .......... .......... .......... .......... 87% 83.8M 0s
      1800K .......... .......... .......... .......... .......... 90% 83.7M 0s
      1850K .......... .......... .......... .......... .......... 92% 75.0M 0s
      1900K .......... .......... .......... .......... .......... 95% 10.0M 0s
      1950K .......... .......... .......... .......... .......... 97%  141M 0s
      2000K .......... .......... .......... .......... .......   100%  201M=0.05s
    
    2024-01-23 14:29:06 (41.4 MB/s) - ‘pcre-8.45.tar.gz’ saved [2096552/2096552]
    
    ^[[1;33;40mDownload done.
    ^[(B^[[m^[[1;33;40mpcre-8.45.tar.gz valid file.
    ^[(B^[[m
    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking for a race-free mkdir -p... /bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports nested variables... (cached) yes
    checking whether make supports the include directive... yes (GNU style)
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    
     
  5. eva2000

    eva2000 Administrator Staff Member

    51,261
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,375
    Local Time:
    1:13 AM
    Nginx 1.25.x
    MariaDB 10.x
  6. Indlar

    Indlar New Member

    5
    0
    1
    Jan 23, 2024
    Ratings:
    +0
    Local Time:
    4:13 PM
    For unknown reason, I can't get file on my Dropbox account.

    I will try to get IPV4, don't think I am up for all the trouble.
     
  7. atomi

    atomi New Member

    21
    8
    3
    Jul 14, 2018
    Ratings:
    +17
    Local Time:
    5:13 PM
    1.25.x
    10
    @Indlar you are missing echo command in both "disable force ipv4" lines which are quite important when trying to install IPv6 only server.

    I had a lazy sunday so I decided to try installing CMM server with only ipv6 but unfortunately there are plenty of github.com references which doesn't work with IPv6 starting with CMM. I modified betainstaller82.sh so that it uses CMM gitlab.com backup so installer would proceed. It finished but didnt install nginx and php. mariaDB got installed and it was very incompleted installation
    I guess you should use some proxy, vpn or NAT64 to get working
     
  8. eva2000

    eva2000 Administrator Staff Member

    51,261
    11,900
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,375
    Local Time:
    1:13 AM
    Nginx 1.25.x
    MariaDB 10.x
    Don't use gitlab versions, there's just backup of github one so references github.com anyway.