Hi all,
I just started using MagicMirror and wanted to use the package manager mpmm with it.
- MagicMirror has been installed via the MagicMirrorOS on a RaspberryPi
- I can see the MagicMirror output on the screen connected to the Pi and via the URL (192.168.2.76:8080)
- I installed mpmm via
sudo apt install libffi-dev nginx-full -y
python3 -m pip install --upgrade --no-cache-dir mmpm
mmpm --guided-setup
echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc
- I can access the mpmm GUI but it is showing “Unable to retrieve active modules”
- my mmpm settings are:
MMPM_IS_DOCKER_IMAGE: false
MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE: /home/pi/magicmirror/run/docker-compose.yml
MMPM_MAGICMIRROR_PM2_PROCESS_NAME:
MMPM_MAGICMIRROR_ROOT: /home/pi/magicmirror
MMPM_MAGICMIRROR_URI: http://192.168.2.76:8080
Alsp a mmpm mm-ctl --status
shows that it failed to connect to MagicMirror. At least I am not aware that I use pm2.
The mmpm log file shows a Connection to namespace /mmpm was rejected
:
[...]
Back up of database complete
2021-10-28 00:23:57,221.221 INFO core - display_magicmirror_modules_status: attempting to connect to '/mmpm' namespace within MagicMirror websocket
attempting to connect to '/mmpm' namespace within MagicMirror websocket
2021-10-28 00:23:57,273.273 INFO client - _handle_eio_connect: Engine.IO connection established
Engine.IO connection established
2021-10-28 00:23:57,311.311 INFO client - _handle_error: Connection to namespace /mmpm was rejected
Connection to namespace /mmpm was rejected
2021-10-28 00:23:58,315.315 INFO client - _handle_eio_disconnect: Engine.IO connection dropped
Engine.IO connection dropped
2021-10-28 00:23:58,328.328 ERROR utils - error_msg: Failed to connect to MagicMirror, closing socket. Is MagicMirror running?
Failed to connect to MagicMirror, closing socket. Is MagicMirror running?
2021-10-28 00:23:58,330.330 ERROR core - display_magicmirror_modules_status: One or more namespaces failed to connect
One or more namespaces failed to connect
2021-10-28 00:23:58,332.332 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
What could be wrong? Is the MMPM_MAGICMIRROR_ROOT correct for the MagicMirrorOS installation?
Thanks for reading that far,
Kab