Learn about Centmin Mod LEMP Stack today
Register Now

Autoprotect nginx wrong path

Discussion in 'Bug Reports' started by pamamolf, May 27, 2016.

  1. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:16 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Hi

    After installing Centminmod i enable from menu 23 the github update environment and i update it using the sub menu 2 :)

    The above change the path from :

    Code:
    /usr/local/src/centminmod-123.09beta01
    to

    Code:
    /usr/local/src/centminmod/
    but the cronjob is using the old path :


    Code:
    11 */23 * * * /usr/local/src/centminmod-123.09beta01/tools/autoprotect.sh
     
  2. eva2000

    eva2000 Administrator Staff Member

    53,247
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    9:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    is this a update from older 123.09beta01 to latest 123.09beta01 only ?

    thanks for the heads up !
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,068
    427
    83
    May 31, 2014
    Ratings:
    +832
    Local Time:
    2:16 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Just tested on a fresh installation :)

    It was already updated but i just run it to be ready for next updates so running it from latest version and not from an older version...
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,247
    12,117
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,655
    Local Time:
    9:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Fixed up tools/autoprotect.sh cronjob set path with latest centmin mod 123.09beta01 updated code. Just update to latest 123.09beta01 code via centmin.sh menu option 23, submenu option 2 and then run centmin.sh once more after update code in place. The cronjob path should auto fix and you can confirm via command to list cronjobs
    Code (Text):
    crontab -l