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.

    How I got my Magic Mirror working on a Raspberry Pi 0 (zero)

    Scheduled Pinned Locked Moved Tutorials
    raspberry pipi0zeropizeropi1
    204 Posts 47 Posters 608.6k Views 47 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.
    • B Offline
      braik @Mar
      last edited by

      @Mar
      Hi there,
      I had the same problem and the I have realized that node serveronly was not launched.
      The problem is that the command :
      cd ~/MagicMirror was not working, so I have changed it for
      cd /home/pi/MagicMirror
      and that’s it.
      Hope this can help

      1 Reply Last reply Reply Quote 1
      • B Offline
        bmarofsky
        last edited by

        OK, so i am trying this again on a Pi Zero W

        I got stuck on Step 4
        so I ran:

        sudo apt-get remove nodered
        sudo apt-get remove nodejs nodejs-legacy
        sudo apt-get remove npm   # if you installed npm
        
        wget http://node-arm.herokuapp.com/node_archive_armhf.deb
        sudo dpkg -i node_archive_armhf.deb
        sudo apt-get install -y build-essential python-dev npm
        

        then again on Step 5 i got a ton of these:

        pi@raspberrypi:~/MagicMirror $ sudo npm install
        npm WARN engine feedme@1.0.0: wanted: {"node":">=0.12"} (current: {"node":"0.10.29","npm":"1.4.21"})
        npm WARN engine grunt-eslint@19.0.0: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
        npm WARN engine request@2.81.0: wanted: {"node":">= 4"} (current: {"node":"0.10.29","npm":"1.4.21"})
        npm WARN engine eslint@3.17.1: wanted: {"node":">=4"} (current: {"node":"0.10.29","npm":"1.4.21"})
        
        

        Are the updated steps or an Image that can be downloaded?

        H 1 Reply Last reply Reply Quote 0
        • H Offline
          Hawking @bmarofsky
          last edited by Hawking

          @bmarofsky
          I’m also trying to install Magic Mirror on a Pi Zero W.

          I think one reason for the problems might be that as far as I can tell

          sudo wget http://node-arm.herokuapp.com/node_latest_armhf.deb
          sudo dpkg -i node_latest_armhf.deb
          

          got me node v4.2.1 which is quite outdated (the regular installer of MM2 updates nodes if the version of node is below 5.1.0).
          I therefore tried to install a more recent version of node following the commands here
          https://github.com/sdesalas/node-pi-zero
          However, the compilation of Magic Mirror worked neither with node 7.7.1 nor with node 6.9.1.

          Before I go into details, did anybody got Magic Mirror working on Raspberry Pi Zero W?
          Which node version (and npm version) did you use and how you he install it? Which browser did you use (I read that Midori has some problems)?

          1 Reply Last reply Reply Quote 0
          • MitchfarinoM Offline
            Mitchfarino Module Developer @ArkantosArk
            last edited by

            @ArkantosArk

            This is @SebTota 's link https://mega.nz/#!XlIU3QjI!QSdvAE3yXp1oMsdRGNte6lt4SncgvfozSDU7xhxtbbM

            S 1 Reply Last reply Reply Quote 0
            • H Offline
              Hawking
              last edited by

              I could fix my issue with the blank screen by simply doing

              cd ~/MagicMirror/vendor
              npm install
              

              Then it seem to work (even with the node v 4.2.1). Nevertheless I will try to update to a more recent version of node, just to avoid other problems that are likely to exist in this old node version.

              1 Reply Last reply Reply Quote 0
              • L Offline
                longod
                last edited by

                Hi! I have followed this guide step by step and so precisely, however I am still getting an error when I type in DISPLAY=:0 npm start through SSH. This is the output:

                pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
                
                > magicmirror@2.1.1 start /home/pi/MagicMirror
                > sh run-start.sh
                
                /home/pi/MagicMirror/node_modules/electron/dist/electron: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
                
                npm ERR! Linux 4.4.50+
                npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
                npm ERR! node v4.2.1
                npm ERR! npm  v2.14.7
                npm ERR! file sh
                npm ERR! code ELIFECYCLE
                npm ERR! errno ENOENT
                npm ERR! syscall spawn
                npm ERR! magicmirror@2.1.1 start: `sh run-start.sh`
                npm ERR! spawn ENOENT
                npm ERR!
                npm ERR! Failed at the magicmirror@2.1.1 start script 'sh run-start.sh'.
                npm ERR! This is most likely a problem with the magicmirror package,
                npm ERR! not with npm itself.
                npm ERR! Tell the author that this fails on your system:
                npm ERR!     sh run-start.sh
                npm ERR! You can get their info via:
                npm ERR!     npm owner ls magicmirror
                npm ERR! There is likely additional logging output above.
                
                npm ERR! Please include the following file with any support request:
                npm ERR!     /home/pi/MagicMirror/npm-debug.log
                

                Any help on what to do to solve this would be greatly appreciated!

                H 1 Reply Last reply Reply Quote 0
                • H Offline
                  Hawking @longod
                  last edited by

                  @longod

                  I didn’t try your way of starting the MagicMirror. However, is there a reason that you don’t use the commands in the guide to start the MagicMirror (using the start.sh and startMidori scripts)? There is no DISPLAY=:0 npm start mentioned in this thread.

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    RV @randombullet
                    last edited by

                    @randombullet i followed those steps but i got a error it says that he cannot connect with localhost: 8080 webpage?

                    1 Reply Last reply Reply Quote 0
                    • D Offline
                      dantodd
                      last edited by

                      have you tried just using “npm start” in ssh? That works for me.

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        RV @dantodd
                        last edited by

                        @dantodd you mean every time i start my rasp on i need to type npm start?

                        D B 2 Replies Last reply Reply Quote 0
                        • H Offline
                          Hawking
                          last edited by Hawking

                          @RV said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):

                          @dantodd you mean every time i start my rasp on i need to type npm start?

                          no, that is definitely not necessary.

                          I don’t know the reason for the error message (is there actually a space between localhost: and 8080?). What happens if you run

                          cd ~/MagicMirror
                          node serveronly &
                          

                          manually?

                          1 Reply Last reply Reply Quote 0
                          • D Offline
                            dantodd @RV
                            last edited by

                            @RV said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):

                            @dantodd you mean every time i start my rasp on i need to type npm start?

                            Automating the process is fairly simple but let’s get you up and running first. You should also check your permissions in the config.js file. Make sure that your whitelist is properly configured.

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              braik @RV
                              last edited by braik

                              @RV Hi, I don’t know if it can help, but I have noticed that the “~” shortcut to go tho the /home/pi folder does not work on the scripts.
                              So when you do the same commands manually everything seems to be OK, but when you run the scripts then you get a bug.
                              The solution, in my case, was to replace all the folder shortcuts (as ~ for home folder) with the complete explicit path inside the scripts.
                              Good luck
                              Braik

                              R 1 Reply Last reply Reply Quote 0
                              • R Offline
                                RV @braik
                                last edited by

                                @braik as i said before i am not that experienced with Python, Linux or what so ever. I think you are right on this one. When i typed cd /home/pi/ i didn’t get a response or anything.

                                I hope you can show me how to replace the folder, like you have told me before.

                                H 1 Reply Last reply Reply Quote 0
                                • H Offline
                                  Hawking @RV
                                  last edited by

                                  @RV said in How I got my Magic Mirror working on a Raspberry Pi 0 (zero):

                                  When i typed cd /home/pi/ i didn’t get a response or anything.

                                  This sounds strange. Did you type it in the unit terminal? cd is the comand to change directory. Maybe you have already been in the /home/pi/ directory (than the change would have no effect). Could you type pwd (print working directory)
                                  and give the result before and after the cd /home/pi/ command and give the results?

                                  1 Reply Last reply Reply Quote 0
                                  • 1 Offline
                                    12wsx
                                    last edited by

                                    Hello. I installed image of SebTota everything work, but i had to update and after put: "git pull"my MM don,t get up.
                                    error

                                    0 info it worked if it ends with ok
                                    1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'start' ]
                                    2 info using npm@2.14.7
                                    3 info using node@v4.2.1
                                    4 verbose run-script [ 'prestart', 'start', 'poststart' ]
                                    5 info prestart magicmirror@2.1.2
                                    6 info start magicmirror@2.1.2
                                    7 verbose unsafe-perm in lifecycle true
                                    8 info magicmirror@2.1.2 Failed to exec start script
                                    9 verbose stack Error: magicmirror@2.1.2 start: `sh run-start.sh`
                                    9 verbose stack spawn ENOENT
                                    9 verbose stack     at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:17:16)
                                    9 verbose stack     at emitTwo (events.js:87:13)
                                    9 verbose stack     at ChildProcess.emit (events.js:172:7)
                                    9 verbose stack     at maybeClose (internal/child_process.js:818:16)
                                    9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
                                    10 verbose pkgid magicmirror@2.1.2
                                    11 verbose cwd /home/pi/MagicMirror
                                    12 error Linux 4.4.34+
                                    13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
                                    14 error node v4.2.1
                                    15 error npm  v2.14.7
                                    16 error file sh
                                    17 error code ELIFECYCLE
                                    18 error errno ENOENT
                                    19 error syscall spawn
                                    20 error magicmirror@2.1.2 start: `sh run-start.sh`
                                    20 error spawn ENOENT
                                    21 error Failed at the magicmirror@2.1.2 start script 'sh run-start.sh'.
                                    21 error This is most likely a problem with the magicmirror package,
                                    21 error not with npm itself.
                                    21 error Tell the author that this fails on your system:
                                    21 error     sh run-start.sh
                                    21 error You can get their info via:
                                    21 error     npm owner ls magicmirror
                                    21 error There is likely additional logging output above.
                                    22 verbose exit [ 1, true ]
                                    ```how can i resolved this problem?
                                    1 Reply Last reply Reply Quote 0
                                    • 1 Offline
                                      12wsx
                                      last edited by

                                      Today after reinstall and try to update cd /MagicMirror git pull my MagicMirror won’t start up

                                      full log update

                                      Starting MagicMirror: v2.1.0
                                      Loading config ...
                                      Loading module helpers ...
                                      No helper found for module: alert.
                                      Initializing new module helper ...
                                      No helper found for module: clock.
                                      No helper found for module: compliments.
                                      No helper found for module: currentweather.
                                      No helper found for module: weatherforecast.
                                      Initializing new module helper ...
                                      All module helpers loaded.
                                      Starting server op port 8080 ...
                                      Server started ...
                                      Connecting socket for: updatenotification
                                      Connecting socket for: newsfeed
                                      Starting module: newsfeed
                                      Sockets connected & modules started ...
                                      
                                      Ready to go! Please point your browser to: http://localhost:8080
                                      Whoops! There was an uncaught exception...
                                      { [Error: listen EADDRINUSE :::8080]
                                        code: 'EADDRINUSE',
                                        errno: 'EADDRINUSE',
                                        syscall: 'listen',
                                        address: '::',
                                        port: 8080 }
                                      MagicMirror will not quit, but it might be a good idea to check why this happene                                                                                                                     d. Maybe no internet connection?
                                      If you think this really is an issue, please open an issue on GitHub: https://gi                                                                                                                     thub.com/MichMich/MagicMirror/issues
                                      
                                      (EE)
                                      Fatal server error:
                                      (EE) Server is already active for display 0
                                              If this server is no longer running, remove /tmp/.X0-lock
                                              and start again.
                                      (EE)
                                      (EE)
                                      Please consult the The X.Org Foundation support
                                               at http://wiki.x.org
                                       for help.
                                      (EE)
                                      XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
                                            after 7 requests (7 known processed) with 0 events remaining.
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      
                                      root@raspberrypi:/home/pi/MagicMirror# git pull
                                      Updating 8010e62..8a101f9
                                      Fast-forward
                                       .eslintignore                                                 |     4 +-
                                       .github/PULL_REQUEST_TEMPLATE.md                              |     7 +
                                       .gitignore                                                    |    13 +-
                                       .travis.yml                                                   |    11 +-
                                       CHANGELOG.md                                                  |   114 +-
                                       Gruntfile.js                                                  |    48 +-
                                       LICENSE.md                                                    |     2 +-
                                       README.md                                                     |    56 +-
                                       config/config.js.sample                                       |    62 +-
                                       css/main.css                                                  |    12 +
                                       index.html                                                    |     8 +-
                                       installers/mm.sh                                              |     2 +
                                       installers/pm2_MagicMirror.json                               |     7 +
                                       installers/postinstall/postinstall.sh                         |     2 +
                                       installers/raspberry.sh                                       |    36 +-
                                       js/app.js                                                     |   103 +-
                                       js/defaults.js                                                |     7 +-
                                       js/deprecated.js                                              |    14 +
                                       js/electron.js                                                |     8 +-
                                       js/loader.js                                                  |    16 +-
                                       js/main.js                                                    |    56 +-
                                       js/module.js                                                  |    69 +-
                                       js/server.js                                                  |    32 +-
                                       js/socketclient.js                                            |     1 -
                                       js/translator.js                                              |    27 +-
                                       js/utils.js                                                   |    19 +
                                       modules/README.md                                             |   142 +-
                                       modules/default/alert/README.md                               |   149 +-
                                       modules/default/alert/alert.js                                |     3 +-
                                       modules/default/alert/translations/hu.json                    |     4 +
                                       modules/default/alert/translations/nl.json                    |     4 +
                                       modules/default/alert/translations/ru.json                    |     4 +
                                       modules/default/calendar/README.md                            |   236 +--
                                       modules/default/calendar/calendar.css                         |     2 +
                                       modules/default/calendar/calendar.js                          |   224 ++-
                                       modules/default/calendar/calendarfetcher.js                   |    34 +-
                                       modules/default/calendar/debug.js                             |    14 +-
                                       modules/default/calendar/node_helper.js                       |     7 +-
                                       modules/default/calendar/vendor/ical.js/ical.js               |    12 +-
                                       modules/default/calendar/vendor/ical.js/node-ical.js          |    13 +-
                                       modules/default/clock/README.md                               |   124 +-
                                       modules/default/clock/clock.js                                |    79 +-
                                       modules/default/clock/clock_styles.css                        |     2 +-
                                       modules/default/compliments/README.md                         |   121 +-
                                       modules/default/compliments/compliments.js                    |    36 +-
                                       modules/default/currentweather/README.md                      |   248 +--
                                       modules/default/currentweather/currentweather.css             |     3 +-
                                       modules/default/currentweather/currentweather.js              |    64 +-
                                       modules/default/helloworld/README.md                          |    29 +-
                                       modules/default/newsfeed/README.md                            |   189 +-
                                       modules/default/newsfeed/fetcher.js                           |     7 +-
                                       modules/default/newsfeed/newsfeed.js                          |   113 +-
                                       modules/default/newsfeed/node_helper.js                       |    11 +-
                                       modules/default/updatenotification/README.md                  |    25 +-
                                       modules/default/weatherforecast/README.md                     |   223 +--
                                       modules/default/weatherforecast/weatherforecast.css           |     8 +
                                       modules/default/weatherforecast/weatherforecast.js            |    28 +-
                                       modules/node_modules/node_helper/index.js                     |    20 +-
                                       package.json                                                  |    40 +-
                                       run-start.sh                                                  |     4 +
                                       splashscreen/MagicMirror.script                               |    17 +-
                                       splashscreen/splash.png                                       |   Bin 19820 -> 37062 bytes
                                       splashscreen/splash_halt.png                                  |   Bin 0 -> 22304 bytes
                                       tests/configs/check_config.js                                 |    66 +
                                       tests/configs/data/calendar_test.ics                          |   190 ++
                                       tests/configs/data/feed_test_rodrigoramirez.xml               |   410 +++++
                                       tests/configs/empty_ipWhiteList.js                            |    25 +
                                       tests/configs/env.js                                          |    25 +
                                       tests/configs/modules/calendar/auth-default.js                |    41 +
                                       tests/configs/modules/calendar/basic-auth.js                  |    42 +
                                       tests/configs/modules/calendar/default.js                     |    37 +
                                       tests/configs/modules/calendar/fail-basic-auth.js             |    44 +
                                       tests/configs/modules/calendar/old-basic-auth.js              |    39 +
                                       tests/configs/modules/clock/clock_12hr.js                     |    29 +
                                       tests/configs/modules/clock/clock_24hr.js                     |    29 +
                                       tests/configs/modules/clock/clock_displaySeconds_false.js     |    32 +
                                       tests/configs/modules/clock/clock_showPeriodUpper.js          |    32 +
                                       tests/configs/modules/clock/clock_showWeek.js                 |    32 +
                                       tests/configs/modules/clock/es/clock_12hr.js                  |    29 +
                                       tests/configs/modules/clock/es/clock_24hr.js                  |    29 +
                                       tests/configs/modules/clock/es/clock_showPeriodUpper.js       |    32 +
                                       tests/configs/modules/compliments/compliments_anytime.js      |    38 +
                                       tests/configs/modules/compliments/compliments_only_anytime.js |    35 +
                                       tests/configs/modules/compliments/compliments_parts_day.js    |    42 +
                                       tests/configs/modules/helloworld/helloworld.js                |    32 +
                                       tests/configs/modules/newsfeed/default.js                     |    38 +
                                       tests/configs/modules/positions.js                            |    43 +
                                       tests/configs/noIpWhiteList.js                                |    25 +
                                       tests/configs/port_8090.js                                    |    25 +
                                       tests/configs/without_modules.js                              |    23 +
                                       tests/e2e/dev_console.js                                      |    51 +
                                       tests/e2e/env_spec.js                                         |    47 +
                                       tests/e2e/global-setup.js                                     |    34 +
                                       tests/e2e/ipWhistlist_spec.js                                 |    46 +
                                       tests/e2e/modules/calendar_spec.js                            |    81 +
                                       tests/e2e/modules/clock_es_spec.js                            |    81 +
                                       tests/e2e/modules/clock_spec.js                               |   134 ++
                                       tests/e2e/modules/compliments_spec.js                         |    95 +
                                       tests/e2e/modules/helloworld_spec.js                          |    24 +
                                       tests/e2e/modules/newsfeed_spec.js                            |    28 +
                                       tests/e2e/modules_position_spec.js                            |    42 +
                                       tests/e2e/port_config.js                                      |    51 +
                                       tests/e2e/vendor_spec.js                                      |    36 +
                                       tests/e2e/without_modules.js                                  |    53 +
                                       tests/servers/basic-auth.js                                   |    30 +
                                       tests/unit/functions/calendar_spec.js                         |    36 +
                                       tests/unit/functions/cmp_versions_spec.js                     |    20 +
                                       tests/unit/global_vars/defaults_modules_spec.js               |    66 +
                                       tests/unit/global_vars/root_path_spec.js                      |    71 +
                                       tests/unit/translations/same_keys.js                          |   115 ++
                                       translations/af.json                                          |    30 +
                                       translations/da.json                                          |     6 +-
                                       translations/de.json                                          |     6 +-
                                       translations/en.json                                          |     6 +-
                                       translations/es.json                                          |     6 +-
                                       translations/et.json                                          |    30 +
                                       translations/fi.json                                          |    11 +-
                                       translations/fr.json                                          |     3 -
                                       translations/fy.json                                          |     3 -
                                       translations/gr.json                                          |     3 -
                                       translations/hu.json                                          |    30 +
                                       translations/id.json                                          |    30 +
                                       translations/is.json                                          |    30 +
                                       translations/it.json                                          |     3 -
                                       translations/ja.json                                          |     5 +-
                                       translations/kr.json                                          |    30 +
                                       translations/nb.json                                          |    12 +-
                                       translations/nl.json                                          |     4 -
                                       translations/nn.json                                          |    10 +-
                                       translations/pl.json                                          |    13 +-
                                       translations/pt.json                                          |    11 +-
                                       translations/pt_br.json                                       |     3 -
                                       translations/ro.json                                          |    32 +
                                       translations/ru.json                                          |    32 +
                                       translations/sv.json                                          |    16 +-
                                       translations/tr.json                                          |     3 -
                                       translations/translations.js                                  |    10 +
                                       translations/zh_cn.json                                       |    10 +-
                                       translations/zh_tw.json                                       |     3 -
                                       vendor/font-awesome-4.5.0/HELP-US-OUT.txt                     |     7 -
                                       vendor/font-awesome-4.5.0/css/font-awesome.css                |  2086 ----------------------
                                       vendor/font-awesome-4.5.0/css/font-awesome.min.css            |     4 -
                                       vendor/font-awesome-4.5.0/fonts/FontAwesome.otf               |   Bin 109688 -> 0 bytes
                                       vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.eot       |   Bin 70807 -> 0 bytes
                                       vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.svg       |   655 -------
                                       vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.ttf       |   Bin 142072 -> 0 bytes
                                       vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff      |   Bin 83588 -> 0 bytes
                                       vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff2     |   Bin 66624 -> 0 bytes
                                       vendor/font-awesome-4.5.0/less/animated.less                  |    34 -
                                       vendor/font-awesome-4.5.0/less/bordered-pulled.less           |    25 -
                                       vendor/font-awesome-4.5.0/less/core.less                      |    12 -
                                       vendor/font-awesome-4.5.0/less/fixed-width.less               |     6 -
                                       vendor/font-awesome-4.5.0/less/font-awesome.less              |    17 -
                                       vendor/font-awesome-4.5.0/less/icons.less                     |   697 --------
                                       vendor/font-awesome-4.5.0/less/larger.less                    |    13 -
                                       vendor/font-awesome-4.5.0/less/list.less                      |    19 -
                                       vendor/font-awesome-4.5.0/less/mixins.less                    |    26 -
                                       vendor/font-awesome-4.5.0/less/path.less                      |    15 -
                                       vendor/font-awesome-4.5.0/less/rotated-flipped.less           |    20 -
                                       vendor/font-awesome-4.5.0/less/stacked.less                   |    20 -
                                       vendor/font-awesome-4.5.0/less/variables.less                 |   708 --------
                                       vendor/font-awesome-4.5.0/scss/_animated.scss                 |    34 -
                                       vendor/font-awesome-4.5.0/scss/_bordered-pulled.scss          |    25 -
                                       vendor/font-awesome-4.5.0/scss/_core.scss                     |    12 -
                                       vendor/font-awesome-4.5.0/scss/_fixed-width.scss              |     6 -
                                       vendor/font-awesome-4.5.0/scss/_icons.scss                    |   697 --------
                                       vendor/font-awesome-4.5.0/scss/_larger.scss                   |    13 -
                                       vendor/font-awesome-4.5.0/scss/_list.scss                     |    19 -
                                       vendor/font-awesome-4.5.0/scss/_mixins.scss                   |    26 -
                                       vendor/font-awesome-4.5.0/scss/_path.scss                     |    15 -
                                       vendor/font-awesome-4.5.0/scss/_rotated-flipped.scss          |    20 -
                                       vendor/font-awesome-4.5.0/scss/_stacked.scss                  |    20 -
                                       vendor/font-awesome-4.5.0/scss/_variables.scss                |   708 --------
                                       vendor/font-awesome-4.5.0/scss/font-awesome.scss              |    17 -
                                       vendor/moment/moment-timezone.js                              |  1197 -------------
                                       vendor/moment/moment-with-locales.js                          | 12061 -----------------------------------------------------------------------------------------------------------------------------
                                       vendor/moment/moment-with-locales.min.js                      |    75 -
                                       vendor/package.json                                           |    18 +
                                       vendor/vendor.js                                              |    12 +-
                                       vendor/weather-icons/css/weather-icons-wind.css               |  5331 -------------------------------------------------------
                                       vendor/weather-icons/css/weather-icons-wind.min.css           |     1 -
                                       vendor/weather-icons/css/weather-icons.css                    |  1838 -------------------
                                       vendor/weather-icons/css/weather-icons.min.css                |    41 -
                                       vendor/weather-icons/font/weathericons-regular-webfont.eot    |   Bin 99774 -> 0 bytes
                                       vendor/weather-icons/font/weathericons-regular-webfont.svg    |   257 ---
                                       vendor/weather-icons/font/weathericons-regular-webfont.ttf    |   Bin 99564 -> 0 bytes
                                       vendor/weather-icons/font/weathericons-regular-webfont.woff   |   Bin 56468 -> 0 bytes
                                       vendor/weather-icons/font/weathericons-regular-webfont.woff2  |   Bin 44720 -> 0 bytes
                                       188 files changed, 4474 insertions(+), 28304 deletions(-)
                                       create mode 100755 installers/mm.sh
                                       create mode 100644 installers/pm2_MagicMirror.json
                                       create mode 100644 installers/postinstall/postinstall.sh
                                       create mode 100644 js/deprecated.js
                                       create mode 100644 js/utils.js
                                       create mode 100644 modules/default/alert/translations/hu.json
                                       create mode 100644 modules/default/alert/translations/nl.json
                                       create mode 100644 modules/default/alert/translations/ru.json
                                       create mode 100644 run-start.sh
                                       create mode 100644 splashscreen/splash_halt.png
                                       create mode 100644 tests/configs/check_config.js
                                       create mode 100644 tests/configs/data/calendar_test.ics
                                       create mode 100644 tests/configs/data/feed_test_rodrigoramirez.xml
                                       create mode 100644 tests/configs/empty_ipWhiteList.js
                                       create mode 100644 tests/configs/env.js
                                       create mode 100644 tests/configs/modules/calendar/auth-default.js
                                       create mode 100644 tests/configs/modules/calendar/basic-auth.js
                                       create mode 100644 tests/configs/modules/calendar/default.js
                                       create mode 100644 tests/configs/modules/calendar/fail-basic-auth.js
                                       create mode 100644 tests/configs/modules/calendar/old-basic-auth.js
                                       create mode 100644 tests/configs/modules/clock/clock_12hr.js
                                       create mode 100644 tests/configs/modules/clock/clock_24hr.js
                                       create mode 100644 tests/configs/modules/clock/clock_displaySeconds_false.js
                                       create mode 100644 tests/configs/modules/clock/clock_showPeriodUpper.js
                                       create mode 100644 tests/configs/modules/clock/clock_showWeek.js
                                       create mode 100644 tests/configs/modules/clock/es/clock_12hr.js
                                       create mode 100644 tests/configs/modules/clock/es/clock_24hr.js
                                       create mode 100644 tests/configs/modules/clock/es/clock_showPeriodUpper.js
                                       create mode 100644 tests/configs/modules/compliments/compliments_anytime.js
                                       create mode 100644 tests/configs/modules/compliments/compliments_only_anytime.js
                                       create mode 100644 tests/configs/modules/compliments/compliments_parts_day.js
                                       create mode 100644 tests/configs/modules/helloworld/helloworld.js
                                       create mode 100644 tests/configs/modules/newsfeed/default.js
                                       create mode 100644 tests/configs/modules/positions.js
                                       create mode 100644 tests/configs/noIpWhiteList.js
                                       create mode 100644 tests/configs/port_8090.js
                                       create mode 100644 tests/configs/without_modules.js
                                       create mode 100644 tests/e2e/dev_console.js
                                       create mode 100644 tests/e2e/env_spec.js
                                       create mode 100644 tests/e2e/global-setup.js
                                       create mode 100644 tests/e2e/ipWhistlist_spec.js
                                       create mode 100644 tests/e2e/modules/calendar_spec.js
                                       create mode 100644 tests/e2e/modules/clock_es_spec.js
                                       create mode 100644 tests/e2e/modules/clock_spec.js
                                       create mode 100644 tests/e2e/modules/compliments_spec.js
                                       create mode 100644 tests/e2e/modules/helloworld_spec.js
                                       create mode 100644 tests/e2e/modules/newsfeed_spec.js
                                       create mode 100644 tests/e2e/modules_position_spec.js
                                       create mode 100644 tests/e2e/port_config.js
                                       create mode 100644 tests/e2e/vendor_spec.js
                                       create mode 100644 tests/e2e/without_modules.js
                                       create mode 100644 tests/servers/basic-auth.js
                                       create mode 100644 tests/unit/functions/calendar_spec.js
                                       create mode 100644 tests/unit/functions/cmp_versions_spec.js
                                       create mode 100644 tests/unit/global_vars/defaults_modules_spec.js
                                       create mode 100644 tests/unit/global_vars/root_path_spec.js
                                       create mode 100644 tests/unit/translations/same_keys.js
                                       create mode 100644 translations/af.json
                                       create mode 100644 translations/et.json
                                       create mode 100644 translations/hu.json
                                       create mode 100644 translations/id.json
                                       create mode 100644 translations/is.json
                                       create mode 100644 translations/kr.json
                                       create mode 100644 translations/ro.json
                                       create mode 100644 translations/ru.json
                                       delete mode 100644 vendor/font-awesome-4.5.0/HELP-US-OUT.txt
                                       delete mode 100644 vendor/font-awesome-4.5.0/css/font-awesome.css
                                       delete mode 100644 vendor/font-awesome-4.5.0/css/font-awesome.min.css
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/FontAwesome.otf
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.eot
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.svg
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.ttf
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff
                                       delete mode 100644 vendor/font-awesome-4.5.0/fonts/fontawesome-webfont.woff2
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/animated.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/bordered-pulled.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/core.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/fixed-width.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/font-awesome.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/icons.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/larger.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/list.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/mixins.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/path.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/rotated-flipped.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/stacked.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/less/variables.less
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_animated.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_bordered-pulled.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_core.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_fixed-width.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_icons.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_larger.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_list.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_mixins.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_path.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_rotated-flipped.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_stacked.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/_variables.scss
                                       delete mode 100644 vendor/font-awesome-4.5.0/scss/font-awesome.scss
                                       delete mode 100644 vendor/moment/moment-timezone.js
                                       delete mode 100644 vendor/moment/moment-with-locales.js
                                       delete mode 100644 vendor/moment/moment-with-locales.min.js
                                       create mode 100644 vendor/package.json
                                       delete mode 100644 vendor/weather-icons/css/weather-icons-wind.css
                                       delete mode 100644 vendor/weather-icons/css/weather-icons-wind.min.css
                                       delete mode 100644 vendor/weather-icons/css/weather-icons.css
                                       delete mode 100644 vendor/weather-icons/css/weather-icons.min.css
                                       delete mode 100755 vendor/weather-icons/font/weathericons-regular-webfont.eot
                                       delete mode 100755 vendor/weather-icons/font/weathericons-regular-webfont.svg
                                       delete mode 100755 vendor/weather-icons/font/weathericons-regular-webfont.ttf
                                       delete mode 100755 vendor/weather-icons/font/weathericons-regular-webfont.woff
                                       delete mode 100755 vendor/weather-icons/font/weathericons-regular-webfont.woff2
                                      
                                      
                                      The programs included with the Debian GNU/Linux system are free software;
                                      the exact distribution terms for each program are described in the
                                      individual files in /usr/share/doc/*/copyright.
                                      
                                      Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                                      permitted by applicable law.
                                      Last login: Mon Aug  7 18:27:13 2017
                                      
                                      SSH is enabled and the default password for the 'pi' user has not been changed.
                                      This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.
                                      
                                      module.js:339
                                          throw err;
                                          ^
                                      
                                      Error: Cannot find module 'colors/safe'
                                          at Function.Module._resolveFilename (module.js:337:15)
                                          at Function.Module._load (module.js:287:25)
                                          at Module.require (module.js:366:17)
                                          at require (module.js:385:17)
                                          at Object. (/home/pi/MagicMirror/js/utils.js:9:14)
                                          at Module._compile (module.js:435:26)
                                          at Object.Module._extensions..js (module.js:442:10)
                                          at Module.load (module.js:356:32)
                                          at Function.Module._load (module.js:311:12)
                                          at Module.require (module.js:366:17)
                                      
                                      (EE)
                                      Fatal server error:
                                      (EE) Server is already active for display 0
                                              If this server is no longer running, remove /tmp/.X0-lock
                                              and start again.
                                      (EE)
                                      (EE)
                                      Please consult the The X.Org Foundation support
                                               at http://wiki.x.org
                                       for help.
                                      (EE)
                                      XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
                                            after 7 requests (7 known processed) with 0 events remaining.
                                      pi@raspberrypi:~ $
                                      
                                      
                                      

                                      best regards
                                      Dan

                                      M 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mmaino12 @12wsx
                                        last edited by

                                        @12wsx That error log means that you already have a server running on port 8080. You need to kill the existing server and then restart your new mirror server with “npm start”.

                                        1 Reply Last reply Reply Quote 1
                                        • D Offline
                                          delusional112
                                          last edited by

                                          Hi guys,

                                          Used the image from @SebTota. MM2 is starting and running. But i can’t get my pi zero W to connect to my wifi. I edited the WPA_supplicant file. Can’t get it to work. Also i tried with a command found on google to scan for networks. But it responds Wlan0 can’t scan.

                                          Thanks in advance for the help.

                                          H 1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            Hawking @delusional112
                                            last edited by

                                            @delusional112
                                            I didn’t use the image but used my own installation. Therefore In can’t tell for sure. However,where ist the wpa_supplicant.conf you are referring to located? Did you use/create one directly on /boot? This should automatically be copied to the “normal” location and then automatically get deleted.

                                            My wpa_suplicant.conf file looked like

                                            ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
                                            update_config=1
                                            network={
                                            ssid="NAMEOFNETWORK"
                                            psk="WPA2KEY"
                                            }
                                            

                                            (of course you have put your network name and key in, but keep the quotation marks).
                                            Which editor did you use (not that there is a problem with the line end or something similar)?

                                            Once it worked, I replaced the clear text psk by a passphrase by using wpa_passphrase.

                                            `

                                            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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 10
                                            • 11
                                            • 5 / 11
                                            • 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