I am unsure how to use this command?
I tried adding it like this in my SSH terminal:
php composer bash flarum cache:clear
and it states:
Command "bash" is not defined.
I also tried:
[sever]$ bash flarum cache:clear
flarum: line 2: ?php: No such file or directory
flarum: line 4: /bin: Is a directory
flarum: line 5: CHANGELOG.md: command not found
flarum: line 6: CHANGELOG.md: command not found
flarum: line 7: CHANGELOG.md: command not found
flarum: line 8: CHANGELOG.md: command not found
flarum: line 9: assets/: Is a directory
flarum: line 11: =: command not found
flarum: line 13: /bin: Is a directory
flarum: line 14: syntax error near unexpected token |'
flarum: line 14:
|-------------------------------------------------------------------------------'
And I also tried:
[server]$ php flarum cache:clear
PHP Warning: require(/home/site/mysite.com/discuss/vendor/composer/../../autoload.php): failed to open stream: No such file or directory in /home/site/mysite.com/discuss/vendor/composer/autoload_real.php on line 55
PHP Fatal error: require(): Failed opening required '/home/site/mysite.com/discuss/vendor/composer/../../autoload.php' (include_path='.:') in /home/site/mysite.com/discuss/vendor/composer/autoload_real.php on line 55