Learn about Centmin Mod LEMP Stack today
Become a Member

[SOLVED] fatal: repository 'centminmod' does not exist

Discussion in 'Bug Reports' started by Benjamin74, Nov 14, 2026 at 7:07 PM.

  1. Benjamin74

    Benjamin74 Member

    81
    8
    8
    May 2, 2016
    Ratings:
    +21
    Local Time:
    2:51 AM
    Please fill in any relevant information that applies to you:
    • CentOS Version: Almalinux 8
    • Centmin Mod Version Installed: 132.00stable
    • When was last time updated Centmin Mod code base ? : minutes ago

    Hello,

    Something extremely weird happened this morning.

    It may not be at all a centminmod issue, but I suspect it would need a tiny bit of hardening in centminmod to avoid this to happen again.

    Here is what happened:

    - logged into my VPS after a small vps downtime
    - saw there was some centminmod update available
    - ran 'cmupdate' as usual and it started going south:

    - so I ran centmin > Menu 23 > Option 1 (Setup Centmin Mod Github Environment)


    - Then I try to see what's inside my centminmod folder and it's basically... gone!

    I suppose it's a github issue (why doesn't it see the repo??), but it looks like the script then more or less decide to remove eveything (which it likely shouldn't do if the repo isn't available).

    Probably a very rare edge case...

    -----


    I suppose the way to solve this is manually recreating the folder :
    /usr/local/src/centminmod

    And then:

    cd /usr/local/src/centminmod
    git stash
    git pull
    chmod +x centmin.sh

    Anyone to confirm?

    Thanks a lot!
     
  2. Benjamin74

    Benjamin74 Member

    81
    8
    8
    May 2, 2016
    Ratings:
    +21
    Local Time:
    2:51 AM
    So this VPS has tailscale installed. This vps had an unclean reboot and there is tailscale bug (https://github.com/tailscale/tailscale/issues/19062) which breaks DNS resolution after a surprise reboot...

    So when "cmupdate" ran, DNS resolution didn't work, so the script couldn't resolve the github repo.

    End result : the centminmod folder has vanished and no centminmod commands aren't recognized anymore.

    Claude fixed it.

    Not sure centminmod script should verify DNS resolution works... it's likely outside its scope to make sure the server works lol
     
  3. eva2000

    eva2000 Administrator Staff Member

    60,407
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    Interesting unforeseen issue. Thanks for heads up!