Some CLI commands not working when running from /updates folder?

Permalink
Hi,

I followed the instruction at:
http://documentation.concrete5.org/developers/appendix/cli-commands...

My installation was at first version 5.7.5.3. and I subsequently updated to concrete5.7.5.6

Hence, I run the CLI from:
/updates/concrete5.7.5.6$ concrete/bin/concrete5 list

all I get is:
concrete5 version 5.7.5.6
Usage:
  command [options] [arguments]
Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Available commands:
  help                  Displays help for a command
  list                  Lists commands
 c5


If I try orm or dbal I get something like this:

concrete5 version 5.7.5.6
Usage:
  command [options] [arguments]
Options:
  -h, --help            Display this help message
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi            Force ANSI output
      --no-ansi         Disable ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  [InvalidArgumentException]                             
  There are no commands defined in the "orm" namespace.  
list [--xml] [--raw] [--format FORMAT] [--] [<namespace>]


I tried to debug the issue and found in the file:
/updates/concrete5.7.5.6/concrete/src/Console/Application.php

the function setupDoctrineCommands()

that returns immediately because Core::make('app')->isInstalled() return False.

Unfortunately, I can't investigate any further. My concrete5 is installed for sure.

Any hints!?

Thanks!
Tommy

tomicio
 
tomicio replied on at Permalink Reply
tomicio
Just made one more test. I installed a fresh new Concrete5 v5.7.5.6 and the CLI works fine as expected. Really seems to have an issue when running CLI from the /updates folder.