Learn about Centmin Mod LEMP Stack today
Register Now

cmupdate problem

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Meirami, Oct 7, 2018.

  1. Meirami

    Meirami Active Member

    154
    28
    28
    Dec 21, 2017
    Ratings:
    +63
    Local Time:
    11:19 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit ?
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.15.5
    • PHP Version Installed: 7.2.10
    • MariaDB MySQL Version Installed: 10.1.36
    • When was last time updated Centmin Mod code base ? : fresh install few days ago
    • 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):
      PHPFINFO='y'
      LETSENCRYPT_DETECT=y
      
    I tryed cmupdate, and got this.
    Code:
    # cmupdate                                             
    *** Please tell me who you are.
    
    Run
    
      git config --global user.email "you@example.com"
      git config --global user.name "Your Name"
    
    to set your account's default identity.
    Omit --global to set the identity only in this repository.
    
    fatal: unable to auto-detect email address (got 'root@myvps.(none)')
    Cannot save the current index state
    Updating 8046d1e..27dcf78
    error: Your local changes to the following files would be overwritten by merge:
    centmin.sh
    Please, commit your changes or stash them before you can merge.
    Aborting
    The autodetection fails. On the others vps' I think I have used root@hostname with autodetection succesfully. How to fix this?

     
  2. eva2000

    eva2000 Administrator Staff Member

    59,283
    12,508
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,140
    Local Time:
    6:19 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    rm /etc/centminmod/email-primary.ini file and then re-run centmin.sh when prompted for email addresses, set a valid working email of yours for primary and secondary email prompts. Then should fix it
     
  3. Meirami

    Meirami Active Member

    154
    28
    28
    Dec 21, 2017
    Ratings:
    +63
    Local Time:
    11:19 PM
    No such a file.
    I run centmin.sh and set email. Now update worked.
    Thanks!