mmpm: BUG: MM won't launch after installing modules

Describe the Bug

Is this an issue with the CLI or GUI? N/A

Is this something that should be put in the Wiki? Maybe

A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior: Install a module from Marketplace and then restart MM. MM does not load until I uninstall the module.

Expected behavior MM Starts after installing a module (regardless of whether config is setup to call it or not).

Screenshots N/A

Operating System, Python3 Version, and Web Browser\

  • output from cat /etc/os-release PRETTY_NAME=“Debian GNU/Linux 12 (bookworm)” NAME=“Debian GNU/Linux” VERSION_ID=“12” VERSION=“12 (bookworm)” VERSION_CODENAME=bookworm ID=debian HOME_URL=“https://www.debian.org/” SUPPORT_URL=“https://www.debian.org/support” BUG_REPORT_URL=“https://bugs.debian.org/

  • output from python3 --version Python 3.11.2

  • Web Browser (firefox, chrome, safari, chromium, etc) Chromium (latest available as of 19OCT23)

MMPM Environment Settings

  • output from mmpm env “MMPM_MAGICMIRROR_ROOT”: “/home/xxxxx/MagicMirror”, “MMPM_MAGICMIRROR_URI”: “http://10.0.0.16:8080”, “MMPM_MAGICMIRROR_PM2_PROCESS_NAME”: “MagicMirror”, “MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE”: “.”, “MMPM_IS_DOCKER_IMAGE”: false

MMPM Log Files

  • Attach the file produced Download MMPM log files within the Control Center of the GUI or from the mmpm log --zip

MagicMirror Config

  • your MagicMirror config.js Currently using the default config.js

mmpm-logs-2023-9-4.zip

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 48 (23 by maintainers)

Most upvoted comments

I can ping you tomorrow after I get home from work and the doc (7pm-ish Eastern).

@rroach3753 also, it might be worthwhile doing this sudo systemctl stop nginx; sudo systemctl disable nginx unless you need nginx for something else.

This pi is only running MM.

then you should be good to get rid of nginx, We’ll figure this out when you get another chance. Thanks for helping me learn more issues that might arise lol

@rroach3753 my bad I meant ls ~/.local/bin/mmpm lol

@rroach3753 oh, I would definitely not recommend using sudo when installing python packages. You’ll get stuck with some conflicting dependency issues

Yeah, I’m not a python guy (just enough to get past an entry (very entry) level class…lol…that was open book tested.

@rroach3753 haha no worries. If you can, I would recommend uninstalling and reinstalling without sudo. Also thank you for being one of the first adopters of the new version. It should hopefully be much more stable, and easier to work with

@rroach3753 I also can’t guarantee features will work as expected when installing with sudo

@rroach3753 Sorry to have not gotten around to resolving this, but I’m currently in the midst of completely reworking the application and will have this issue resolved in the 4.0.0 release. The branch with all active changes can be found on code-cleanup and it will be release soon.