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 4.0k 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.
    • 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
                  • M Offline
                    MMRIZE @omnismarthome
                    last edited by

                    @omnismarthome
                    Out of the topic question. You might have a non-usual resolution screen. Can I ask which kind of screen you are using in the above screenshot?

                    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