What type of files does ss-clean-files delete automatically
- This topic is empty.
-
AuthorPosts
-
Russell
Guestthis bash script is scheduled to run automatically, right? and what does it delete
ss-clean-files
Nathan
Guesthttps://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
Diane
Guestthe bad ones.
Arthur
GuestThe 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.Jeremy
Guesthow often does this script run?
Barbara
GuestBy default
ss-clean-files
runs onhalf-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
Kayla
GuestThe ss-config boilerplate tells you what values are supported:
https://github.com/littlebizzy/slickstack/blob/master/bash/ss-config-sample.txt
-
AuthorPosts