cPFence Looking to uninstall WordFence so I tried it on one server, and the first line of output says:

Applying changes to 107 WordPress site(s) listed in: /var/log/cpfenceav/wp-sites-list.txt

It seems to be the filename is sites-list.txt (without wp-).

The third line of output reads:

You may edit the file now to exclude sites from this process, allowing for customization based on your needs.

If you remove sites from the file and re-run it generates the entire site list again. Does this mean you have to edit the file while prompting for the yes/no response? I would like to test with a reduced file list before applying this to all.

Just drawing this to your attention.

    MediaServe It seems to be the filename is sites-list.txt (without wp-).

    No, the site list name is correct. (/var/log/cpfenceav/wp-sites-list.txt)

    MediaServe If you remove sites from the file and re-run it generates the entire site list again.

    No, the list doesn’t get updated automatically when running tools manually (it only updates automatically once daily at 6:10 am to pick up new WordPress installs). You can exit, edit the list, and then re-run the tool to apply the changes only to the sites you want, giving you full control and flexibility - whether it’s 10 sites or 1000 sites.

    Here's an example of how to test and control the process:

    # Edit the file, use CTRL+K to quickly remove sites
    nano /var/log/cpfenceav/wp-sites-list.txt
    
    # Run the tool manually to test uninstalling Wordfence
    cpfence --bulk-uninstall-wp-plugin wordfence
    
    # Regenerate the site list again to uninstall from all sites
    cpfence --generate-wp-sites-list
    
    # View the full list of commands anytime by running:
    cpfence --help

    This way, you can manage specific sites easily and still revert to applying changes across all sites when needed.

      cPFence For some reason that file wasn't there the first time, but I've seen it generated on another server. Don't know what happened, but sorry about the false alarm.

        MediaServe

        No worries, Yes, the file is automatically generated after you activate WP-AutoShield, but it will only appear after the daily cron job runs at 6:10 AM.

        cPFence Sorry, but this feature is outside the scope of our software.

        Okay, then if possible implement auto server updates and auto reboot (at specified time by admin), xcloud offers this which is helpful in managing server updates and security/kernal updates without relying on third party software. Of course it will need some additional precautionary measures because if updates goes sideways server may go nuts or may not even boot if auto reboot is triggered after some wacky updates! Just a suggestion, I'd like to hear your thoughts on this..

          pratik_asabe

          For auto daily updates, we recommend using this script:
          Automating Updates and Log Maintenance on Your Enhance Server

          As for auto reboot, it’s generally not recommended for production servers due to the potential risks involved.

          If you keep your Ubuntu setup as vanilla as possible, as we always recommend, and avoid unnecessary tweaks or third-party software installations that many admins unfortunately tend to make, reboots for Ubuntu servers are generally very stable and safe. However, we still strongly recommend performing them manually under your supervision.

          Wow, cPFence is growing is functionality each day.
          Thanks for all the continued hard work, some real powerful improvements

            cosmoshosting

            Thank you for your support and for suggesting great features, it’s been a huge help. I told you 3 months ago that our team is working hard to make cPFence the go-to Swiss knife tool for every Enhance server admin, and while we’ve made great progress, we’re not there yet!

            We couldn’t have achieved this much in just 3 months without the invaluable support and feedback of this amazing community.

              • Edited

              cPFence if Enhance had cpFance ability to release 3 updates per 24hours would be awesome lol

              cPFence I wonder if you ask your team to build similar hosting panel like enhance how much time would your team say they will require to complete?

                Kosta

                Building a hosting panel is a far more complex project than creating a security tool. For example, when preparing for Enhance v12, my team and I had to be on high alert and coordinate closely with the Enhance team just to ensure cPFence transitions smoothly out of Docker and remains fully compatible. And this is just for a security tool—not a full-stack control panel managing thousands of live sites.

                Now imagine trying to pack all those sites and features into a new framework while ensuring everything works perfectly outside of Docker containers. Anyone familiar with the intricacies of Linux systems can understand just how challenging and monumental that task is!

                i hope v12 will be a solid foundation to build upon and remove limitations enhance and other tools will face. lets see how it goes

                @cPFence I love your services but it would be much better if you could send out emails or newsletters regarding the updates or improvements of cPFence. I just checked my cPFence account and confirmed that I've set every email notification on and joined the newsletter. However, I've got no email from you guys besides billing-related issues. I mean, if I hadn't had some time to browse enhance forum and landed on this thread, I didn't even know about the whole new feature and its related progress till today. 😃

                  bgeek

                  Thanks for the feedback! cPFence sends an update notification with every new release, including a link to the changelog page that provides quick insights and best practices for newly added features. If you’re not receiving those emails, we recommend switching to SMTP using the following command:

                  cpfence --enable-cpfence-smtp

                  This should ensure you stay up to date with all the latest updates and improvements.

                    cPFence Cool! Thank you very much! Will change to SMTP soon.

                    Another question is, is there a way to update all the servers at once? Currently I'm running every command on each server one by one, not too bad, but it would be much better if one change on the CP could be passed to every cluster server automatically.

                      bgeek I've started using https://servercat.app/ for SSH. It's not the greatest client (can't seem to configure any sort of keepalive, and the dialog even when you submit exit are unnecessary) but it has some features in terms of docker visuals and submitting commands easily to an Enhance cluster of servers. Only available for MacOS/iOS though.

                        MediaServe Thank you buddy! I've tried servercat once. Didn't last long as it was a bit buggy at that time.

                        I was actually expecting something like, if I do an cPFence upgrade on the CP, it can pass the upgrade command to every server in the cluster. Then, I realized this could be a bit risky.

                        bgeek

                        You’re welcome! We’re actively working on a feature to enable bulk commands across the entire cluster. It’s already being used in-house by our team, and we’re in the process of implementing it into cPFence for everyone. Stay tuned!

                        Hi CPfense this is diffrence from the topic can I use like this cpfence --blacklist-country CN,IN,TW or do i need really add it one by one ?

                          Follow @enhancecp