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.3k 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

      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

      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @omnismarthome
        last edited by

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

        1 Reply Last reply Reply Quote 0
        • O Offline
          omnismarthome
          last edited by

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

          karsten13K 1 Reply Last reply Reply Quote 0
          • karsten13K Offline
            karsten13 @omnismarthome
            last edited by

            @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

              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

                issue seems to be with compliment module

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @omnismarthome
                  last edited by sdetweil

                  @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

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

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @omnismarthome
                      last edited by

                      @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
                      • O Offline
                        omnismarthome
                        last edited by

                        thanks for the help fixed :)

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

                        M 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          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