Want to subscribe to topics you're interested in?
Become a Member

Install New Install Issue

Discussion in 'Install & Upgrades or Pre-Install Questions' started by cloud9, Sep 12, 2016.

  1. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    Just done a new curl one liner install (latest beta) on a vps, all was good

    Then run the github menu - again all good

    But then the centminmod directory has been completely erased


    This happened a few weeks ago and i thought it was my doing but this time it was definitely after running centmin mod update 1 followed by 2 - then centminmod directory empty
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    centmin.sh menu option 23 submenu option 1 deletes /usr/local/src/centminmod install directory and recreates it via git clone. So after that run, you need to exit centmin.sh menu option 24, and re-cd into the directory to re-run centmin.sh menu options. As such you do not need to run centmin.sh menu option 23 submenu option 2 directly after centmin.sh menu option 23 submenu option 1 as you already have latest git cloned repo of centmin mod code.

    If it's still missing then could be git cloned failed at centmin.sh menu option 23 submenu option 1.

    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. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    Well re-downloaded centminmod and all good on git now

    But no csf is installed
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    FYI, 123.09beta01 curl install method already sets up git environment anyway so no need to do centmin.sh menu option 23 submenu option 1
     
  5. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's a problem then as CSF is installed by default

    You'll need to post on the forums with the following info
    • Server or VPS details ? XEN, KVM, OpenVZ, VMWare or dedicated server ? OS ? CentOS 6.7 or 7.2 ? 32bit or 64bit ?
    • What version of Centmin Mod ? .07 stable or 08 stable or .09 beta01 or another branch version ?
    • Was it fresh install or upgrade ?
    • Method of install ? Via centmin.sh menu option 1, Git install or curl one liner install as outlined at centminmod.com/download.html ?
    • How long ago did you install Centmin Mod ?
    • There's numerous code changes, bug fixes over time, so ensure you have latest Centmin Mod code installed by upgrading your Centmin Mod code as instructed below.

    Troubleshooting Initial Install



    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues
     
  6. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    KVM VPS CentOS7 latest
    .09 Beta 01
    Fresh Install
    Curl One Liner
    1 hour ago ish - so latest build

    Definitely missing - have installed csf manually now
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    having the install logs is important as CSF install routine does more than just install CSF Firewall, but tweaks it so you'd be missing all the tweaks ! Probably best to do a fresh centmin mod install again.

    To troubleshoot initial installation, you need to check the initial install log at /root/centminlogs and instructions under Sharing logs and errors heading for using Pastebin.com or Gists to share a sanitised version of the contents of the initial install log. You can see full details at How to troubleshoot Centmin Mod initial install issues
     
  8. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    Do you mean the config file is tweaked or actual files ?
     
  9. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  10. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    Quite strange - Have those two files and upset is installed

    Thanks ill check that lot though
     
  11. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    not the files but the routine and functions that are triggered in those files
     
  12. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    12:57 PM
    1.25.3
    10.6.x
    Sorry yes i realise that :) my bad reply
     
  13. eva2000

    eva2000 Administrator Staff Member

    55,404
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,836
    Local Time:
    9:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+