Learn about Centmin Mod LEMP Stack today
Become a Member

Logs from beta install

Discussion in 'Beta release code' started by cloud9, Dec 31, 2021.

  1. cloud9

    cloud9 Premium Member Premium Member

    297
    84
    28
    Oct 6, 2015
    England
    Ratings:
    +143
    Local Time:
    5:14 PM
    1.21.5
    10.3.32
    A thought on the dropbox save feature


    With the save to dropbox feature that you have just added - be nice to have a Purge from dropbox feature after xx days in the config file to save me having to remember to delete the files manually
     
  2. eva2000

    eva2000 Administrator Staff Member

    48,416
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    2:14 AM
    Nginx 1.21.x
    MariaDB 10.x
    looks good there. So if PCRE2 library isn't detected will need to look at your sanitized pcre2log.
    Will see if that is something that can be done. Though it's best to use a new Dropbox account dedicated to storing these logs so you don't have to worry about purging them to save space as they're compressed logs so take up very little space disk usage wise.
     
  3. cloud9

    cloud9 Premium Member Premium Member

    297
    84
    28
    Oct 6, 2015
    England
    Ratings:
    +143
    Local Time:
    5:14 PM
    1.21.5
    10.3.32
    PM with log link for DB - I copied the log manually to DB

    There is only a PCRE log and no PCRE2 log
     
  4. cloud9

    cloud9 Premium Member Premium Member

    297
    84
    28
    Oct 6, 2015
    England
    Ratings:
    +143
    Local Time:
    5:14 PM
    1.21.5
    10.3.32
    Yep, I realise that but I dont really want another DB account as I have a 2TB one I use already
     
  5. eva2000

    eva2000 Administrator Staff Member

    48,416
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    2:14 AM
    Nginx 1.21.x
    MariaDB 10.x
    For now just manually delete them, they're located in App/your_app_folder account anyway if you use Rclone setup as per Rclone setup instructions at https://community.centminmod.com/th...x-1-21-5-pcre2-beta-testing.22326/#post-91386 so they won't mess with other Dropbox files anyway.

    Received your recent log, seems still installs PCRE v8.45 despite
    NGINX_PCRE_TWO='y' being set. Only reason it will do that right now is if you have enabled Nginx Lua or Nginx ModSecurity as they aren't compatible with PCRE2 v10.39+, so I set it to fall back to PCRE v8.45 even if NGINX_PCRE_TWO='y' is set when it detects NGINX_MODSECURITY='y' and/or ORESTY_LUANGINX='y' being enabled (both these are disabled by default). If you don't have either enabled, then would need full Nginx upgrade log pcre2log file to see.
     
  6. cloud9

    cloud9 Premium Member Premium Member

    297
    84
    28
    Oct 6, 2015
    England
    Ratings:
    +143
    Local Time:
    5:14 PM
    1.21.5
    10.3.32
    @eva2000 I dont have either of them enabled - where do I find the full log ?
     
  7. eva2000

    eva2000 Administrator Staff Member

    48,416
    11,099
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,274
    Local Time:
    2:14 AM
    Nginx 1.21.x
    MariaDB 10.x
    It would be the one automatically generated as sanitized pcre2log named log outlined at https://community.centminmod.com/th...x-1-21-5-pcre2-beta-testing.22326/#post-91355 - if it isn't automatically generated then, it probably means Nginx upgrade failed and same link has instructions on manually converting full nginx_upgrade log to sanitized pcre2log log file.

    Example cmds below

    create sanitized pcre2log
    Code (Text):
    egrep -v '/usr/local/nginx/conf/conf.d|Copyright (C)|This is free software|MERCHANTABILITY' /root/centminlogs/$(ls -rt /root/centminlogs/ | grep nginx_upgrade | tail -1) | sed -e "s|$HOSTNAME|hostname|g" > /root/centminlogs/pcre2log.log
    

    compress the log
    Code (Text):
    pigz -9k /root/centminlogs/pcre2log.log
    

    compressed vs uncompressed log sizes
    Code (Text):
    ls -lah /root/centminlogs/pcre2log.log*
    -rw-r--r-- 1 root root 1.8M Jan  1 04:07 /root/centminlogs/pcre2log.log
    -rw-r--r-- 1 root root  77K Jan  1 04:07 /root/centminlogs/pcre2log.log.gz
    

    and if you have Rclone setup send that compressed log to Dropbox
    Code (Text):
    rclone copy /root/centminlogs/pcre2log.log.gz dropbox1:
     
  8. cloud9

    cloud9 Premium Member Premium Member

    297
    84
    28
    Oct 6, 2015
    England
    Ratings:
    +143
    Local Time:
    5:14 PM
    1.21.5
    10.3.32
    Found this log from yesterday @eva2000

    Code:
    pcre2log-030122-113452.log.gz
    Added to DB