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 @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
                    • S Offline
                      SebTota
                      last edited by

                      Man I put the mirror in the closet for a little, came back to finally finish the frame and put it on the wall, updated it and more trouble. Oh gosh.

                      1 Reply Last reply Reply Quote 0
                      • S Offline
                        SebTota @Mitchfarino
                        last edited by

                        @Mitchfarino Thanks for sharing my link!

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

                          Did anyone get this working on the Pi Zero or Pi Zero W after the new update?

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

                            @SebTota
                            Which updates are you referring to? I’m still using Raspbian Jessie Light (I didn’t use the image provided in this thread but my own installation and didn’t update so Stretch yet), which is up to date (according to sudo apt-get update && sudo apt-get upgrade) and the latest version of MagicMirror (according to cd ~/MagicMirror && sudo git pull) and don’t see any (new) issues on my Pi Zero W.

                            What are your problems?
                            `

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

                              @Hawking I get an error saying that modules/color is missing or something like that. I’ve been working on it for 3 days but can’t get it to work.

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

                                @SebTota

                                • Do you also get this error if you use a very minimal config file like
                                var config = {
                                        port: 8080,
                                        ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
                                        language: "en",
                                        timeFormat: 24,
                                        units: "metric",
                                        modules: [
                                                {
                                                        module: "clock",
                                                        position: "top_left"
                                                },
                                        ]
                                };
                                
                                /*************** DO NOT EDIT THE LINE BELOW ***************/
                                if (typeof module !== "undefined") {module.exports = config;}
                                

                                If this works, you can step by step add the modules you want and see which one causes the problem.

                                • The exact error message would be helpful for an analysis.
                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  SebTota @Hawking
                                  last edited by

                                  @Hawking
                                  module.js:339
                                  throw err;
                                  ^

                                  Error: Cannot find module ‘express’
                                  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/server.js:8:15)
                                  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)

                                  and then the browser loads and says it cannot find http://localhost:8080

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

                                    @SebTota I went to my old image from before the update and thats still working fine, but when I updated it, it again had the error come up. The only difference is last time I did the update it said Error: Cannot find module ‘colors’

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

                                      @SebTota
                                      I still don’t understand what update you are referring to.
                                      Both error messages sound like there are modules missing (either “express” or “colors”).

                                      What happens if you do

                                      cd ~/MagicMirror && sudo npm install
                                      cd ~/MagicMirror/vendor && npm install
                                      
                                      S 1 Reply Last reply Reply Quote 1
                                      • S Offline
                                        SebTota @Hawking
                                        last edited by

                                        @Hawking My MagicMirror has been sitting for a long time. When I recently finished the frame to get the computer display and rpi zero out of my closet I booted the rpi zero and on the top of the display it said A New Version of Magic Mirror is available or something along those lines. So I went into the MagicMirror folder and used the command “git pull && npm install” as specified in the README file of MagicMirror.

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

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

                                          git pull && npm install

                                          Have there been errors when you did so?

                                          I got

                                          npm WARN lifecycle magicmirror@2.1.1~install: cannot run in wd %s %s (wd=%s) magicmirror@2.1.1 cd vendor && npm install /home/me/MagicMirror
                                          

                                          Thats why I then did

                                          cd ~/MagicMirror/vendor && npm install
                                          

                                          in addition (see my post above). Maybe this also solves your problem.

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

                                            @Hawking Sorry to keep bothering you but I ended up making it work with the two commands you told me to do. Now my problem is when the Pi Zero W is booting it connects to the WiFi but when magic mirror boots the pi disconnects.

                                            H 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
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 9 / 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