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. Commented Jan 18, 2019 at 8:57
  • hi my drush version is 9.5.2 and drupal is 8.6.4. Module is already enabled Commented Jan 18, 2019 at 13:11
  • hi any advice on this please Commented Jan 23, 2019 at 13:21
  • how did you install the module, with drush or composer ? Commented 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. Commented Jan 18, 2019 at 13:14

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.