Is your feature request related to a problem? Please describe.
The conversion will fail if webalizer is present. That was the default webstats on Plesk for many years. I have hundreds of servers to convert, I don't have time to find and convert every site to awstats, and if I blindly convert every site via something like
plesk bin site --list | while read i; do
if plesk bin site --info "$i" | grep -qi "web statistics.*webalizer"; then
echo "Converting $i..."
plesk bin site --update "$i" -webstat awstats
fi
done
it will take an incredibly long time because that causes a re-running of all the prior logs. It's also undesirable because it will wipe out the stats that had been there.
Describe the solution you'd like
It would be ideal that, if a given site is using webalizer, those files are preserved in an offline location so they're not unintentionally exposed if they had been password protected previously, but are still able to be made accessible if a customer needs them. Once that is complete, a blind conversion to awstats can occur, but in a way that does not rebuild all the history at this time, let that occur during the next normal nightly stats execution so it doesn't slow down the conversion..
Describe alternatives you've considered
Currently I'm forced to just blindly convert and remove:
plesk bin site --list | while read i; do
if plesk bin site --info "$i" | grep -qi "web statistics.*webalizer"; then
echo "Converting $i..."
plesk bin site --update "$i" -webstat awstats
fi
done
plesk installer remove --components webalizer
I'm looking for any alternative that the script can do itself, unattended, without damage.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
The conversion will fail if webalizer is present. That was the default webstats on Plesk for many years. I have hundreds of servers to convert, I don't have time to find and convert every site to awstats, and if I blindly convert every site via something like
it will take an incredibly long time because that causes a re-running of all the prior logs. It's also undesirable because it will wipe out the stats that had been there.
Describe the solution you'd like
It would be ideal that, if a given site is using webalizer, those files are preserved in an offline location so they're not unintentionally exposed if they had been password protected previously, but are still able to be made accessible if a customer needs them. Once that is complete, a blind conversion to awstats can occur, but in a way that does not rebuild all the history at this time, let that occur during the next normal nightly stats execution so it doesn't slow down the conversion..
Describe alternatives you've considered
Currently I'm forced to just blindly convert and remove:
I'm looking for any alternative that the script can do itself, unattended, without damage.
Additional context
Add any other context or screenshots about the feature request here.