Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin by name .. not found #153

Closed
kingkero opened this issue Feb 4, 2019 · 4 comments
Closed

Plugin by name .. not found #153

kingkero opened this issue Feb 4, 2019 · 4 comments

Comments

@kingkero
Copy link

kingkero commented Feb 4, 2019

I can't wrap my head around sw:plugin:install .. Following scenario:

$ bin/console sw:plugin:list -f active
+-------------------+-------------------------+---------+--------------+--------+-----------+
| Plugin            | Label                   | Version | Author       | Active | Installed |
+-------------------+-------------------------+---------+--------------+--------+-----------+
| InputFilter       | InputFilter             | 1       | shopware AG  | Yes    | Yes       |
| MoptPaymentPayone | PAYONE Payment Plugin   | 3.12.1  | FATCHIP GmbH | Yes    | Yes       |
| PluginManager     | Plugin Manager          | 1.0.0   | shopware AG  | Yes    | Yes       |
| Statistics        | Statistics              | 1       | shopware AG  | Yes    | Yes       |
| SwagDemoDataDE    | Shopware 5 Demo Data DE | 5.4.0   | shopware AG  | Yes    | Yes       |
| SwagUpdate        | Shopware Auto Update    | 1.0.0   | shopware AG  | Yes    | Yes       |
+-------------------+-------------------------+---------+--------------+--------+-----------+

I manually remove MoptPaymentPayone via backend and delete it completely. Then run

$ bin/console sw:plugin:install MoptPaymentPayone
Plugin by name "MoptPaymentPayone" was not found.

I install and activate it again via the backend and run

$ bin/console sw:plugin:install MoptPaymentPayone
The plugin MoptPaymentPayone is already installed.

What am I doing wrong?

@mitelg
Copy link
Contributor

mitelg commented Feb 5, 2019

hey @kingkero
if you are using this command bin/console sw:plugin:install it would be an issue for shopware/shopware. Have a look at the issue tracker here.

The command of the cli tools looks like this: sw plugin:install

@kingkero
Copy link
Author

kingkero commented Feb 5, 2019

Thanks for that, I didn't realize those were two different CLIs. The problem sadly stays the same (here with SwagDemoDataDE).

$ ./sw.phar plugin:install --shopware-root=/var/www/shopware/shopware/ --no-interaction SwagDemoDataDE

Could not find a plugin named 'SwagDemoDataDE'

after manual install

$ ./shopware/bin/console sw:plugin:list -f active
+-------------------+-------------------------+---------+--------------+--------+-----------+
| Plugin            | Label                   | Version | Author       | Active | Installed |
+-------------------+-------------------------+---------+--------------+--------+-----------+
| InputFilter       | InputFilter             | 1       | shopware AG  | Yes    | Yes       |
| MoptPaymentPayone | PAYONE Payment Plugin   | 3.12.1  | FATCHIP GmbH | Yes    | Yes       |
| PluginManager     | Plugin Manager          | 1.0.0   | shopware AG  | Yes    | Yes       |
| Statistics        | Statistics              | 1       | shopware AG  | Yes    | Yes       |
| SwagDemoDataDE    | Shopware 5 Demo Data DE | 5.4.0   | shopware AG  | Yes    | Yes       |
| SwagUpdate        | Shopware Update         | 1.0.0   | shopware AG  | Yes    | Yes       |
+-------------------+-------------------------+---------+--------------+--------+-----------+

Could this have to do with the shopware running locally in a docker (via localhost:8083) and not being able to properly communicate with the repositores?

@mitelg
Copy link
Contributor

mitelg commented Feb 5, 2019

I'm not so good with docker, but you could try to ask in one of our gitter channels for help 😊 👍 https://gitter.im/shopware/home

@kingkero
Copy link
Author

kingkero commented Feb 5, 2019

@mitelg Thanks for that link, I actually did get help there. You need to download the plugin first before you can install it. sw:store:download PluginName in their CLI syntax.

@kingkero kingkero closed this as completed Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants