I have installed a new module called S3fs using Composer. When I try to execute /root/.composer/vendor/bin/drush drush_s3fs_copy_local, it shows the following error.

Command "drush_s3fs_copy_local" is not defined

I found out that I could not run any command from third-party modules I installed and enabled.

Please help me.

  • 1
    try to run drush cc drush before. – berramou Jan 18 '19 at 8:57
  • hi my drush version is 9.5.2 and drupal is 8.6.4. Module is already enabled – user91604 Jan 18 '19 at 13:11
  • hi any advice on this please – user91604 Jan 23 '19 at 13:21
  • how did you install the module, with drush or composer ? – berramou Jan 23 '19 at 15:56

drush_s3fs_copy_local is the name of the PHP callback function for the command; the command itself is named s3fs-copy-local, with an alias of s3fs-cl.


drush s3fs-cl

Is what you're looking for.

  • yeah i tried this it didn't work.s3fs module is enabled. my drush version is 9.5.2 and drupal is 8.6.4. – user91604 Jan 18 '19 at 13:14

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.