Welcome to Centmin Mod Community
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

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.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

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  3. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.x
    Well re-downloaded centminmod and all good on git now

    But no csf is installed
     
  4. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.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

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    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

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.x
    Do you mean the config file is tweaked or actual files ?
     
  9. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
  10. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.x
    Quite strange - Have those two files and upset is installed

    Thanks ill check that lot though
     
  11. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5
    not the files but the routine and functions that are triggered in those files
     
    • Like Like x 1
  12. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    11:11 PM
    1.11.x
    10.x
    Sorry yes i realise that :) my bad reply
     
  13. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,574
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,756
    Local Time:
    8:11 AM
    Nginx 1.13.x
    MariaDB 5.5