WP Workbench version 1.0.8 released (Pro repos only)

Changes since 1.0.7:

  • Fix cloning from parent directory copying into itself and causing an infinite loop that fills up disk space

  • Add improvements to database naming when cloning

  • Add error handling if running WP-CLI fails

  • Add ability to automatically install missing WP-CLI command

  • Add Virtualmin CLI support to install, upgrade, or display instance info using WP-CLI

    ~# virtualmin configure-script --script-type wordpress --domain example.tld --wp-cli install
    Installing WP-CLI ..
    .. done : successfully install WP-CLI command
    
    ~# virtualmin configure-script --script-type wordpress --domain example.tld --wp-cli version
    Checking installed WP-CLI version ..
      WP-CLI 2.11.0
    .. done
    
    ~# virtualmin configure-script --script-type wordpress --domain example.tld --wp-cli info
    Retrieving instance information ..
      ==== WORDPRESS CORE ====
        WordPress version: 6.7.2
        Database revision: 58975
        TinyMCE version:   4.9110 (49110-20201110)
        Package language:  en_US
      ==== CORE INTEGRITY ====
        Failed : 
          Warning: File doesn't exist: wp-config-sample.php
          Warning: File should not exist: wp-cli.phar
          Error: WordPress installation doesn't verify against checksums.
      ==== SITE CONFIGURATION ====
        Site URL: https://example.tld
        Home URL: https://example.tld
      ==== SERVER ENVIRONMENT ====
        Server architecture: Linux 5.14.0-503.34.1.el9_5.aarch64 aarch64
        Web server: 
        PHP version: 8.0.30
        PHP SAPI: cli
        PHP max input variables: 1000
        PHP time limit: 0
        PHP memory limit: -1
        Upload max filesize: 2M
        PHP post max size: 8M
        cURL version: 7.76.1 OpenSSL/3.2.2
        Is SUHOSIN installed: No
        Is the Imagick library available: Yes
        Current time: 2025-04-04T05:23:58+00:00
        Current UTC time: Friday, 04-Apr-25 05:23:58 GMT
      ==== DATABASE ====
        Database extension: mysqli
        Server version: 10.5.27-MariaDB
        Client version: mysqld mysqlnd 8.0.30
        Database username: example
        Database password: bBlAA4tX!CQJfxBa
        Database host: localhost
        Database name: example_wordpress
        Table prefix: wp_
        Database charset: utf8
      ==== DATABASE SIZE ====
        Name	Size
        example_wordpress	2 MB
      ==== DIRECTORIES AND SIZES ====
        WordPress directory location: /home/example.tld/public_html/
        WordPress directory size: 196 MB
        Uploads directory location: /home/example.tld/public_html/wp-content/uploads
        Uploads directory size: 0 B
        Themes directory location: /home/example.tld/public_html/wp-content/themes
        Themes directory size: 20 MB
        Plugins directory location: /home/example.tld/public_html/wp-content/plugins
        Plugins directory size: 21 MB
        Fonts directory location: /home/example.tld/public_html/wp-content/uploads/fonts
        Fonts directory size: The directory does not exist.
      ==== WORDPRESS CONSTANTS ====
        ABSPATH: /home/example.tld/public_html/
        WP_CONTENT_DIR: /home/example.tld/public_html/wp-content
        WP_PLUGIN_DIR: /home/example.tld/public_html/wp-content/plugins
        WP_MEMORY_LIMIT: 40M
        WP_MAX_MEMORY_LIMIT: 256M
        WP_DEBUG: Disabled
        WP_DEBUG_DISPLAY: Enabled
        WP_DEBUG_LOG: Disabled
        SCRIPT_DEBUG: Disabled
        WP_CACHE: Disabled
        DB_CHARSET: utf8
      ==== FILESYSTEM PERMISSIONS ====
        The main WordPress directory: Writable
        The wp-content directory: Writable
        The uploads directory: Writable
        The plugins directory: Writable
        The themes directory: Writable
        The fonts directory: Not writable
      ==== THEMES ====
        name                      status       update       version      update_version  auto_update 
        twentytwentyfive          inactive     available    1.0          1.1             off         
        twentytwentyfour          active       available    1.0          1.3             off         
        twentytwentythree         inactive     available    1.3          1.6             off         
        twentytwentytwo           inactive     available    1.6          1.9             off         
      ==== PLUGINS ====
        name                      status       update       version      update_version  auto_update 
        woo-razorpay              inactive     none         4.7.1                        off         
        stripe-payments           inactive     none         2.0.91                       off         
        akismet                   inactive     available    5.3.1        5.3.7           off         
        momo-venmo                active       none         5.0                          off         
        gn-publisher              active       none         1.5.20                       off         
        hello                     inactive     none         1.7.2                        off         
        wptelegram-widget         inactive     none         2.2.7                        off         
      ==== STATISTICS ====
        Total users: 5
        Total posts: 1
        Total pages: 1
        Total comments: 1
        Total approved comments: 1
        Total categories: 1
        Total tags: 0
      ==== USER ROLES ====
        Administrator: 1 users
        Subscriber: 4 users
      ==== WP-CLI INFO ====
        OS:	Linux 5.14.0-503.34.1.el9_5.aarch64 #1 SMP PREEMPT_DYNAMIC Tue Apr 1 14:02:45 EDT 2025 aarch64
        Shell:	/bin/bash
        PHP binary:	/usr/bin/php
        PHP version:	8.0.30
        php.ini used:	/etc/php.ini
        MySQL binary:	/bin/mysql
        MySQL version:	mysql  Ver 15.1 Distrib 10.5.27-MariaDB, for Linux (aarch64) using  EditLine wrapper
        SQL modes:	
        WP-CLI root dir:	phar://wp-cli.phar/vendor/wp-cli/wp-cli
        WP-CLI vendor dir:	phar://wp-cli.phar/vendor
        WP_CLI phar path:	/usr/libexec/webmin/virtual-server
        WP-CLI packages dir:	
        WP-CLI cache dir:	/.wp-cli/cache
        WP-CLI global config:	
        WP-CLI project config:	
        WP-CLI version:	2.11.0
    .. done
    
3 Likes

Is it possible to insert a certain routine in the backup tab? Daily, Weekly and Days of the Week determined?

No, not yet!

1 Like

When the plugin comes of age it can be included in the Wordpress plugin directory.
As the use of it is conditional on the Pro version, the return of features will be welcome.
This will attract more users to our system.

Will there be an api for this nice new feature

Which feature exactly? Do you mean managing multiple WordPress instances all at once? If so—yes, of course!

Great, thanks. This is a really nice feature.

Regards

We should also update the virtualmin.com landing page to highlight WP Workbench features, and maybe create one or two YouTube videos to help promote it better.

4 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.