too long

Module section config

'user'  => [
            'class' => 'dektrium\user\Module',
            'modelMap' => [
                'User' => 'app\models\DL\User',
                'registrationForm' => 'app\models\DLegistrationForm',
            ],
            'controllerMap' => [
                /*'registration' =>    'app\controllers\user\RegistrationController',
                'admin' => 'app\controllers\user\AdminController'*/
            ],
            'layout'       => '@app/views/layouts/container',
            'defaultRoute' => 'profile',
            'admins'       => ['admin'],
            'enableFlashMessages' => false,
            'params' => [
                'menuItems'      => [
                    'label' => 'Users',
                    'url'   => ['/user/admin']
                ]
            ]
        ],

Yii console application (./yii) showing me error

'Calling unknown method: app\controllers\user\AdminController::getHelpSummary()'

If I uncomment the controllerMap section, I can't understand why it autoloads in console app if my AdminController extends web controller not console.

This is commands from user module.

This is commands from user module

Do you really need the user module in console?

Yii2 console and web applications have separated configuration files by default. If you changed this default and use the same config for both of them, you must take care about consistency.

You can check the list of loaded configs in ./yii.

You need to specify a valid defaultRoute for the console application.

With 'defaultRoute' => 'profile', ./yiimay try to load a Controller which requires the user module.

Try adding it in the console configuration.