Want more timely Centmin Mod News Updates?
Become a Member

Upgrade Parse Error after update centminmod

Discussion in 'Install & Upgrades or Pre-Install Questions' started by trxerz, May 23, 2026.

  1. trxerz

    trxerz Member

    75
    6
    8
    Jun 25, 2015
    Ratings:
    +8
    Local Time:
    4:26 AM
    • CentOS Version: AlmaLinux 8
    • Centmin Mod Version Installed: 140.00beta01
    • Nginx Version Installed: 1.31.0
    • When was last time updated Centmin Mod code base ? : Today
    Got this parse error message after update centmin and planning to update nginx for security update. Is this error expected?

    Code:
    ./centmin.sh
    parse error: Invalid numeric literal at line 1, column 10
    parse error: Invalid numeric literal at line 1, column 10
    (23) Failed writing body
    
    Thank you

     
    Last edited: May 23, 2026
  2. trxerz

    trxerz Member

    75
    6
    8
    Jun 25, 2015
    Ratings:
    +8
    Local Time:
    4:26 AM
    I also do this quick fix, but it still show parse error massage

    Code:
    branchname=140.00beta01
    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. Jon Snow

    Jon Snow Active Member

    919
    191
    43
    Jun 30, 2017
    Ratings:
    +296
    Local Time:
    12:26 AM
    Nginx 1.13.9
    MariaDB 10.1.31
    Did it open the centminmod menu?

    I can't remember getting it yesterday when I updated nginx.
     
  4. eva2000

    eva2000 Administrator Staff Member

    59,284
    12,509
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,141
    Local Time:
    1:26 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    private message me a copy of the output you get from the file created centminsh-debug-run.txt from this command, the file will save a copy of bash -x debug run which might have sensitive info so not for public consumption
    Code (Text):
    cd /usr/local/src/centminmod
    bash -x centmin.sh > centminsh-debug-run.txt
    
     
  5. trxerz

    trxerz Member

    75
    6
    8
    Jun 25, 2015
    Ratings:
    +8
    Local Time:
    4:26 AM
    Resolved after updating with the latest cmupdate.
    Thanks eva
     
  6. eva2000

    eva2000 Administrator Staff Member

    59,284
    12,509
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,141
    Local Time:
    1:26 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You're welcome, thanks for bug report :)