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

MagicMirrorOS reload config without reboot

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 4 Posters 1.5k 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.
  • F Offline
    fischi87
    last edited by Oct 17, 2023, 8:29 AM

    Hey Guys, i installed my magicmirror with the magicmirroros. How can i reload the config.js without a complete reboot. pm2 is not installed in the magicmirroros?

    i dont want always reboot the pi to see if my config works.

    thanks

    M K 2 Replies Last reply Oct 17, 2023, 10:56 AM Reply Quote 0
    • M Offline
      MMRIZE @fischi87
      last edited by Oct 17, 2023, 10:56 AM

      F5.
      But some complex/heavy modules might not work .

      S 1 Reply Last reply Oct 17, 2023, 11:17 AM Reply Quote 0
      • S Away
        sdetweil @MMRIZE
        last edited by Oct 17, 2023, 11:17 AM

        @MMRIZE or ctrl-r

        but neither reload the node_helpers

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        F 1 Reply Last reply Oct 17, 2023, 11:23 AM Reply Quote 0
        • F Offline
          fischi87 @sdetweil
          last edited by Oct 17, 2023, 11:23 AM

          @sdetweil

          i just have a connection with ssh.

          S M 2 Replies Last reply Oct 17, 2023, 11:30 AM Reply Quote 0
          • S Away
            sdetweil @fischi87
            last edited by Oct 17, 2023, 11:30 AM

            @fischi87 yes the two keystrokes only work on the mm web page

            I don’t know is mmos documents how to reload the container. we don’t support that here.

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              MMRIZE @fischi87
              last edited by Oct 17, 2023, 12:49 PM

              @fischi87
              You don’t have to “reboot”, connect MM then stop the “pm2” or whatever process manager you use.

              If you are using pm2, try this. I have not used it but may work for you.
              https://pm2.keymetrics.io/docs/usage/watch-and-restart/

              F 1 Reply Last reply Oct 17, 2023, 1:07 PM Reply Quote 0
              • F Offline
                fischi87 @MMRIZE
                last edited by Oct 17, 2023, 1:07 PM

                @MMRIZE

                like i wrote i installed the magicmirroros and there is no pm2. i dont know what start the magicmirror after boot in the os. somebody know what start the magicmirror software?

                S 1 Reply Last reply Oct 17, 2023, 1:23 PM Reply Quote 0
                • S Away
                  sdetweil @fischi87
                  last edited by Oct 17, 2023, 1:23 PM

                  @fischi87 mmos uses a docker container to run MagicMirror. the mm files are on the OS file system and mounted into the container

                  so you would need to restart the container

                  docker container restart ????id???? 
                  

                  see
                  https://docs.docker.com/engine/reference/commandline/restart/

                  you would need to do

                  docker container ls
                  

                  to list the containers to get it’s id to use in the restart command

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  F 1 Reply Last reply Oct 17, 2023, 7:26 PM Reply Quote 0
                  • K Offline
                    karsten13 @fischi87
                    last edited by Oct 17, 2023, 5:21 PM

                    @fischi87

                    out of my head (untested):

                    cd ~/magicmirror/run
                    docker-compose up -d --force-recreate
                    
                    1 Reply Last reply Reply Quote 0
                    • F Offline
                      fischi87 @sdetweil
                      last edited by Oct 17, 2023, 7:26 PM

                      @sdetweil

                      this works thank you.

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