• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMPM 2.01 Now Available on PyPI!

Scheduled Pinned Locked Moved Utilities
11 Posts 5 Posters 2.4k Views 5 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    bee-mar
    last edited by Jul 24, 2020, 11:22 PM

    MMPM version 2.01 can now be downloaded through PyPI!

    Please see the MMPM GitHub for usage and setup. Also, please review the MMPM Environment Variables, which are extremely important to set properly.

    1 Reply Last reply Reply Quote 0
    • R Offline
      requiemmg
      last edited by Jul 25, 2020, 7:36 AM

      Thanks for your work!
      Do I start the upgrade process from mmpm’s CLI if I have 1.x installed or do i need to uninstall and reinstall?

      1 Reply Last reply Reply Quote 0
      • R Offline
        requiemmg
        last edited by Jul 25, 2020, 11:02 AM

        Uninstalled MMPM 1 and installed MMPM 2. Problem:
        mmpm install --gui # to install the GUI (needs sudo permissions)

        When I execute this without sudo, I get a bad Gateway error by nginx when I try to call the URI.

        Wenn I do “sudo mmpm install --gui” it tells me “mmpm not found”, as well as when I try “sudo su” and then execute the command. How do I fix this?

        1 Reply Last reply Reply Quote 0
        • S Offline
          sonicgoose
          last edited by Jul 25, 2020, 6:55 PM

          Installation fails with

          sudo mmpm install --gui
          

          with error mmpm is not installed.

          1 Reply Last reply Reply Quote 0
          • S Offline
            swvalenti Project Sponsor
            last edited by Jul 25, 2020, 7:06 PM

            Clear browser cache

            S 1 Reply Last reply Jul 27, 2020, 1:55 PM Reply Quote 0
            • S Offline
              sonicgoose @swvalenti
              last edited by Jul 27, 2020, 1:55 PM

              @swvalenti What browser cache? This is in Terminal.

              1 Reply Last reply Reply Quote 0
              • S Offline
                swvalenti Project Sponsor
                last edited by Jul 27, 2020, 2:07 PM

                @sonicgoose I was referrring to @requiemmg as I got a bad Gateway error by nginx when I called the url. I cleared the cache and it resolved. Also @requiemmg there is probably a clash with MMPM 1 so do the following then install again.

                pip3 uninstall mmpm
                rm ~/.local/bin/mmpm
                pip3 install —reinstall —no-cache-dir —local mmpm
                
                1 Reply Last reply Reply Quote 0
                • B Offline
                  bee-mar
                  last edited by Jul 28, 2020, 2:01 AM

                  The installation process can be found here: https://github.com/Bee-Mar/mmpm/wiki/MMPM-Installation

                  Then, you should configure the environment variables: https://github.com/Bee-Mar/mmpm/wiki/MMPM-Environment-Variables

                  And for configuring the hide/show feature: https://github.com/Bee-Mar/mmpm/wiki/Status,-Hide,-Show-MagicMirror-Modules

                  Review other sections of the Wiki as well.

                  You don’t need to clone the repo at all to install MMPM 2.01. You can run the command below, and your current installation will be upgraded.

                  $ pip3 install --upgrade --no-cache-dir mmpm 
                  

                  For a full installation of MMPM 2.01:

                  $ pip3 install --upgrade --no-cache-dir mmpm
                  $ mmpm install --gui
                  $ mmpm install --as-module
                  $ mmpm install --autocomplete
                  

                  Do not used sudo in front of any of the above commands. MMPM will use sudo internally when installing the GUI.

                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by Jul 28, 2020, 1:37 PM

                    @bee-mar

                    Do you plan code exception for MM modules or npm module ?

                    exemple in my case (and maybe for others):

                    • I use google grpc library and with RPI lastest version don’t work with RPI (developer don’t want to fix it)
                      So i fix it by using only the working package and can’t be upgraded automaticaly
                    • You can have some electron braking library (module not found) because it’s not rebuilded

                    That’s why option or exception will be needed

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      requiemmg
                      last edited by Jul 29, 2020, 8:29 AM

                      Now I have a strange problem:

                      MMPM 2.01 worked for me for a few days.
                      Yesterday, on one of my 2 mirrors (they are both exactly the same hardware, config and setup, in fact I have set up one and cloned its drive to the others SD card) i got a Nginx 502 Bad gateway error when I tried to open up the MMPM GUI.
                      I did a full uninstall of MMPM and reinstalled. Worked as intended.
                      This morning the error again (the Pi does a scheduled reboot in the night).
                      Reinstalled again.
                      Browser cache is cleared.

                      Mirror 1 - works perfectly
                      Mirror 2 - works after reinstallation until i make a reboot.

                      Installed with --force-reinstall, --no-cache-dir and --upgrade

                      Anyone having an idea?

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        1/11
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy