close

April 2024 only! Join our Discord free of charge.

Slick­Stack
Lightning-fast WordPress on Nginx

What type of files does ss-clean-files delete automatically

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #3417 Reply
    Russell
    Guest

    this bash script is scheduled to run automatically, right? and what does it delete

    ss-clean-files

    #3418 Reply
    Nathan
    Guest

    https://github.com/littlebizzy/slickstack/blob/master/bash/ss-clean-files.txt

    previously it was controversial cuz it deleted tons of stuff, mostly based on the whims of LittleBizzy and their private hosting clients, but in 2022 it was creatly simplified and now it will delete mostly only malware, very old/dead plugins, and plugins that directly conflict with SlickStack Nginx ex. cache plugins and AMP plugins

    #3419 Reply
    Diane
    Guest

    the bad ones.

    #3450 Reply
    Arthur
    Guest

    The below WP plugins are force deleted:

    1. known malware

    2. exploitable software that’s no longer being patched (this usually means abandoned and unsafe plugins)

    3. plugins that cause database thrashing or server crashes, either because they are no longer patched or have a long history of bad code

    4. plugins that conflict with SlickStack, which usually means AMP plugins or WP cache plugins

    It also force deletes a few other minor files on your server like deprecated SlickStack files, unsafe file extensions such as .exe and some other random items that won’t affect 99% of SlickStack websites.

    #4745 Reply
    Jeremy
    Guest

    how often does this script run?

    #5342 Reply
    Barbara
    Guest

    By default ss-clean-files runs on half-daily interval. You can change this if needed, but a recent patch means that if SlickStack detects your setting is not valid (one of either hourly|quarter-daily|half-daily|daily) then it will force run the script on the default half-daily interval.

    This is to prevent abuse, we saw a few third party freelancers logging into SlickStack servers and disabling some scripts, causing malware infections

    #5343 Reply
    Kayla
    Guest

    The ss-config boilerplate tells you what values are supported:

    https://github.com/littlebizzy/slickstack/blob/master/bash/ss-config-sample.txt

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Reply #3419 in What type of files does ss-clean-files delete automatically

Thanks to our generous sponsors for their support!