Welcome to Centmin Mod Community
Become a Member

Upgrade syntax error in latest update

Discussion in 'Install & Upgrades or Pre-Install Questions' started by briansol, Jul 15, 2024.

Tags:
  1. briansol

    briansol New Member

    15
    4
    3
    Dec 19, 2015
    CT
    Ratings:
    +11
    Local Time:
    7:14 AM
    1.27.4
    10.6.21
    Please fill in any relevant information that applies to you:
    • alma 9
    • 131 stable
    • Nginx Version Installed: i.e. 1.27.0
    • PHP Version Installed: 8.3.9
    • MariaDB MySQL Version Installed: 10.6.18
    • When was last time updated Centmin Mod code base ? : updated to stable on friday (3 days ago). logged in tonight (sunday), see new update (cmupdate)
    • Persistent Config: no

    ran cmupdate and seeing this error:

    Code:
    Updating 45a1d18..20cbd07
    Fast-forward
     addons/ioncube.sh                      | 22 ++++++++----
     centmin-cli.sh                         |  8 ++---
     centmin.sh                             |  8 ++---
     example/custom_config.inc              |  4 +--
     inc/mod_security.inc                   | 60 ++++++++++++++++++++++++++++++--
     inc/nginx_patch.inc                    | 62 ++++++++++++++++++++++++++++++++++
     patches/luanginx/luanginx-1.27.0.patch | 30 ++++++++++++++++
     7 files changed, 175 insertions(+), 19 deletions(-)
     create mode 100644 patches/luanginx/luanginx-1.27.0.patch
    No local changes to save
    Already up to date.
    [01:35][xyz@me ~]# centmin
    /usr/local/src/centminmod ~
    /usr/local/src/centminmod/inc/nginx_patch.inc: line 874: syntax error near unexpected token `}'
    /usr/local/src/centminmod/inc/nginx_patch.inc: line 874: `}'
    
    
    loaded the main CP after just fine though.

    shows the error message each centmin command as well

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,223
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    9:14 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Thanks @briansol should be fixed now, so just run command = cmupdate to update :)
     
  3. briansol

    briansol New Member

    15
    4
    3
    Dec 19, 2015
    CT
    Ratings:
    +11
    Local Time:
    7:14 AM
    1.27.4
    10.6.21
    confirmed fixed. thanks!