wordops release

https://github.com/WordOps/WordOps/releases/tag/v3.9.7

Added

  • MySQL configuration tuning
  • Cronjob to optimize MySQL databases weekly
  • WO-kernel systemd service to automatically apply kernel tweaks on server startup
  • Proftpd stack now secured with TLS
  • New Nginx package built with Brotli from operating system libraries
  • Brotli configuration with only well compressible MIME types
  • WordPress site url automatically updated to https://domain.tld when using -le/--letsencrypt flag
  • More informations during certificate issuance about validation mode selected
  • --php72 as alternative for --php
  • Automated removal of the deprecated variable ssl on; in previous Nginx ssl.conf
  • Project Contributing guidelines
  • Project Code of conduct

Changed

  • wo maintenance refactored
  • Improved debug log
  • Updated Nginx configuration process to not overwrite files with custom data (htpasswd-wo, acl.conf etc..)
  • Adminer updated to v4.7.2
  • eXtplorer updated to v2.1.13
  • Removed WordOps version from the Nginx header X-Powered-By to avoid possible security issues
  • Several code quality improvements to speed up WordOps execution
  • Few adjustements on PHP-FPM configuration (max_input_time,opcache.consistency_checks)
  • Added /dev/urandom & /dev/shm to open_basedir in PHP-FPM configuration

Fixed

  • Kernel tweaks were not applied without server reboot
  • Fail2ban standalone install
  • wo stack purge --all error due to PHP7.3 check
  • Nginx helper configuration during plugin install for Nginx fastcgi_cache and redis-cache
  • phpRedisAdmin stack installation
  • Fixed Travis CI build on pull requests
  • Nginx server_names_hash_bucket_size variable error after WordOps upgrade
VirtuBox stickied the discussion .

Thanks

  1. What does "MySQL configuration tuning" mean? Do we need to run it manually?
  2. wo secure settings deleted again
  3. WO Dashboard charts broken again

    Hello mdoooooot.

    1. WordOps automatically configure MariaDB variables (InnoDB settings) depending on the server resources during stack installation. But applying those optimization to previous WordOps installation isn't available yet (will be added into wo stack upgrade soon).
    2. What are the settings deleted ?
    3. Just try to run wo stack restart --netdata

      VirtuBox What are the settings deleted ?
      port, user, pass
      Just try to run wo stack restart --netdata
      OK this worked thx

        mdoooooot if I understand how the port can be overwritten during WordOps upgrade, I haven't be able to reproduce this issue on my servers (acl.conf & htpasswd-wo should not be overwritten during upgrade process).

        Are changes to php and nginx conf applied to existing installs or should I edit them by hand? Thanks!

          hm_u For php-fpm and nginx, configurations are already updated during WordOps upgrade.

          nsgoyat WordOps automatically create swap space is there is less than 4GB RAM available on the server.
          Otherwise, it will not create SWAP.
          But I haven't worked on this part yet, so I cannot tell you if it's working properly or not (EEv3 code)

            VirtuBox Just tried it by testing on a VPS only with 1GB RAM. It doesn't create any SWAP space. It will be great if you may look into the code and make the implementation better. I don't know much about Linux but it seems to be a good addition.

              Hello Master,
              As you have updated WO to 3.9.7.1 today, I wanted to know if there is any way to update WordOPS without making changes in NGINX Version currently installed and it's Configuration.

              I use your ultimate nginx-ee bash script to make use of Cloudflare patches, NAXSI WAF, and the latest mainline NGINX. So when I run wo update . It brings me back to NGINX 1.16.0 with the default nginx.conf. It makes me run the nginx-ee bash script again to update the nginx and then manually make changes in the configuration.

              HalilG True! I also faced the same issue with the latest version too.

              Hello @nsgoyat,
              yes I'm planning to perform Nginx configuration refresh using wo stack upgrade in the next releases, to not have to purge Nginx package during WO upgrades anymore.
              But there is already the flag --preserve available with the command wo update to upgrade WordOps without making any changes in Nginx configuration :

              wo update --preserve

              HalilG I'm thinking about disabling brotli by default, but I don't know if I should enable gzip or not.
              Share your thoughts.

                Yes, you should enable gzip by default. It would rather be an ocean of tears.

                  portofacil Ok, I have moved gzip & brotli configuration out of nginx.conf, in /etc/nginx/conf.d/gzip.conf & brotli.conf. This way you will be able to disable one of them just by moving the .conf file.
                  Example to disable brotli :

                  sudo mv /etc/nginx/conf.d/brotli.conf /etc/nginx/conf.d/brotli.conf.disabled
                  sudo service nginx restart

                  VirtuBox anyone who tries wordops for the first time and dont know the reason will definitely abondon wordops. Novice users like me cannot find brotli is the reason. I just -by chance- read someone talked about it in the forum. default should be gzip if u ask me.

                  Hosted by VirtuBox