0

On a working Magento2 (2.3.1) Docker, I am enabling the module mageplaza/module-smtp :

magento module:enable  --clear-static-content Mageplaza_Smtp

After that, the module is in the enabled modules list :

magento module:status

When I restart the Docker, the image is no longer enabled, after restart the module is in the disabled modules list. So I guess that some files are modified but not kept, because I am missing a persistent volume.

Here are the persistent volumes already created :

  1. /pub/static
  2. /generated
  3. /pub/media
  4. /var

Can anyone tell me the directory that is missing in my persistent volumes please ?

4
  • this change is actually saved in app/etc/config.php make sure your this file is saved – Real Magento Man Jun 2 at 9:14
  • What cache engine are you using? – dudzio Jun 2 at 11:04
  • @WaqarAli thanks, it was a problem with app/etc/config.php, I put it in a persistent volume and now it's working like a charm, thanks a lot – Christophe Bourgois Jun 4 at 12:03
  • Enjoy coding, Have a good Day! – Real Magento Man Jun 5 at 1:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.