MagicMirror Forum

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

    The MagicMirror dashboard that I created does not load after I close and reopen Chrome unless I run “node serveronly” again.

    Troubleshooting
    3
    11
    347
    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.
    • I
      ibo last edited by

      I am new to this. I am testing MagicMirror on my Google Chrome browser (never had a Raspberry Pi, not yet).

      The MagicMirror dashboard that I created does not load after I close and reopen Chrome unless I run “node serveronly” again.

      Is that normal? Is there a way to have it permanently every time I open Chrome. Does that happen in a Raspberry Pi too or is it just because it is on the localhost:8080?

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

        @ibo yes, NORMALLY, MM is a standalone thing, with its own browser built in… u close it, the app ends

        serverOnly as you note, now splits the app into two parts…

        if u are testing, learning,…

        use npm start in a terminal window to start the standalone MM…
        if u need to end it, ctrl-q on the mirror screen or ctrl-c in that terminal window

        once u get further along you can use pm2 to manage keeping MM running…
        (but if u ctrl-q the screen, pm2 will restart it immediately, thats its job!)

        Sam

        Create a working config
        How to add modules

        I 1 Reply Last reply Reply Quote 0
        • I
          ibo @sdetweil last edited by

          @sdetweil Thank you so much for your quick reply. Is that how it works in a Raspberry Pi too? What if I buy and restart the device? Will my dashboard disappear? Can I “save” my project somewhere so I run it again?
          I am new to this and I am learning/testing before I get a Raspberry Pi.
          Thanks again.

          S thgmirror 2 Replies Last reply Reply Quote 0
          • S
            sdetweil @ibo last edited by

            @ibo the project is saved on sd card, just like on disk on your pc…

            What if I buy and restart the device

            I don’t know what this means

            I would use my installer… it sets up to start MM on boot using pm2…
            see https://github.com/sdetweil/MagicMirror_scripts

            Sam

            Create a working config
            How to add modules

            1 Reply Last reply Reply Quote 0
            • thgmirror
              thgmirror @ibo last edited by thgmirror

              Hi @ibo,
              what about to install Rasbian and MagicMirror in a virtual machine under VirtualBox? You can make your first experiences without spending money and without waiting for delivery (if you prefer to buy a RasPi).

              Thomas

              S I 2 Replies Last reply Reply Quote 0
              • S
                sdetweil @thgmirror last edited by

                @thgmirror for MagicMirror, u can install directly on windows. don’t need raspi…

                virtualbox would be raspi intel, not arm.
                I have it here under VMWare workstation,
                along with Mac and Windows
                (running ubuntu on desktop)

                Sam

                Create a working config
                How to add modules

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

                  @sdetweil I have 3 Raspis:-) And don’t need to install MM on Windows.
                  But @ibo has no Raspi and can make his first steps “virtually”!

                  Thomas

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    ibo last edited by

                    @thgmirror Exactly! I wanted to understand MM before purchasing a Raspberry Pi. That’s why I wanted to “play” with it on Windows first.

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

                      @ibo I knew what you were doing…

                      Sam

                      Create a working config
                      How to add modules

                      1 Reply Last reply Reply Quote 0
                      • I
                        ibo @thgmirror last edited by

                        @thgmirror Great idea. Going to YouTube now to learn how to do all that including the virtual machine.

                        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