• 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.

Installed on Raspabrry pi4b with magic mirror os modules go back to default after restart

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 4 Posters 3.2k Views 4 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.
  • O Offline
    omnismarthome
    last edited by Aug 8, 2022, 5:23 PM

    I installed via following Magic Mirror OS

    i can boot and get display with SD card but when i make changes to the modules and restart the revert back to default …

    Please help

    https://github.com/guysoft/MagicMirrorOS

    K 1 Reply Last reply Aug 8, 2022, 7:44 PM Reply Quote 0
    • K Offline
      karsten13 @omnismarthome
      last edited by Aug 8, 2022, 7:44 PM

      see https://khassel.gitlab.io/magicmirror/configuration/

      1 Reply Last reply Reply Quote 0
      • O Offline
        omnismarthome
        last edited by Aug 8, 2022, 8:37 PM

        4e0ff11b-1fac-41a5-a56b-e7580610f557-image.png

        K 1 Reply Last reply Aug 8, 2022, 8:46 PM Reply Quote 0
        • K Offline
          karsten13 @omnismarthome
          last edited by Aug 8, 2022, 8:46 PM

          @omnismarthome

          you have to add MM_OVERRIDE_DEFAULT_MODULES: "false" in the existing environment: section:

          version: '3'
          
          services:
            magicmirror:
              container_name: mm
              image: karsten13/magicmirror:latest
              volumes:
                - ../mounts/config:/opt/magic_mirror/config
                - ../mounts/modules:/opt/magic_mirror/modules
                - ../mounts/css:/opt/magic_mirror/css
                - /tmp/.X11-unix:/tmp/.X11-unix
                - /opt/vc:/opt/vc/:ro
                - /usr/bin/vcgencmd:/usr/bin/vcgencmd
                - /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
              devices:
                - /dev/vchiq
              environment:
                LD_LIBRARY_PATH: /opt/vc/lib
                DISPLAY: unix:0.0
                MM_OVERRIDE_DEFAULT_MODULES: "false"
              network_mode: host
              shm_size: "128mb"
              restart: unless-stopped
              command:
                - npm
                - run
                - start
          
          1 Reply Last reply Reply Quote 0
          • O Offline
            omnismarthome
            last edited by Aug 8, 2022, 9:00 PM

            44dae236-7c77-4a06-85d9-0bcdd7b0a911-image.png

            I have added as per your guide line however the issue still persist

            Thanks for your kind support

            the file i am editing is under the following folder

            /home/pi/magicmirror/run

            1 Reply Last reply Reply Quote 0
            • O Offline
              omnismarthome
              last edited by Aug 8, 2022, 9:15 PM

              issue seems to be with compliment module

              S 1 Reply Last reply Aug 8, 2022, 9:18 PM Reply Quote 0
              • S Away
                sdetweil @omnismarthome
                last edited by sdetweil Aug 8, 2022, 9:20 PM Aug 8, 2022, 9:18 PM

                @omnismarthome the config for compliments is in the config.js, right? NOT editing this module source file (which could be replaced)

                never edit the module source files.

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 1
                • O Offline
                  omnismarthome
                  last edited by Aug 8, 2022, 9:29 PM

                  i am editing b047e2fd-660d-4aae-95af-69ef31dd9162-image.png

                  S 1 Reply Last reply Aug 8, 2022, 9:43 PM Reply Quote 0
                  • S Away
                    sdetweil @omnismarthome
                    last edited by Aug 8, 2022, 9:43 PM

                    @omnismarthome NO>>>>>>>>

                    only where the config.js is located

                      {
                          module: "compliments",
                          position:" ?????",
                          config: { 
                                compliments: { 
                                        anytime: [........],
                                         etc 
                               ] 
                          }
                      }
                    

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 1
                    • S sdetweil moved this topic from Tutorials on Aug 8, 2022, 10:14 PM
                    • O Offline
                      omnismarthome
                      last edited by Aug 9, 2022, 12:25 AM

                      thanks for the help fixed :)

                      54bb2027-3829-4499-bdb1-6e666ab401e6-image.png

                      M 1 Reply Last reply Aug 9, 2022, 6:30 AM Reply Quote 0
                      • 1
                      • 2
                      • 1 / 2
                      1 / 2
                      • First post
                        5/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