Want more timely Centmin Mod News Updates?
Become a Member

i am not able to update my centminmod php as well as ningx

Discussion in 'Install & Upgrades or Pre-Install Questions' started by drabhaydaga, Mar 19, 2020.

  1. drabhaydaga

    drabhaydaga New Member

    16
    2
    3
    Nov 24, 2018
    Ratings:
    +2
    Local Time:
    3:09 PM
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 6 32bit or 64bit / CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. 123.09beta01
    • Nginx Version Installed: i.e. 1.15.3
    • PHP Version Installed: i.e. 7.2.9
    • MariaDB MySQL Version Installed: i.e. 10.2.xx
    • When was last time updated Centmin Mod code base ? : cannot update tried yesterday
    • Persistent Config: no
      Post output in CODE tags.
    • while starting /usr/local/src/centminmod/centmin.sh
      /usr/local/src/centminmod/centmin.sh
      /usr/local/src/centminmod/centmin.sh: line 60: inc/memcheck.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 180: inc/centos_seven.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 181: seven_function: command not found
      /usr/local/src/centminmod/centmin.sh: line 946: inc/fastmirrors.conf: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 947: inc/qrencode.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 948: inc/tcp.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 949: inc/customrpms.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 950: inc/pureftpd.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 951: inc/htpasswdsh.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 952: inc/gcc.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 953: inc/entropy.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 954: inc/cpucount.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 955: inc/motd.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 956: inc/cpcheck.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 957: inc/lowmem.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 958: inc/memcheck.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 959: inc/ccache.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 960: inc/bookmark.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 961: inc/centminlogs.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 962: inc/yumskip.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 963: inc/questions.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 964: inc/downloads_centosfive.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 965: inc/downloads_centossix.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 966: inc/downloads_centosseven.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 967: inc/downloadlinks.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 968: inc/libzip.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 969: inc/downloads.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 970: inc/yumpriorities.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 971: inc/yuminstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 972: inc/centoscheck.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 973: inc/axelsetup.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 974: inc/phpfpmdir.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 975: inc/nginx_backup.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 976: inc/nsd_submenu.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 977: inc/nsd_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 978: inc/nsdsetup.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 979: inc/nsd_reinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 980: inc/compress.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 981: inc/compress_php.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 982: inc/nginx_logformat.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 983: inc/logrotate_nginx.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 984: inc/logrotate_phpfpm.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 985: inc/logrotate_mysql.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 986: inc/nginx_mimetype.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 987: inc/openssl_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 988: inc/brotli.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 989: inc/nginx_patch.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 990: inc/fastopen.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 991: inc/mod_security.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 992: inc/nginx_configure.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 994: inc/geoip.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 995: inc/luajit.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 996: inc/phpinfo.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 997: inc/nginx_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 998: inc/nginx_upgrade.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 999: inc/mailparse.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1000: inc/imagick_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1001: inc/memcached_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1002: inc/redis_submenu.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1003: inc/redis.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1004: inc/mongodb.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1005: inc/zopfli.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1006: inc/php_mssql.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1007: inc/mysql_proclimit.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1008: inc/mysqltmp.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1009: inc/setmycnf.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1010: inc/mariadb_install102.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1011: inc/mariadb_install103.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1012: inc/mariadb_install104.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1013: inc/mariadb_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1014: inc/mysql_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1015: inc/mariadb_submenu.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1016: inc/postgresql.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1017: inc/zendopcache_tweaks.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1018: inc/php_extraopts.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1019: inc/mysql_legacy.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1020: inc/imap.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1021: inc/fileinfo.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1022: inc/php_configure.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1023: inc/phpng_download.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1024: inc/php_upgrade.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1025: inc/php_patch.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1026: inc/suhosin_setup.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1027: inc/nginx_pagespeed.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1028: inc/nginx_modules.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1029: inc/nginx_modules_openresty.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1030: inc/sshd.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1031: inc/openvz_stack.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1032: inc/siegeinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1033: inc/python_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1034: inc/nginx_addvhost.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1035: inc/wpsetup.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1036: inc/wpsetup-fastcgi-cache.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1037: inc/mariadb_upgrade.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1038: inc/mariadb_upgrade53.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1039: inc/mariadb_upgrade55.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1040: inc/mariadb_upgrade10.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1041: inc/mariadb_upgrade101.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1042: inc/mariadb_upgrade102.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1043: inc/mariadb_upgrade103.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1044: inc/mariadb_upgrade104.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1045: inc/nginx_errorpage.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1046: inc/sendmail.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1047: inc/postfix.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1048: inc/diskalert.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1049: inc/phpsededit.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1050: inc/csfinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1051: inc/csftweaks.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1052: inc/xcache_installask.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1053: inc/xcache_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1054: inc/xcache_reinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1055: inc/igbinary.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1056: inc/apcprotect.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1057: inc/apcinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1058: inc/apcreinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1059: inc/timezonedb.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1060: inc/zendopcache_55ini.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1061: inc/zendopcache_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1062: inc/zendopcache_upgrade.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1063: inc/zendopcache_reinstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1064: inc/zendopcache_submenu.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1065: inc/ffmpeginstall.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1066: inc/shortcuts_install.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1067: inc/memcacheadmin.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1068: inc/mysqlsecure.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1069: inc/pcre.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1070: inc/jemalloc.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1071: inc/zlib.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1072: inc/google_perftools.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1073: inc/updater_submenu.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1074: inc/centminfinish.inc: No such file or directory
      /usr/local/src/centminmod/centmin.sh: line 1076: checkcentosver: command not found
      /usr/local/src/centminmod/centmin.sh: line 1077: mysqltmpdir: command not found
      /usr/local/src/centminmod/centmin.sh: line 1085: cpcheck: command not found
      /usr/local/src/centminmod/centmin.sh: line 1108: setupdate: command not found
      /usr/local/src/centminmod/centmin.sh: line 1405: checkfor_lowmem: command not found



    • while upgrading ningx following error :-

      /usr/local/src/centminmod/centmin.sh: line 2879: centminlog: command not found
      /usr/local/src/centminmod/centmin.sh: line 2880: diskalert: command not found
      /usr/local/src/centminmod/centmin.sh: line 2881: csftweaks: command not found
      /usr/local/src/centminmod/centmin.sh: line 2886: ccacheinstall: command not found
      /usr/local/src/centminmod/centmin.sh: line 2889: yumskipinstall: command not found
      /usr/local/src/centminmod/centmin.sh: line 2893: funct_nginxupgrade: command not found
      Total Nginx Upgrade Time: .008160505 seconds


    • while upgrading php :-
      /usr/local/src/centminmod/centmin.sh: line 2920: centminlog: command not found
      /usr/local/src/centminmod/centmin.sh: line 2921: diskalert: command not found
      /usr/local/src/centminmod/centmin.sh: line 2922: csftweaks: command not found
      /usr/local/src/centminmod/centmin.sh: line 2927: ccacheinstall: command not found
      /usr/local/src/centminmod/centmin.sh: line 2930: yumskipinstall: command not found
      /usr/local/src/centminmod/centmin.sh: line 2934: funct_phpupgrade: command not found
      Total PHP Upgrade Time: .008271599 seconds

    • while upgrading via option 23



      /usr/local/src/centminmod/centmin.sh: line 3322: updatersubmenu: command not found

     
  2. eva2000

    eva2000 Administrator Staff Member

    43,579
    9,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,264
    Local Time:
    7:39 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    are you running centmin.sh as full root user or sudo user ? Centmin Mod 123.09beta01 expects full root user and not sudo user for initial installs and has work done towards supporting sudo user with root access in 123.09beta01 post-initial install if you run sudo centmin.sh (not really tested as yet though).

    what is output for
    Code (Text):
    id
    ls -lah /usr/local/src/
     
  3. drabhaydaga

    drabhaydaga New Member

    16
    2
    3
    Nov 24, 2018
    Ratings:
    +2
    Local Time:
    3:09 PM
    [15:35][****@***** ~]# id
    uid=0(root) gid=0(root) groups=0(root)
    [15:36][****@***** ~]# id
    uid=0(root) gid=0(root) groups=0(root)
    [15:36][****@***** ~]# ls -lah /usr/local/src/
    total 4.0K
    drwxr-xr-x. 3 root root 24 Jun 18 2019 .
    drwxr-xr-x. 18 root root 203 Dec 18 2018 ..
    drwxr-xr-x 19 root root 4.0K Mar 18 14:09 centminmod

    i am doing it with root user
     
  4. eva2000

    eva2000 Administrator Staff Member

    43,579
    9,884
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,264
    Local Time:
    7:39 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    looks ok there and main directory is there but maybe contents of Centmin Mod code directory at /usr/local/src/centminmod was accidentally deleted

    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

    first verify that github repo link is working and you don't have connectivity issues to github.com via curl header inspection - look for HTTP 200 status code = ok
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    

    example
    Code (Text):
    curl -I https://github.com/centminmod/centminmod
    HTTP/1.1 200 OK
    Server: GitHub.com
    Date: Fri, 03 May 2019 09:37:50 GMT
    Content-Type: text/html; charset=utf-8
    Status: 200 OK
    

    Then do clean Centmin Mod code replacement using below SSH commands
    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