1. DeltaHF

    XF 2.1 CLI returning errors, cannot connect to database

    When trying to run commands with cmd.php, I am receiving errors which seem to imply that it cannot connect to the database. Even a simple command like running a file check cannot be completed: $ php cmd.php xf:file-check An exception occurred: [XF\Db\Exception] No such file or directory in...
  2. developr

    As designed CLI addon-upgrade enable disabled addons

    Hi there, when I use php cmd.php xf:addon-upgrade XXX/YYY -n to a disabled addon it will enabled automatically after upgrade. I think this it not useful. I disable addons (not uninstall) to keep all data but I would like to upgrade it for security reasons. Bug or feature?
  3. pegasus

    Duplicate CLI Add-on Install Proceeds to Import after Exception

    The CLI variation of add-on:install does the following: Run the install method(s) of the add-on's setup class Run add-on:import Run add-on:post-install If the setup class's install method throws an exception, the exception is printed to the terminal as expected. However, the process is not...
  4. developr

    XF 2.0 XF2 Cli Import Error (

    Dear Community, while I import the users the import stops with the error message: [XF\Db\Exception] MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x91\x89 [...' for column 'signature' at row 1 Does somebody know how I can find the specific entry in source database to correct the...
  5. developr

    XF 2.0 How to find Addon-ID for CLI-Update?

    Dear Community, I would like to use CLI (xf-addon:upgrade) for addon updates but where can I find the required addon-id?
  6. M

    XF 2.0 Issues changing database to utf8mb4

    I am trying to allow emojis on my forum. I have followed the instructions in the documentation for upgrading an existing installation ( This is what gets output when I run the command using SSH: $ php cmd.php xf:convert-utf8mb4 Content-type...
  7. Sim

    Beta CLI Job Runner 1.1.0

    This XenForo 2.x addon disables the browser triggered job runner and implements a CLI triggered job runner for use with Unix cron. Requirements This addon requires PHP 5.4 or higher and has been tested on XenForo 2.0.x and 2.1.x Installation Install as per normal addon installation. Note...
  8. Cibox

    [XF2] Deactivate/Activate forum from the CLI for shell scripts and cronjobs

    I am missing an option to deactivate and activate my forum. Reason/Use-Case: I want to run shell scripts via cron for backups: At the beginning of a mysqldump I want to deactivate the forum and afterwards I will reactivate it. So I get in case of a necessary restore of the database a clean...
  9. Cibox

    XF 2.0 How to deactivate/activate my forum via CLI/cmd.php?

    I want to write a shellscript which does: deactivate my forum via CLI run a mysqldump reactivate it afterwards. Is there a cmp.php option available for activate/deactivate xenforo2 ? Thanks in advance Cibox
  10. duderuud

    Implemented Ability to optimize ES with cli

    With the cmd.php tool it's possible te rebuild the search index (thanks for that!). Rebuilt the index, triggered by the admin ES page which stated optimization was needed. But after reindexing was done, the GUI still reports that optimization is needed. How can I fix that (with the cli)? Maybe...
  11. MaGeFH

    Fixed Uninstalling Addon - Backend/CLI don't behave the same way

    I noticed that when uninstalling an AddOn the behavior of XF2 differs between Admin CP and CLI. When uninstalling via Backend, the class extensions seem to be valid until the very last step has passed. In CLI mode this is not the case and you will be given something like "The site is currently...
  12. eva2000

    XF 2.0 2.0.0 Beta 1 upgrade 2.0.0 Beta 2

    I see 2.0.0 beta 2 and official addons have been released. I know the old upload files and run upgrade via admin in browser works. But what's the exact steps to leverage the new SSH command line for upgrading both the XF core and official addons ? cheers George
  13. Slavik

    CLI Cache Rebuilds 1.0

    These tools not affiliated with XenForo Ltd. This is a set of tools which allows for the rebuilding of XenForo caches from the command line, these have usually been reserved for my big board import customers (for threads and search), however recently...
  14. Teapot

    Implemented Enhanced CLI Tools

    A lot of development is moving beyond the tools found in yesteryear - developers are often using tools like continuous integration services (Jenkins,Bamboo, etcetera), build tools (Grunt, Gulp, etcetera), automation/deployment tools (Puppet, Chef, Capistrano, etcetera), and so much more to work...