I've deployed a IOTstack on my Pi 4. I've tried installing octoprint-enclosure but after a restart of the container, the plugin doesn't show up in installed plugins so I can't uninstall it.
Also trying to install bedlevelvisualiser crashes the whole system.
Installing plugin "OctoPrint-Enclosure" from https://github.com/vitormhenrique/OctoPrint-Enclosure/archive/master.zip...
/usr/local/bin/python -m pip --disable-pip-version-check install file:///tmp/tmp9s3uflao/OctoPrint-Enclosure-master.zip --no-cache-dir
Processing /tmp/tmp9s3uflao/OctoPrint-Enclosure-master.zip
Requirement already satisfied: OctoPrint in /usr/local/lib/python3.8/site-packages (from OctoPrint-Enclosure==4.13.1) (1.4.2)
Requirement already satisfied: RPi.GPIO>=0.6.5 in /root/.octoprint/plugins/lib/python3.8/site-packages (from OctoPrint-Enclosure==4.13.1) (0.7.0)
Requirement already satisfied: requests>=2.7 in /usr/local/lib/python3.8/site-packages (from OctoPrint-Enclosure==4.13.1) (2.24.0)
Requirement already satisfied: itsdangerous<2,>=1.1.0 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.1.0)
Requirement already satisfied: netifaces<1,>=0.10.9 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.10.9)
Requirement already satisfied: flask<2,>=1.1.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.1.2)
Requirement already satisfied: feedparser<6,>=5.2.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (5.2.1)
Requirement already satisfied: tornado==5.1.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (5.1.1)
Requirement already satisfied: pyserial<4,>=3.4 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (3.4)
Requirement already satisfied: pkginfo<2,>=1.5.0.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.5.0.1)
Requirement already satisfied: wrapt<2,>=1.12.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.12.1)
Requirement already satisfied: emoji<1,>=0.5.4 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.6.0)
Requirement already satisfied: semantic-version<3,>=2.8.5 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2.8.5)
Requirement already satisfied: OctoPrint-FirmwareCheck>=2020.06.22 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2020.6.22)
Requirement already satisfied: regex!=2018.11.6 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2020.7.14)
Requirement already satisfied: Jinja2<3,>=2.11.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2.11.2)
Requirement already satisfied: cachelib<1,>=0.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.1.1)
Requirement already satisfied: pylru<2,>=1.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.2.0)
Requirement already satisfied: Flask-Babel<2,>=1.0 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.0.0)
Requirement already satisfied: psutil<6,>=5.7 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (5.7.2)
Requirement already satisfied: frozendict<2,>=1.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.2)
Requirement already satisfied: PyYAML<6,>=5.3.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (5.3.1)
Requirement already satisfied: markupsafe<2.0,>=1.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.1.1)
Requirement already satisfied: watchdog<1,>=0.10.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.10.3)
Requirement already satisfied: Click<8,>=7.1.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (7.1.2)
Requirement already satisfied: future<1,>=0.18.2 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.18.2)
Requirement already satisfied: filetype<2,>=1.0.7 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.0.7)
Requirement already satisfied: sentry-sdk<1,>=0.15.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.17.3)
Requirement already satisfied: Flask-Assets<3,>=2.0 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2.0)
Requirement already satisfied: markdown<3.2,>=3.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (3.1.1)
Requirement already satisfied: werkzeug<2,>=1.0.1 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.0.1)
Requirement already satisfied: rsa==4.0 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (4.0)
Requirement already satisfied: sarge==0.1.5post0 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.1.5.post0)
Requirement already satisfied: OctoPrint-FileCheck>=2020.07.06 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (2020.8.7)
Requirement already satisfied: websocket-client<1,>=0.57 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.57.0)
Requirement already satisfied: blinker<2,>=1.4 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (1.4)
Requirement already satisfied: Flask-Login<0.6,>=0.5 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.5.0)
Requirement already satisfied: unidecode<0.05,>=0.04.14 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.4.21)
Requirement already satisfied: netaddr<1,>=0.7.19 in /usr/local/lib/python3.8/site-packages (from OctoPrint->OctoPrint-Enclosure==4.13.1) (0.8.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.7->OctoPrint-Enclosure==4.13.1) (2.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.7->OctoPrint-Enclosure==4.13.1) (1.25.10)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.7->OctoPrint-Enclosure==4.13.1) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.7->OctoPrint-Enclosure==4.13.1) (2020.6.20)
Requirement already satisfied: Babel>=2.3 in /usr/local/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-Enclosure==4.13.1) (2.8.0)
Requirement already satisfied: pytz in /usr/local/lib/python3.8/site-packages (from Flask-Babel<2,>=1.0->OctoPrint->OctoPrint-Enclosure==4.13.1) (2020.1)
Requirement already satisfied: pathtools>=0.1.1 in /usr/local/lib/python3.8/site-packages (from watchdog<1,>=0.10.2->OctoPrint->OctoPrint-Enclosure==4.13.1) (0.1.2)
Requirement already satisfied: webassets>=2.0 in /usr/local/lib/python3.8/site-packages (from Flask-Assets<3,>=2.0->OctoPrint->OctoPrint-Enclosure==4.13.1) (2.0)
Requirement already satisfied: setuptools>=36 in /usr/local/lib/python3.8/site-packages (from markdown<3.2,>=3.1->OctoPrint->OctoPrint-Enclosure==4.13.1) (49.3.1)
Requirement already satisfied: pyasn1>=0.1.3 in /usr/local/lib/python3.8/site-packages (from rsa==4.0->OctoPrint->OctoPrint-Enclosure==4.13.1) (0.4.8)
Requirement already satisfied: six in /usr/local/lib/python3.8/site-packages (from websocket-client<1,>=0.57->OctoPrint->OctoPrint-Enclosure==4.13.1) (1.15.0)
Building wheels for collected packages: OctoPrint-Enclosure
Building wheel for OctoPrint-Enclosure (setup.py): started
Building wheel for OctoPrint-Enclosure (setup.py): finished with status 'done'
Created wheel for OctoPrint-Enclosure: filename=OctoPrint_Enclosure-4.13.1-py3-none-any.whl size=67528 sha256=5cd5ed7449b5dabbd5d7f1aeecbc8eaf2967031183f31cdc4c719bf9aa22eb5d
Stored in directory: /tmp/pip-ephem-wheel-cache-4xmxjjpn/wheels/01/8a/7d/625fe94eb1b75f39b89c7dcdc86a1ae1dd35a60a057ac15e2d
Successfully built OctoPrint-Enclosure
Installing collected packages: OctoPrint-Enclosure
Attempting uninstall: OctoPrint-Enclosure
Found existing installation: OctoPrint-Enclosure 4.13.1
Uninstalling OctoPrint-Enclosure-4.13.1:
Successfully uninstalled OctoPrint-Enclosure-4.13.1
Successfully installed OctoPrint-Enclosure-4.13.1
Done!