Suite à nos investigation en MP, il y avait 2 problèmes :
- Pour une raison indéterminée, l’installation des dépendances s’est mal passée (jamais vu ça) :
[2022-11-07 07:28:44][ERROR] : Relancez les dépendances, au moins une bibliothèque Python requise est manquante dans le venv :
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/pip/_vendor/__init__.py", line 33, in vendored
__import__(vendored_name, globals(), locals(), level=0)
ModuleNotFoundError: No module named 'pip._vendor.cachecontrol'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/www/html/plugins/jMQTT/core/class/../../resources/jmqttd/venv/bin/pip3", line 6, in <module>
from pip._internal import main
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/pip/_internal/__init__.py", line 19, in <module>
from pip._vendor.urllib3.exceptions import DependencyWarning
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/pip/_vendor/__init__.py", line 64, in <module>
vendored("cachecontrol")
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/lib/python3.7/site-packages/pip/_vendor/__init__.py", line 36, in vendored
__import__(modulename, globals(), locals(), level=0)
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/__init__.py", line 9, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/wrapper.py", line 1, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 4, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/share/python-wheels/requests-2.21.0-py2.py3-none-any.whl/requests/__init__.py", line 112, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/var/www/html/plugins/jMQTT/resources/jmqttd/venv/share/python-wheels/requests-2.21.0-py2.py3-none-any.whl/requests/utils.py", line 33, in <module>
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
EOFError: EOF read where not expected
sudo systemctl stop mosquitto
DEBIAN_FRONTEND=noninteractive sudo apt-get install --reinstall -y -o Dpkg::Options::="--force-confask,confnew,confmiss" mosquitto
sudo systemctl daemon-reload
sudo systemctl stop mosquitto
sudo systemctl enable mosquitto
sudo systemctl start mosquitto
Des contremesures vont être mises en place (ce soir) en beta pour éviter que l’un ou l’autre ne se reproduise.
Si tu veux bien, on doit pouvoir clore ce sujet