Learn about Centmin Mod LEMP Stack today
Become a Member

Autoprotect nginx wrong path

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

  1. pamamolf

    pamamolf Premium Member Premium Member

    3,952
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    4:48 AM
    Nginx-1.17.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

    47,490
    10,762
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,730
    Local Time:
    12:48 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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

    3,952
    402
    83
    May 31, 2014
    Ratings:
    +782
    Local Time:
    4:48 AM
    Nginx-1.17.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

    47,490
    10,762
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,730
    Local Time:
    12:48 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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