Welcome to Centmin Mod Community
Become a Member

Upgrade auto update

Discussion in 'Install & Upgrades or Pre-Install Questions' started by ahmed, Apr 17, 2020.

  1. ahmed

    ahmed Active Member

    361
    49
    28
    Feb 21, 2017
    Ratings:
    +63
    Local Time:
    1:15 PM
    Hello eveyone, Hope you are all safe


    I think there should be an auto update option for security patches and nginx, but i cant find it on the forum search

    any help appreciated
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,522
    12,211
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,780
    Local Time:
    9:15 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    There's currently no auto update options for Nginx or PHP-FPM as they require manual triggering via centmin.sh menu option 4 and 5 and usually if you subscribe to Nginx news or Centmin Mod news forum's RSS feeds you can get notified that way. Or use Slack subscription to RSS feeds is another way Upgrade - Nginx - Redis - Insight Guide - How To Keep Informed Of Centmin Mod Related Updates. Eventual plan is for a way to at least run Nginx and PHP-FPM updates unattended but auto run will take a bit more work due to a source compile nature of Nginx and PHP-FPM routines.

    Everytime you SSH into your server, you will also be notified if there is a Nginx update and optionally can enable it for PHP version updates too via setting variable DMOTD_PHPCHECK='y' in persistent config file /etc/centminmod/custom_config.inc for Centmin Mod 123.09beta01 or newer versions. Example output from SSH log with Nginx and PHP version update checks
    Code (Text):
    ===============================================================================
    * Nginx Update May Be Available via centmin.sh menu option 4
    * see https://centminmod.com/nginx.html#nginxupgrade
    ===============================================================================
    * Current Nginx Version:           1.17.9
    * Latest Nginx Mainline Available: 1.17.10 (centminmod.com/nginxnews)
    ===============================================================================
    
    
    ===============================================================================
    * PHP Update May Be Available via centmin.sh menu option 5
    * see https://community.centminmod.com/forums/18/
    ===============================================================================
    * Current PHP Version:        7.2.29
    * Latest PHP Branch Version:  7.2.30 (github.com/php/php-src/releases)
    ===============================================================================
    
    ===============================================================================
     Centmin Mod code updates available for /usr/local/src/centminmod
     to update, run cmupdate command in SSH & re-run centmin.sh once & exit
    ===============================================================================