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.

    magic mirror 2 config.js file

    Scheduled Pinned Locked Moved Solved Troubleshooting
    38 Posts 5 Posters 17.2k Views 5 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.
    • E Offline
      elaineezhu @sdetweil
      last edited by elaineezhu

      @sdetweil editing the code as in editing the config.js file. 0_1577455393378_Screen Shot 2019-12-27 at 9.02.57 PM.png
      that’s what happens when i do pm2 restart 0 and pm2 status

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

        @elaineezhu ok, no pm2 setup for this machine

        so you would do the other approach

        cd ~/MagicMIrror
        npm start
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • E Offline
          elaineezhu @sdetweil
          last edited by

          @sdetweil i think so? it’ll open in electron

          S 2 Replies Last reply Reply Quote 0
          • S Offline
            sdetweil @elaineezhu
            last edited by

            @elaineezhu how did you do the install? manually or one of the scripts?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

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

              @elaineezhu pm2 starts the same scripts as manually (~/MagicMirror/installers/mm.sh)

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • E Offline
                elaineezhu
                last edited by

                @sdetweil i believe manually, using the instructions here: https://forum.magicmirror.builders/topic/810/total-beginner-mm2-with-macmini/3

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

                  @elaineezhu hm… shouldn’t matter… but won’t take long… try my new updated installer (part of next
                  release)

                  see the instruction here

                  https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

                  rename the current MagicMirror folder out of the way

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  E 1 Reply Last reply Reply Quote 0
                  • E Offline
                    elaineezhu @sdetweil
                    last edited by

                    @sdetweil this is what happens when i try to use your code 0_1577456565197_Screen Shot 2019-12-27 at 9.22.35 PM.png

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

                      @elaineezhu ok, I think i fixed the greadlink problem…

                      but you MUST rename the MagicMirror folder 1st… this is INSTALL, assumes first time…

                      later there will be a new update script (to move to next version)

                      just fyi, I added the compliment config to my MM on Mac catalina and it works as expected

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        elaineezhu @sdetweil
                        last edited by elaineezhu

                        @sdetweil do i rename the folder to anything i want?

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

                          @elaineezhu yes, as long as it is not MagicMirror

                          MagicMirror.save, .old, .previous, junk… whatever

                          Sam

                          How to add modules

                          learning how to use browser developers window for css changes

                          E 1 Reply Last reply Reply Quote 0
                          • E Offline
                            elaineezhu @sdetweil
                            last edited by

                            @sdetweil i tried using the bash -c “$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)” command again, but it still doesn’t work. it shows the same feedback as before. i’ve also renamed the magic mirror folder

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

                              @elaineezhu please post the screen shot like before
                              should look like this after the big magicmirror logo

                              + echo -e '\e[0m'
                              \e[0m
                              + doInstall=1
                              + true=1
                              + false=0
                              + NODE_TESTED=v10.1.0
                              + NPM_TESTED=V6.0.0
                              ++ whoami
                              + USER=sam
                              + PM2_FILE=pm2_MagicMirror.json
                              + force_arch=
                              + pm2setup=0
                              ++ uname -s
                              + mac=Darwin
                              + '[' Darwin == Darwin ']'
                              + echo this is a mac
                              + tee -a
                              this is a mac
                              ++ which greadlink
                              ++ wc -l
                              + '[' 1 -eq 0 ']'
                              + cmd=greadlink
                              +++ greadlink -f bash
                              ++ dirname /Users/sam/MagicMirror/config/bash
                              + logdir=/Users/sam/MagicMirror/config
                              + [[ /Users/sam/MagicMirror/config != *\M\a\g\i\c\M\i\r\r\o\r\/\i\n\s\t\a\l\l\e\r\s* ]]
                              + '[' -d MagicMirror ']'
                              + logdir=/Users/sam
                              + logfile=/Users/sam/install.log
                              

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              E 1 Reply Last reply Reply Quote 0
                              • E Offline
                                elaineezhu @sdetweil
                                last edited by

                                @sdetweil 0_1577458279274_Screen Shot 2019-12-27 at 9.51.11 PM.png

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

                                  @elaineezhu fun

                                  do this

                                  ls "$HOME/MagicMirror"
                                  

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  E 1 Reply Last reply Reply Quote 0
                                  • E Offline
                                    elaineezhu @sdetweil
                                    last edited by

                                    @sdetweil this is what shows up
                                    0_1577458475877_Screen Shot 2019-12-27 at 9.54.29 PM.png

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

                                      @elaineezhu but you were supposed to rename it…

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      E 1 Reply Last reply Reply Quote 0
                                      • E Offline
                                        elaineezhu @sdetweil
                                        last edited by

                                        @sdetweil this is the magic mirror folder that i renamed?
                                        0_1577458629175_Screen Shot 2019-12-27 at 9.56.57 PM.png

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

                                          @elaineezhu well then , this explains the original problem…

                                          the config in the ACTUAL ~/MagicMirror is not being changed, u were editing some OTHER magicmirror folder.

                                          cause the $HOME/MagicMirror folder still exists

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          E 1 Reply Last reply Reply Quote 0
                                          • E Offline
                                            elaineezhu @sdetweil
                                            last edited by

                                            @sdetweil ohhhhh okay i get it. i’ve tried to edit the actual magicmirror folder (i think i might’ve had 2 or 3) and now it works! thank you so much for all your help :) i appreciate it!

                                            1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 2 / 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