Learn about Centmin Mod LEMP Stack today
Become a Member

CMM jq: error

Discussion in 'Install & Upgrades or Pre-Install Questions' started by cloud9, Aug 29, 2023.

Tags:
  1. cloud9

    cloud9 Premium Member Premium Member

    424
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    8:51 PM
    1.25.3
    10.6.x
    Please fill in any relevant information that applies to you:
    • The following test environment information is needed relevant to your EL8 server installation. Please provide the info in BBCODE CODE/CODEB tags for better formatting.

      1. Hetzner VPS CPX31
      2. Centmin Mod installed version info via command below:

      cminfo versions
      1st:
      123.09beta01.b794 #Sun Feb 20 21:42:40 UTC 2022
      ..
      last 10:
      130.00beta01.b340 #Tue May 30 19:33:13 UTC 2023
      130.00beta01.b340 #Tue May 30 19:35:32 UTC 2023
      130.00beta01.b346 #Thu Jun 1 17:51:21 UTC 2023
      130.00beta01.b355 #Fri Jun 30 16:18:06 UTC 2023
      130.00beta01.b355 #Fri Jun 30 18:16:26 UTC 2023
      130.00beta01.b372 #Wed Jul 12 12:11:00 UTC 2023
      130.00beta01.b372 #Wed Jul 12 12:13:22 UTC 2023
      130.00beta01.b375 #Thu Aug 3 18:53:27 UTC 2023
      130.00beta01.b375 #Thu Aug 3 19:13:15 UTC 2023
      130.00beta01.b376 #Sat Aug 19 17:03:50 UTC 2023

      3. Provide CPU, memory and disk info via these 3 commands below:


      lscpu
      Architecture: x86_64
      CPU op-mode(s): 32-bit, 64-bit
      Byte Order: Little Endian
      CPU(s): 4
      On-line CPU(s) list: 0-3
      Thread(s) per core: 1
      Core(s) per socket: 4
      Socket(s): 1
      NUMA node(s): 1
      Vendor ID: AuthenticAMD
      CPU family: 23
      Model: 49
      Model name: AMD EPYC Processor
      Stepping: 0
      CPU MHz: 2445.406
      BogoMIPS: 4890.81
      Hypervisor vendor: KVM
      Virtualization type: full
      L1d cache: 32K
      L1i cache: 32K
      L2 cache: 512K
      L3 cache: 16384K
      NUMA node0 CPU(s): 0-3
      Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd rsb_ctxsw ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat umip arch_capabilities
      free -mlt

      total used free shared buff/cache available
      Mem: 7630 1901 4766 14 962 5481
      Low: 7630 2863 4766
      High: 0 0 0
      Swap: 1023 0 1023
      Total: 8654 1901 5790

      df -hT

      Filesystem Type Size Used Avail Use% Mounted on
      devtmpfs devtmpfs 3.7G 0 3.7G 0% /dev
      tmpfs tmpfs 3.8G 0 3.8G 0% /dev/shm
      tmpfs tmpfs 3.8G 8.6M 3.8G 1% /run
      tmpfs tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
      /dev/sda1 ext4 151G 15G 130G 11% /
      tmpfs tmpfs 3.8G 12K 3.8G 1% /tmp
      tmpfs tmpfs 764M 0 764M 0% /run/user/0

      4. standard centos7 install - latest php and nginx and Redis


      When invoking CMM I get the following

      Just gone into cmm and out and did the yum update - still the same errors




     
  2. eva2000

    eva2000 Administrator Staff Member

    52,729
    12,075
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,602
    Local Time:
    5:51 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Is that centmin.sh run or you mean initial SSH login? If it's centmin.sh menu run, run these command to run centmin.sh in debug mode and saved contents to /root/centminlogs/centmin-debug.txt and mask out any private identifying info like IP address etc. Wait until you return to command prompt for completion of debug mode
    Code (Text):
    cmupdate
    cd /usr/local/src/centminmod
    echo 24 | bash -x centmin.sh 2>&1 | sed -e "s|$(hostname -f)|hostname|g" -e "s|$(hostname -s)|hostname|g" | tee /root/centminlogs/centmin-debug.txt
    

    then post the contents of /root/centminlogs/centmin-debug.txt to pastebin.com or gist.github.com and share the link here or private message me with the link

    If it's an issue at initial SSH login, you can manually inspect the MOTD script that is triggered via command
    Code (Text):
    /usr/local/src/centminmod/config/motd/dmotd.sh
    

    if the error occurs there, then save bash debug run to file to /root/centminlogs/centmin-debug-motd.txt
    Code (Text):
    bash -x /usr/local/src/centminmod/config/motd/dmotd.sh 2>&1 | sed -e "s|$(hostname -f)|hostname|g" -e "s|$(hostname -s)|hostname|g" | tee /root/centminlogs/centmin-debug-motd.txt
    

    mask out anything sensitive in /root/centminlogs/centmin-debug-motd.txt and post to to pastebin.com or gist.github.com and share the link here or private message me with the link

    Also do you have DMOTD_PHPCHECK='y' set in persistent config file /etc/centminmod/custom_config.inc ? If you disable that variable in persistent config file, do you still get jq errors?

    What do you get when you run the command
    Code (Text):
    getphpver
    
     
  3. cloud9

    cloud9 Premium Member Premium Member

    424
    117
    43
    Oct 6, 2015
    England
    Ratings:
    +217
    Local Time:
    8:51 PM
    1.25.3
    10.6.x
    Sorry Late again

    This has gone away since updating cmm / server