0

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.

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

1 Answer 1

0

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.

So:

drush s3fs-cl

Is what you're looking for.

1
  • 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, 2019 at 13:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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