cancel
Showing results for 
Search instead for 
Did you mean: 

Executing bin/magento config:set results in:There are no commands defined in the "config" namespace.

Executing bin/magento config:set results in:There are no commands defined in the "config" namespace.

Steps taken:

 

  1. bin/magento setup:install --backend-frontname=backend --amqp-host=rabbitmq --amqp-port=5672 --amqp-user=guest --amqp-password=guest --db-host=db --db-name=magento --db-user=magento --db-password=magento --http-cache-hosts=varnish:80 --session-save=redis --session-save-redis-host=redis --session-save-redis-port=6379 --session-save-redis-db=2 --session-save-redis-max-concurrency=20 --cache-backend=redis --cache-backend-redis-server=redis --cache-backend-redis-db=0 --cache-backend-redis-port=6379 --page-cache=redis --page-cache-redis-server=redis --page-cache-redis-db=1 --page-cache-redis-port=6379
  2. bin/magento config:set --lock-env web/unsecure/base_url "https://${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}/"

The second step results in:

  • There are no commands defined in the "config" namespace.

    Did you mean one of these?
    app:config
    module:config
    setup:config
    setup:store-config

 

For more info see the article I follow on: https://hackernoon.com/the-essential-guide-to-installing-a-local-magento-2-environment-with-docker-5...

 

I got stuck in section:

  • Installing Magento
    • ##Configure Application 

Thanks a lot for you help!

 

1 REPLY 1

Re: Executing bin/magento config:set results in:There are no commands defined in the "config&qu

Compared to Magento 1 in Magento 2 it's mandatory to install first elasticsearch before installing Magnento 2. Magento 2 went succesful after install of elasticsearch.