MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord
    MagicMirror² v2.24.0 is available! For more information about this release, check out this topic.

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

    Troubleshooting
    4
    11
    1445
    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
      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

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

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

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

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

          karsten13 1 Reply Last reply Reply Quote 0
          • karsten13
            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
              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
                omnismarthome last edited by

                issue seems to be with compliment module

                S 1 Reply Last reply Reply Quote 0
                • S
                  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

                  Create a working config
                  How to add modules

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

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

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

                      @omnismarthome NO>>>>>>>>

                      only where the config.js is located

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

                      Sam

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 1
                      • Moved from Tutorials by  S sdetweil 
                      • O
                        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 Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy