Join the community today
Become a Member

Strange thing, centmin is gone

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Sunka, Nov 14, 2016.

  1. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    11:49 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    After option 24 to exit from centmin:

    Code:
    -------------------------------------------------------------
     Centmin Mod remote branch has changed
     from https://github.com/centminmod/centminmod.git
     to
    -------------------------------------------------------------
     Do you want to update the Centmin Mod Git repo url ? [y/n]: y
    
    setup Centmin Mod git sourced install...
    
    download github.com centmin mod 123.09beta01 branch repo
    time git clone -b 123.09beta01 --depth=1  centminmod
    fatal: repository 'centminmod' does not exist
    
    real    0m0.001s
    user    0m0.000s
    sys     0m0.001s
    time git clone -b 123.09beta01 --depth=1  centminmod
    fatal: repository 'centminmod' does not exist
    
    real    0m0.001s
    user    0m0.000s
    sys     0m0.001s
    inc/updater_submenu.inc: line 172: cd: centminmod: No such file or directory
    chmod: cannot access ‘centmin.sh’: No such file or directory
    
    list all available local branches
            git branch -a
    fatal: Not a git repository (or any of the parent directories): .git
    
    list git log last commit
            git log -a
    fatal: Not a git repository (or any of the parent directories): .git
    
    to update centmin mod 123.09beta01 branch repo via git
            cd /usr/local/src/centminmod
            git stash
            git pull
            chmod +x centmin.sh
    
    ##################### IMPORTANT #####################
     To complete update
    ##################### IMPORTANT #####################
     run:
    
      cd /usr/local/src/centminmod
    
     before invoking centmin.sh again
    ##################### IMPORTANT #####################
    
    -------------------------------------------------------------
    fatal: Not a git repository (or any of the parent directories): .git
    fatal: Not a git repository (or any of the parent directories): .git
    -------------------------------------------------------------
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    -------------------------------------------------------------
    You have new mail in /var/spool/mail/root
    [root@upcloud ~]# centmin
    /usr/bin/centmin: line 2: pushd: /usr/local/src/centminmod: No such file or directory
    bash: centmin.sh: No such file or directory
    What to do?
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    sounds like github.com connectivity issue
    Just do 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
     
  3. Sunka

    Sunka Well-Known Member

    1,140
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    11:49 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    ta daaaaaaa... (y)

    Code:
    [root@upcloud ~]# branchname=123.09beta01
    [root@upcloud ~]# cd /usr/local/src
    [root@upcloud src]# rm -rf centminmod*
    [root@upcloud src]# git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    Cloning into 'centminmod'...
    remote: Counting objects: 343, done.
    remote: Compressing objects: 100% (310/310), done.
    remote: Total 343 (delta 63), reused 110 (delta 12), pack-reused 0
    Receiving objects: 100% (343/343), 19.50 MiB | 12.83 MiB/s, done.
    Resolving deltas: 100% (63/63), done.
    [root@upcloud src]# cd centminmod
    [root@upcloud centminmod]# ./centmin.sh
    
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com     
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 23
    --------------------------------------------------------
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu             
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Updating Current Centmin Mod code branch via git
    
     Centmin Mod local code up to date at /usr/local/src/centminmod
     no available updates at this time...
     
  4. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    I'm running into this same problem and followed the instructions, but I'm still getting the same errors.

    Running 23 ➜ 1 removes the centminmod folder.

    And this happens every time:

    Code:
    # cmupdate
    
    Detected Centmin Mod Github Remote Repo Changes
    setting up fresh /usr/local/src/centminmod code base to match
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 485, done.
    remote: Counting objects: 100% (485/485), done.
    remote: Compressing objects: 100% (425/425), done.
    remote: Total 485 (delta 112), reused 186 (delta 38), pack-reused 0
    Receiving objects: 100% (485/485), 23.21 MiB | 0 bytes/s, done.
    Resolving deltas: 100% (112/112), done.
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
     
  5. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    Code:
    # branchname=123.09beta01
    # cd /usr/local/src
    # rm -rf centminmod*
    # git clone -b ${branchname} --depth=1 https://github.com/centminmod/centminmod.git centminmod
    Cloning into 'centminmod'...
    remote: Enumerating objects: 485, done.
    remote: Counting objects: 100% (485/485), done.
    remote: Compressing objects: 100% (425/425), done.
    remote: Total 485 (delta 112), reused 186 (delta 38), pack-reused 0
    Receiving objects: 100% (485/485), 23.21 MiB | 0 bytes/s, done.
    Resolving deltas: 100% (112/112), done.
    # cd centminmod
    # ./centmin.sh
    
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: zstd,pigz,pbzip2,lbzip2
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 23
    --------------------------------------------------------
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ] 2
    --------------------------------------------------------
    
    Detected Centmin Mod Github Remote Repo Changes
    setting up fresh /usr/local/src/centminmod code base to match
    
    time git clone -b 123.09beta01 --depth=1  centminmod
    fatal: repository 'centminmod' does not exist
    
    real    0m0.001s
    user    0m0.001s
    sys    0m0.000s
    
    Error: wasn't able to successfully update /usr/local/src/centminmod code base
           restoring previous copy of /usr/local/src/centminmod code base
    
    --------------------------------------------------------
            Centmin Mod Updater Sub-Menu
    --------------------------------------------------------
    1). Setup Centmin Mod Github Environment
    2). Update Centmin Mod Current Branch
    3). Update Centmin Mod Newer Branch
    4). Exit
    --------------------------------------------------------
    Enter option [ 1 - 4 ]
     
  6. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    It means your server's network connectivity to github.com is flaky. Check that your server can connect to github.com. If github.com connectivity on your server is down or flaky then clean replacement outline above at
    https://community.centminmod.com/threads/strange-thing-centmin-is-gone.9478/#post-40077 will result in missing centminmod folder as you are unable to connect to github.com to redownload the folder from github.com

    once you have working github.com connectivity you can redo clean replacement commands to get a working centminmod directory and centmin.sh again.
     
    Last edited: May 3, 2019
  7. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    Are you sure? I can do this anytime, and I get the same error message. And yet, CM seems to have no problems downloading.
    Code:
    $ cmupdate
    
    Detected Centmin Mod Github Remote Repo Changes
    setting up fresh /usr/local/src/centminmod code base to match
    
    Cloning into 'centminmod'...
    remote: Enumerating objects: 485, done.
    remote: Counting objects: 100% (485/485), done.
    remote: Compressing objects: 100% (425/425), done.
    remote: Total 485 (delta 112), reused 186 (delta 38), pack-reused 0
    Receiving objects: 100% (485/485), 23.21 MiB | 0 bytes/s, done.
    Resolving deltas: 100% (112/112), done.
    
    Completed. Fresh /usr/local/src/centminmod code base in place
    To run centmin.sh again, you need to change into directory: /usr/local/src/centminmod
    cd /usr/local/src/centminmod
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    check your connectivity via curl header check
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    

    if any issues try verbose run too
    Code (Text):
    curl -Iv https://github.com/centminmod/centminmod
    


    don't do cmupdate before you do a clean code replacement as cmupdate needs for /usr/local/src/centminmod directory to exist before hand otherwise you get = Detected Centmin Mod Github Remote Repo Changes message

    clean code replacement if github.com connectivity works would be
    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
    
     
  9. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    curl shows no problems as long as I add -k.

    The server's hostname is a public URL properly mapped to this server and the SSL is installed with CM's own Let's Encrypt. Browser loads of my URL work fine.
     
  10. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    also the exact commands which determine if that message is triggered are below so try these commands and see what you get
    Code (Text):
    cmupdate_branchname=123.09beta01
    curl -4sL https://github.com/centminmod/centminmod/raw/${cmupdate_branchname}/gitclean.txt
    

    curl command should return = no otherwise will report = Detected Centmin Mod Github Remote Repo Changes

    then problem is on github.com's end their ssl certificate for their domain might have issues for some specific geographic locations, so that check curl would return answer other than no, and trigger Detected Centmin Mod Github Remote Repo Changes message.

    what do you get for output for openssl command to check github.com's https config/ssl cert
    Code (Text):
    echo -n | openssl s_client -connect github.com:443
     
  11. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    Code:
    # cmupdate_branchname=123.09beta01
    # curl -4sL https://github.com/centminmod/centminmod/raw/${cmupdate_branchname}/gitclean.txt
    # 
    (No output, same from my local machine.)

    Code:
    # echo -n | openssl s_client -connect github.com:443
    CONNECTED(00000003)
    depth=1 C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert SHA2 Extended Validation Server CA
    verify error:num=20:unable to get local issuer certificate
    ---
    Certificate chain
     0 s:/businessCategory=Private Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=5157550/C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=github.com
       i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA
     1 s:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA
       i:/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert High Assurance EV Root CA
    ---
    Server certificate
    -----BEGIN CERTIFICATE-----
    MIIHQjCCBiqgAwIBAgIQCgYwQn9bvO1pVzllk7ZFHzANBgkqhkiG9w0BAQsFADB1
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMTQwMgYDVQQDEytEaWdpQ2VydCBTSEEyIEV4dGVuZGVk
    IFZhbGlkYXRpb24gU2VydmVyIENBMB4XDTE4MDUwODAwMDAwMFoXDTIwMDYwMzEy
    MDAwMFowgccxHTAbBgNVBA8MFFByaXZhdGUgT3JnYW5pemF0aW9uMRMwEQYLKwYB
    BAGCNzwCAQMTAlVTMRkwFwYLKwYBBAGCNzwCAQITCERlbGF3YXJlMRAwDgYDVQQF
    Ewc1MTU3NTUwMQswCQYDVQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTEWMBQG
    A1UEBxMNU2FuIEZyYW5jaXNjbzEVMBMGA1UEChMMR2l0SHViLCBJbmMuMRMwEQYD
    VQQDEwpnaXRodWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOC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8EAjAA
    MIIBfgYKKwYBBAHWeQIEAgSCAW4EggFqAWgAdgCkuQmQtBhYFIe7E6LMZ3AKPDWY
    BPkb37jjd80OyA3cEAAAAWNBYm0KAAAEAwBHMEUCIQDRZp38cTWsWH2GdBpe/uPT
    Wnsu/m4BEC2+dIcvSykZYgIgCP5gGv6yzaazxBK2NwGdmmyuEFNSg2pARbMJlUFg
    U5UAdgBWFAaaL9fC7NP14b1Esj7HRna5vJkRXMDvlJhV1onQ3QAAAWNBYm0tAAAE
    AwBHMEUCIQCi7omUvYLm0b2LobtEeRAYnlIo7n6JxbYdrtYdmPUWJQIgVgw1AZ51
    vK9ENinBg22FPxb82TvNDO05T17hxXRC2IYAdgC72d+8H4pxtZOUI5eqkntHOFeV
    CqtS6BqQlmQ2jh7RhQAAAWNBYm3fAAAEAwBHMEUCIQChzdTKUU2N+XcqcK0OJYrN
    8EYynloVxho4yPk6Dq3EPgIgdNH5u8rC3UcslQV4B9o0a0w204omDREGKTVuEpxG
    eOQwDQYJKoZIhvcNAQELBQADggEBAHAPWpanWOW/ip2oJ5grAH8mqQfaunuCVE+v
    ac+88lkDK/LVdFgl2B6kIHZiYClzKtfczG93hWvKbST4NRNHP9LiaQqdNC17e5vN
    HnXVUGw+yxyjMLGqkgepOnZ2Rb14kcTOGp4i5AuJuuaMwXmCo7jUwPwfLe1NUlVB
    Kqg6LK0Hcq4K0sZnxE8HFxiZ92WpV2AVWjRMEc/2z2shNoDvxvFUYyY1Oe67xINk
    myQKc+ygSBZzyLnXSFVWmHr3u5dcaaQGGAR42v6Ydr4iL38Hd4dOiBma+FXsXBIq
    WUjbST4VXmdaol7uzFMojA4zkxQDZAvF5XgJlAFadfySna/teik=
    -----END CERTIFICATE-----
    subject=/businessCategory=Private Organization/jurisdictionC=US/jurisdictionST=Delaware/serialNumber=5157550/C=US/ST=California/L=San Francisco/O=GitHub, Inc./CN=github.com
    issuer=/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA
    ---
    No client certificate CA names sent
    Peer signing digest: SHA256
    Server Temp Key: ECDH, P-256, 256 bits
    ---
    SSL handshake has read 3582 bytes and written 415 bytes
    ---
    New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES128-GCM-SHA256
    Server public key is 2048 bit
    Secure Renegotiation IS supported
    Compression: NONE
    Expansion: NONE
    No ALPN negotiated
    SSL-Session:
        Protocol  : TLSv1.2
        Cipher    : ECDHE-RSA-AES128-GCM-SHA256
        Session-ID: 07ABFF84EE2705269733B46AD1C1C8FE98A3F3846C87AD6BD3F73FCEF73AA3A2
        Session-ID-ctx:
        Master-Key: 4D6BE775C792A75EDE8F6E99758EEEE2F97A7CA541BA2908A40F2EA51671FBDA311F8AF0AB87A1F150D08C2DB825FAAD
        Key-Arg   : None
        Krb5 Principal: None
        PSK identity: None
        PSK identity hint: None
        Start Time: 1556995299
        Timeout   : 300 (sec)
        Verify return code: 20 (unable to get local issuer certificate)
    ---
    DONE
     
    Last edited: May 5, 2019
  12. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    you did set this first though ?
    Code (Text):
    cmupdate_branchname=123.09beta01
    
     
  13. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    Yes.
     
  14. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    I see looks like github.com is serving you an incorrect ssl cert taking the ssl cert output from openssl command
    Code (Text):
    -----BEGIN CERTIFICATE-----
    MIIHQjCCBiqgAwIBAgIQCgYwQn9bvO1pVzllk7ZFHzANBgkqhkiG9w0BAQsFADB1
    MQswCQYD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WpanWOW/ip2oJ5grAH8mqQfaunuCVE+v
    ac+88lkDK/LVdFgl2B6kIHZiYClzKtfczG93hWvKbST4NRNHP9LiaQqdNC17e5vN
    HnXVUGw+yxyjMLGqkgepOnZ2Rb14kcTOGp4i5AuJuuaMwXmCo7jUwPwfLe1NUlVB
    Kqg6LK0Hcq4K0sZnxE8HFxiZ92WpV2AVWjRMEc/2z2shNoDvxvFUYyY1Oe67xINk
    myQKc+ygSBZzyLnXSFVWmHr3u5dcaaQGGAR42v6Ydr4iL38Hd4dOiBma+FXsXBIq
    WUjbST4VXmdaol7uzFMojA4zkxQDZAvF5XgJlAFadfySna/teik=
    -----END CERTIFICATE-----
    

    and putting it in ssl cert decoder at Certificate Decoder - Decode certificates to view their contents I get
    while testing on my server openssl returns this ssl cert which is correct
    Code (Text):
    -----BEGIN CERTIFICATE-----
    MIIHqDCCBpCgAwIBAgIQCDqEWS938ueVG/iHzt7JZjANBgkqhkiG9w0BAQsFADBw
    MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
    d3cuZGlnaWNlcnQuY29tMS8wLQYDVQQDEyZEaWdpQ2VydCBTSEEyIEhpZ2ggQXNz
    dXJhbmNlIFNlcnZlciBDQTAeFw0xNzAzMjMwMDAwMDBaFw0yMDA1MTMxMjAwMDBa
    MGoxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1T
    YW4gRnJhbmNpc2NvMRUwEwYDVQQKEwxHaXRIdWIsIEluYy4xFzAVBgNVBAMTDnd3
    dy5naXRodWIuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxtPx
    ijvPpEXyy3Bn10WfoWmKTW753Uv2PusDNmalx/7mqFqi5BqK4xWQHQgSpyhedgtW
    IXWCJGHtgFVck+DBAbHiHsE67ewpV1a2l2GpqNCFTU77UsoNVD/xPyx3k+cPX9y8
    rqjMiZB3xs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4QHfAHYApLkJkLQYWBSHuxOizGdwCjw1mAT5G9+443fNDsgN3BAAAAFa
    /UBqBAAABAMARzBFAiBFXsWaC1bup8Q0JgrY9EgIxjqi1v2fA6Zg44iRXSQyywIh
    AIzhzU1zlseJh5+yXc5U1I+pgqRmXb1XcPIsGL8oOdwjAHUAVhQGmi/XwuzT9eG9
    RLI+x0Z2ubyZEVzA75SYVdaJ0N0AAAFa/UBqZQAABAMARjBEAiBKQMsySmj69oKZ
    MeC+MDokLrrVN2tK+OMlzf1T5qgHtgIgRJLNGvfWDmMpCK/iWPSmMsYK2yYyTl9K
    btHBtP5WpkcAdgDuS723dc5guuFCaR+r4Z5mow9+X7By2IMAxHuJeqj9ywAAAVr9
    QGofAAAEAwBHMEUCIA2n0TbeAa5KbuOpnXpJbnObwckpOsHsaN+2rA7ZA16YAiEA
    l7JTnVPdmFcauzwLjgNESMRFtn4Brzm9XJTPJbaWPacAdgC72d+8H4pxtZOUI5eq
    kntHOFeVCqtS6BqQlmQ2jh7RhQAAAVr9QGoRAAAEAwBHMEUCIQCqrtuq71J6TM7w
    KMWeSAROdTa8f35GoLMImJXONSNHfQIgONvSu/VH5jlZ1+PD+b6ThFF1+pV7wp7w
    q+/8xiHUMlswDQYJKoZIhvcNAQELBQADggEBAJl+1i/OG6YV9RWz7/EwwR9UEJKk
    jEPAvL2lDQBT4kLBhW/lp6lBmUtGEVrd/egnaZe2PKYOKjDbM1O+g7CqCIkEfmY1
    5VyzLCh/p7HlJ3ltgSaJ6qBVUXAQy+tDWWuqUrRG/dL/iRaKRdoOv4cNU++DJMUX
    rRJjQHSATb2kyd102d8cYQIKcbCTJC8tqSB6Q4ZEEViKRZvXXOJm66bG8Xyn3N2v
    J4k598Gamch/NHrZOXODy3N1vBawTqFJLQkSjU4+Y//wiHHfUEYrpTg92zgIlylk
    3svH64hwWd1i3BZ2LTBq46MvQKU2D8wFdtXgbgRAPWohX79Oo6hs0Jghub0=
    -----END CERTIFICATE-----
    

    notice difference SAN cert hostnames in this correct ssl certificate which is missing in yours served by github.com - problem is on github.com's geographic servers connecting/serving your server/location it seems
    as the curl check is actually a 302 redirect from https://github.com/centminmod/centminmod/raw/123.09beta01/gitclean.txt to https://raw.githubusercontent.com/centminmod/centminmod/123.09beta01/gitclean.txt so the initial hostname for raw.* is not contained in github.com's ssl cert serving your location/server so invalid ssl cert and hence requires curl with -k flag to ignore invalid ssl certificates.
    Code (Text):
    curl -4IL https://github.com/centminmod/centminmod/raw/123.09beta01/gitclean.txt
    HTTP/1.1 302 Found
    Server: GitHub.com
    Date: Sat, 04 May 2019 18:43:14 GMT
    Content-Type: text/html; charset=utf-8
    Status: 302 Found
    Vary: X-PJAX
    Access-Control-Allow-Origin: https://render.githubusercontent.com
    Location: https://raw.githubusercontent.com/centminmod/centminmod/123.09beta01/gitclean.txt
    Cache-Control: no-cache
    Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
    X-Frame-Options: deny
    X-Content-Type-Options: nosniff
    X-XSS-Protection: 1; mode=block
    Expect-CT: max-age=2592000, report-uri="https://api.github.com/_private/browser/errors"
    Content-Security-Policy: default-src 'none'; base-uri 'self'; block-all-mixed-content; connect-src 'self' uploads.github.com www.githubstatus.com collector.githubapp.com api.github.com www.google-analytics.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com wss://live.github.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com; frame-ancestors 'none'; frame-src render.githubusercontent.com; img-src 'self' data: github.githubassets.com identicons.github.com collector.githubapp.com github-cloud.s3.amazonaws.com *.githubusercontent.com; manifest-src 'self'; media-src 'none'; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com
    Age: 0
    X-GitHub-Request-Id: 71B4:7C83:8B8763:EB069E:5CCDDD42
    
    HTTP/1.1 200 OK
    Content-Security-Policy: default-src 'none'; style-src 'unsafe-inline'; sandbox
    Strict-Transport-Security: max-age=31536000
    X-Content-Type-Options: nosniff
    X-Frame-Options: deny
    X-XSS-Protection: 1; mode=block
    ETag: "54299a48fb3ae76c848b3acc12248574d05d81b8"
    Content-Type: text/plain; charset=utf-8
    Cache-Control: max-age=300
    X-Geo-Block-List:
    X-GitHub-Request-Id: CD96:7CF4:20E4DD:264126:5CCDDD42
    Content-Length: 2
    Accept-Ranges: bytes
    Date: Sat, 04 May 2019 18:43:15 GMT
    Via: 1.1 varnish
    Connection: keep-alive
    X-Served-By: cache-jfk8143-JFK
    X-Cache: MISS
    X-Cache-Hits: 0
    X-Timer: S1556995395.998236,VS0,VE15
    Vary: Authorization,Accept-Encoding
    Access-Control-Allow-Origin: *
    X-Fastly-Request-ID: 1624e570b79fc8b4e43f3ca535219974d7b9caa5
    Expires: Sat, 04 May 2019 18:48:15 GMT
    Source-Age: 0
    

    so probably need to report this to github.com for troubleshooting and fixing
     
  15. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    Thank you so much for this info! I'll report it to them and link to this thread for more information.
     
  16. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  17. Daniel J. Lewis

    Daniel J. Lewis Award-winning podcaster and consultant

    117
    15
    18
    Oct 20, 2014
    Ratings:
    +33
    Local Time:
    5:49 AM
    1.8.0
    5.6
    This problem seems to have resolved itself unless Github did anything from that Tweet.
     
  18. eva2000

    eva2000 Administrator Staff Member

    44,693
    10,193
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,794
    Local Time:
    7:49 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Good to hear :D