# Plugin bleibt nach plugin:uninstall in der Liste

**URL:** <https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953>\
**Category:** Programmierung\
**Created:** [12. Januar 2020 um 11:52 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953 "2020-01-12T11:52:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rammi22](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rammi22](https://forum.shopware.com/u/rammi22)\
**Post date:** [12. Januar 2020 um 11:52 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953/1 "2020-01-12T11:52:45Z")

</div>

Hallo,

ich habe mir ein Plugin geladun und mittels Befehl glöscht

```
vagrant@shopware:~/shopware-dev$ bin/console plugin:uninstall BundleExample

Shopware Plugin Lifecycle Service
=================================

 Uninstall 1 plugin(s):
 * Example for Shopware (v1.0.0)

 Plugin "BundleExample" has been uninstalled successfully.

 [OK] Uninstalled 1 plugins.

 ! [NOTE] You may want to clear the cache after uninstalling plugin(s). To do so run either the cache:clear command or
 ! ./psh.phar cache

vagrant@shopware:~/shopware-dev$ bin/console cache:clear

 // Clearing the cache for the dev environment with debug true

 [OK] Cache for the "dev" environment (debug=true) was successfully cleared.

```

Jetzt erwarte ich, das dieses Plugin auch aus der Liste der Plugins verschwindet, aber das Teil bleibt dort drin

```
vagrant@shopware:~/shopware-dev$ bin/console plugin:list

Shopware Plugin Service
=======================

 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------
  Plugin Label Version Upgrade version Author Installed Active Upgradeable
 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------
  BundleExample Example for Shopware 1.0.0 shopware AG No No No
 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------

 1 plugins, 0 installed, 0 active , 0 upgradeable

```

Weder _plugin:refresh_ noch _plugin:refresh --skipPluginList_ macht die Liste leer…

Welcher Befehl ist für die Löschung aus der Liste verantwortlich?

Gruß

---

<div class="post-metadata">

**Author:** ![sschreier](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/sschreier/32/23296_2.png) [@sschreier](https://forum.shopware.com/u/sschreier)\
**Post date:** [12. Januar 2020 um 12:06 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953/2 "2020-01-12T12:06:57Z")

</div>

Hallo,

mit welchem Befehl hast du denn das Plugin gelöscht? Ich sehe nur den Befehl bin/console plugin:uninstall , der ja aber, wie es der Name schon sagt, das Plugin nur deinstalliert, aber doch nicht löscht. Und wenn das Plugin deinstalliert wird, dann soll es ja auch logischerweise wieder installierbar sein, also kann der Befehl ja schlecht das Plugin löschen.

Um das Plugin nach dem Deinstallieren zu löschen, kann man beispielsweise rm -rf custom/plugins/swag-docs-bundle-example nutzen.

Grüße

Sebastian

---

<div class="post-metadata">

**Author:** ![rammi22](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rammi22](https://forum.shopware.com/u/rammi22)\
**Post date:** [12. Januar 2020 um 12:20 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953/3 "2020-01-12T12:20:34Z")

</div>

> [@sschreier schrieb:](https://forum.shopware.com/profile/18157/sschreier "sschreier")
> 
> …
> 
> Um das Plugin nach dem Deinstallieren zu löschen, kann man beispielsweise rm -rf custom/plugins/swag-docs-bundle-example nutzen.
> 
> Grüße
> 
> Sebastian

Das Plugin habe ich in PHPStorm übers Kontext-Menu gelöscht, durch automatisches Deploy in der VM auch gelöscht.

```
vagrant@shopware:~/shopware-dev$ bin/console plugin:list

Shopware Plugin Service
=======================

 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------
  Plugin Label Version Upgrade version Author Installed Active Upgradeable
 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------
  BundleExample Example for Shopware 1.0.0 shopware AG No No No
 --------------- ---------------------- --------- ----------------- ------------- ----------- -------- -------------

 1 plugins, 0 installed, 0 active , 0 upgradeable
vagrant@shopware:~/shopware-dev$ ls -a custom/plugins/
. .. .gitkeep

```

…aber es steht nach wie vor in der Liste… _cache:clear_ nützt auch nix

---

<div class="post-metadata">

**Author:** ![rammi22](https://avatars.discourse-cdn.com/v4/letter/r/258eb7/32.png) [@rammi22](https://forum.shopware.com/u/rammi22)\
**Post date:** [12. Januar 2020 um 12:52 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953/4 "2020-01-12T12:52:30Z")

</div>

Ok, jetzt ist es raus, warum _ausgrechnet jetzt_ auch immer

---

<div class="post-metadata">

**Author:** ![Michael\_Telgmann](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/michael_telgmann/32/20289_2.png) [@Michael\_Telgmann](https://forum.shopware.com/u/Michael_Telgmann)\
**Post date:** [13. Januar 2020 um 13:39 UTC](https://forum.shopware.com/t/plugin-bleibt-nach-plugin-uninstall-in-der-liste/63953/5 "2020-01-13T13:39:05Z")

</div>

Hallo,

nach dem du manuell ein Plugin hinzugefügt oder gelöscht hast, solltest du den command “plugin:refresh” aufrufen, der die Pluginliste in der Datenbank aktualisert.&nbsp;

Viele Grüße aus Schöppingen

![cool](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/1X/86c57fbace799dd4eb1f1b8a2d3bdc1733f0aea1.png "cool")&nbsp;Michael Telgmann
