 
        
        
        
        
        Konsole Kommander is a commandline tool to manage Phraseanet. It is simple to use :
php bin/console
You will see something like :
Available commands:
  help                             Displays help for a command
  list                             Lists commands
about
  about:authors                    List authors and contributors
  about:license                    This program license
check
  check:config                     check configuration file
  check:ensure-dev-settings        Ensure development settings
  check:ensure-production-settings Ensure production settings
  check:extension                  Delete a documentation field from a Databox
  check:system                     Check the configuration
fields
  fields:delete                    Delete a documentation field from a Databox
  fields:list                      List all databox fields
  fields:merge                     Merge databox structure fields
  fields:rename                    Rename a documentation field from a Databox
scheduler
  scheduler:start                  Start the scheduler
  scheduler:state                  Get scheduler state
  scheduler:stop                   Stop the scheduler
sphinx
  sphinx:generate-suggestions      Generate suggestions for Sphinx Search Engine
system
  system:backup-db                 Backup Phraseanet Databases
  system:clear-cache               Empty cache directories, clear Memcached, Redis if avalaible
  system:mail-check                Check if email addresses are unique (mandatory since 3.5)
  system:template-generator        Generate template files
  system:upgrade                   Upgrade Phraseanet to the lastest version
task
  task:list                        List tasks
  task:run                         Run task
To get some help about a command :
php bin/console help CommandName
Note
Each commands returns an exit code, which can be used for automated scripts.
Parse and check the structure of configuration files
Validate the consistency of configuration values for a development environment.
option :
Validate the consistency of configuration values for a production environment.
option :
Validate system configuration necessary for Phraseanet to work properly.
Delete a documentation field from the databox.
option :
List all databox documentation fields
Merge several databox structure fields.
option :
Rename a databox documentation fields
option :
Start Phraseanet task scheduler.
Stop Phraseanet task scheduler
Get the current state of the Phraseanet task scheduler.
Note
This command can return different value according to the scheduler state.
| State | Return value | 
|---|---|
| started | 10 | 
| to start | 14 | 
| to restart | 15 | 
| stopped | 11 | 
| to delete | 16 | 
| setup error | 1 | 
| bad_argument | 2 | 
| fata error | 3 | 
| task unkonw | 20 | 
| state unknown | 21 | 
Save states of current databases state.
argument :
Clear all cach sytems used by Phraseanet.
Load compiled templates.
Upgrade Phraseanet to the latest version.