MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. bdream
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    B
    Offline
    • Profile
    • Following 1
    • Followers 0
    • Topics 19
    • Posts 207
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: YAPi0 Installer Stretch Lite

      ahh, I have to make it standard ;)
      it works now. That was a hard born (is this I can say in englich? :dizzy_face: )

      RBB

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      export DISPLAY=:0

      that is I should know. SORRY!

      Get the information that Chromium is not the standardbrowser

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      #you should test this from a command prompt window

      pi@RasPiZeroW:~/MagicMirror $ node serveronly &
      [1] 3121
      pi@RasPiZeroW:~/MagicMirror $ chromium-browser -kiosk -start_maximized http://localhost:8080
      [3127:3127:1020/181325.903037:ERROR:browser_main_loop.cc(596)] Failed to put Xlib into threaded mode.
      
      (chromium-browser:3127): Gtk-WARNING **: 18:13:26.114: cannot open display:
      pi@RasPiZeroW:~/MagicMirror $ Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 ...
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:8080
      
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      you and another user are having the same trouble. both have armv6l devices and are using Buster.

      But I installed the armv7l :dizzy_face:

      @sdetweil said in YAPi0 Installer Stretch Lite:

      npm install --arch=armv7l electron@latest

      @sdetweil said in YAPi0 Installer Stretch Lite:

      there is a browser installed… its that globe on the task bar… Chrome also is a nice browser

      Yes, there is the globe…
      …and it success. localhost:8080 directs to MagicMirror² within all the standard modules :smiling_face:

      Anyway I do the debucg stuff:
      :backhand_index_pointing_up_light_skin_tone: um.
      I had to ctrl-c the action (on ssh console) while the browser (on the pi itself) already run MagicMirror

      pi@RasPiZeroW:~/MagicMirror $ node serveronly
      Starting MagicMirror: v2.9.0
      Loading config ...
      Loading module helpers ...
      No helper found for module: alert.
      Initializing new module helper ...
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper ...
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper ...
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 ...
      Server started ...
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started ...
      
      Ready to go! Please point your browser to: http://localhost:8080
      Create new calendar fetcher for url: http://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics - Interval: 300000
      Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000
      
      ^C[SIGINT] Received. Shutting down server...
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: newsfeed
      
      
      cd ~/MagicMirror
      export ELECTRON_ENABLE_LOGGING=true
      export ELECTRON_ENABLE_STACK_DUMPING=true
      ~/MagicMirror/node_modules/electron/dist/electron
      

      I got an storage acess error here.
      just reboot and again storage acess error.

      If I’m right, I can config the system running with standard browser.
      Can you tell me what exactly I need to do therefor?
      …and MagicMirror² run in this browser (It’s the Chromium) but not screenfilling.

      And, would it make sense deinstalling Electron then? How? :face_screaming_in_fear:

      Ohh, no. It sais localhost declined access :( why that is was running before?
      Any about this configurations?

      export ELECTRON_ENABLE_LOGGING=true
      export ELECTRON_ENABLE_STACK_DUMPING=true
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      then use another browser to open the url shown

      that means, I need to install another browser?
      Have you advise please?

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      Does it open browser?

      pi@RasPiZeroW:~ $ ~/MagicMirror/node_modules/electron/dist/electron
      Speicherzugriffsfehler
      pi@RasPiZeroW:~ $ cd ~/MagicMirror/node_modules/electron/dist/electron
      -bash: cd: /home/pi/MagicMirror/node_modules/electron/dist/electron: Ist kein Verzeichnis
      pi@RasPiZeroW:~ $ cd ~/MagicMirror/node_modules/electron/dist/
      pi@RasPiZeroW:~/MagicMirror/node_modules/electron/dist $ ls -la
      insgesamt 107480
      drwxr-xr-x 4 pi pi     4096 Okt 19 10:56 .
      drwxr-xr-x 4 pi pi     4096 Okt 19 10:56 ..
      -rw-r--r-- 1 pi pi   145945 Okt 19 10:55 chrome_100_percent.pak
      -rw-r--r-- 1 pi pi   209147 Okt 19 10:55 chrome_200_percent.pak
      -rwxr-xr-x 1 pi pi  4202140 Okt 19 10:56 chrome-sandbox
      -rwxr-xr-x 1 pi pi 74648480 Okt 19 10:55 electron
      -rw-r--r-- 1 pi pi 10410272 Okt 19 10:55 icudtl.dat
      -rwxr-xr-x 1 pi pi   157372 Okt 19 10:55 libEGL.so
      -rwxr-xr-x 1 pi pi  1949660 Okt 19 10:55 libffmpeg.so
      -rwxr-xr-x 1 pi pi  4883208 Okt 19 10:55 libGLESv2.so
      -rw-r--r-- 1 pi pi     1060 Okt 19 10:54 LICENSE
      -rw-r--r-- 1 pi pi  3961766 Okt 19 10:54 LICENSES.chromium.html
      drwxr-xr-x 2 pi pi     4096 Okt 19 10:56 locales
      -rw-r--r-- 1 pi pi    83237 Okt 19 10:55 natives_blob.bin
      drwxr-xr-x 2 pi pi     4096 Okt 19 10:55 resources
      -rw-r--r-- 1 pi pi  8471329 Okt 19 10:54 resources.pak
      -rw-r--r-- 1 pi pi   275792 Okt 19 10:55 snapshot_blob.bin
      -rw-r--r-- 1 pi pi   608820 Okt 19 10:56 v8_context_snapshot.bin
      -rw-r--r-- 1 pi pi        6 Okt 19 10:55 version
      
      

      do I need to do eny else as ?

      ~/MagicMirror/node_modules/electron/dist/electron
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil said in YAPi0 Installer Stretch Lite:

      did you have time to look at this?

      Sorry for delay!
      logfile is empty :angry_face:
      May you what ~/logfile.txt

      	/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so => /usr/lib/arm-linux-gnueabihf/libarmmem-v6l.so (0xb2761000)
      	libffmpeg.so => /home/pi/MagicMirror/node_modules/electron/dist/libffmpeg.so (0xb2409000)
      	libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb23e2000)
      	libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb23b8000)
      	librt.so.1 => /lib/arm-linux-gnueabihf/librt.so.1 (0xb23a1000)
      	libgobject-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so.0 (0xb2344000)
      	libglib-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libglib-2.0.so.0 (0xb2234000)
      	libgio-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgio-2.0.so.0 (0xb20b9000)
      	libnss3.so => /usr/lib/arm-linux-gnueabihf/libnss3.so (0xb1f9d000)
      	libnssutil3.so => /usr/lib/arm-linux-gnueabihf/libnssutil3.so (0xb1f6a000)
      	libsmime3.so => /usr/lib/arm-linux-gnueabihf/libsmime3.so (0xb1f39000)
      	libnspr4.so => /usr/lib/arm-linux-gnueabihf/libnspr4.so (0xb1ef9000)
      	libgdk_pixbuf-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk_pixbuf-2.0.so.0 (0xb1ec7000)
      	libgtk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgtk-3.so.0 (0xb18b1000)
      	libgdk-3.so.0 => /usr/lib/arm-linux-gnueabihf/libgdk-3.so.0 (0xb17d9000)
      	libpangocairo-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangocairo-1.0.so.0 (0xb17be000)
      	libpango-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpango-1.0.so.0 (0xb1771000)
      	libatk-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-1.0.so.0 (0xb1743000)
      	libcairo.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo.so.2 (0xb164a000)
      	libdbus-1.so.3 => /lib/arm-linux-gnueabihf/libdbus-1.so.3 (0xb15f9000)
      	libXext.so.6 => /usr/lib/arm-linux-gnueabihf/libXext.so.6 (0xb15da000)
      	libX11.so.6 => /usr/lib/arm-linux-gnueabihf/libX11.so.6 (0xb14b8000)
      	libXcomposite.so.1 => /usr/lib/arm-linux-gnueabihf/libXcomposite.so.1 (0xb14a5000)
      	libXrender.so.1 => /usr/lib/arm-linux-gnueabihf/libXrender.so.1 (0xb148c000)
      	libexpat.so.1 => /lib/arm-linux-gnueabihf/libexpat.so.1 (0xb144b000)
      	libuuid.so.1 => /lib/arm-linux-gnueabihf/libuuid.so.1 (0xb1434000)
      	libX11-xcb.so.1 => /usr/lib/arm-linux-gnueabihf/libX11-xcb.so.1 (0xb1422000)
      	libxcb.so.1 => /usr/lib/arm-linux-gnueabihf/libxcb.so.1 (0xb13f3000)
      	libXcursor.so.1 => /usr/lib/arm-linux-gnueabihf/libXcursor.so.1 (0xb13da000)
      	libXdamage.so.1 => /usr/lib/arm-linux-gnueabihf/libXdamage.so.1 (0xb13c7000)
      	libXfixes.so.3 => /usr/lib/arm-linux-gnueabihf/libXfixes.so.3 (0xb13b2000)
      	libXi.so.6 => /usr/lib/arm-linux-gnueabihf/libXi.so.6 (0xb1394000)
      	libXtst.so.6 => /usr/lib/arm-linux-gnueabihf/libXtst.so.6 (0xb137f000)
      	libXrandr.so.2 => /usr/lib/arm-linux-gnueabihf/libXrandr.so.2 (0xb1366000)
      	libXss.so.1 => /usr/lib/arm-linux-gnueabihf/libXss.so.1 (0xb1353000)
      	libasound.so.2 => /usr/lib/arm-linux-gnueabihf/libasound.so.2 (0xb1272000)
      	libatk-bridge-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libatk-bridge-2.0.so.0 (0xb1239000)
      	libatspi.so.0 => /usr/lib/arm-linux-gnueabihf/libatspi.so.0 (0xb1202000)
      	libcups.so.2 => /usr/lib/arm-linux-gnueabihf/libcups.so.2 (0xb1180000)
      	libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb10fe000)
      	libgcc_s.so.1 => /lib/arm-linux-gnueabihf/libgcc_s.so.1 (0xb10d1000)
      	libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb0f83000)
      	/lib/ld-linux-armhf.so.3 (0xb6f3e000)
      	libffi.so.6 => /usr/lib/arm-linux-gnueabihf/libffi.so.6 (0xb0f6b000)
      	libpcre.so.3 => /lib/arm-linux-gnueabihf/libpcre.so.3 (0xb0ef4000)
      	libgmodule-2.0.so.0 => /usr/lib/arm-linux-gnueabihf/libgmodule-2.0.so.0 (0xb0ee0000)
      	libz.so.1 => /lib/arm-linux-gnueabihf/libz.so.1 (0xb0eb5000)
      	libmount.so.1 => /lib/arm-linux-gnueabihf/libmount.so.1 (0xb0e54000)
      	libselinux.so.1 => /lib/arm-linux-gnueabihf/libselinux.so.1 (0xb0e22000)
      	libresolv.so.2 => /lib/arm-linux-gnueabihf/libresolv.so.2 (0xb0dfe000)
      	libplc4.so => /usr/lib/arm-linux-gnueabihf/libplc4.so (0xb0dea000)
      	libplds4.so => /usr/lib/arm-linux-gnueabihf/libplds4.so (0xb0dd7000)
      	libcairo-gobject.so.2 => /usr/lib/arm-linux-gnueabihf/libcairo-gobject.so.2 (0xb0dc0000)
      	libxkbcommon.so.0 => /usr/lib/arm-linux-gnueabihf/libxkbcommon.so.0 (0xb0d77000)
      	libwayland-cursor.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-cursor.so.0 (0xb0d60000)
      	libwayland-egl.so.1 => /usr/lib/arm-linux-gnueabihf/libwayland-egl.so.1 (0xb0d4e000)
      	libwayland-client.so.0 => /usr/lib/arm-linux-gnueabihf/libwayland-client.so.0 (0xb0d34000)
      	libepoxy.so.0 => /usr/lib/arm-linux-gnueabihf/libepoxy.so.0 (0xb0c3e000)
      	libharfbuzz.so.0 => /usr/lib/arm-linux-gnueabihf/libharfbuzz.so.0 (0xb0b40000)
      	libpangoft2-1.0.so.0 => /usr/lib/arm-linux-gnueabihf/libpangoft2-1.0.so.0 (0xb0b1e000)
      	libfontconfig.so.1 => /usr/lib/arm-linux-gnueabihf/libfontconfig.so.1 (0xb0ad6000)
      	libfreetype.so.6 => /usr/lib/arm-linux-gnueabihf/libfreetype.so.6 (0xb0a33000)
      	libXinerama.so.1 => /usr/lib/arm-linux-gnueabihf/libXinerama.so.1 (0xb0a20000)
      	libthai.so.0 => /usr/lib/arm-linux-gnueabihf/libthai.so.0 (0xb0a08000)
      	libfribidi.so.0 => /usr/lib/arm-linux-gnueabihf/libfribidi.so.0 (0xb09de000)
      	libpixman-1.so.0 => /usr/lib/arm-linux-gnueabihf/libpixman-1.so.0 (0xb0903000)
      	libpng16.so.16 => /usr/lib/arm-linux-gnueabihf/libpng16.so.16 (0xb08c7000)
      	libxcb-shm.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 (0xb08b4000)
      	libxcb-render.so.0 => /usr/lib/arm-linux-gnueabihf/libxcb-render.so.0 (0xb0899000)
      	libsystemd.so.0 => /lib/arm-linux-gnueabihf/libsystemd.so.0 (0xb07fc000)
      	libXau.so.6 => /usr/lib/arm-linux-gnueabihf/libXau.so.6 (0xb07e9000)
      	libXdmcp.so.6 => /usr/lib/arm-linux-gnueabihf/libXdmcp.so.6 (0xb07d4000)
      	libgssapi_krb5.so.2 => /usr/lib/arm-linux-gnueabihf/libgssapi_krb5.so.2 (0xb078a000)
      	libgnutls.so.30 => /usr/lib/arm-linux-gnueabihf/libgnutls.so.30 (0xb05e6000)
      	libavahi-common.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-common.so.3 (0xb05cb000)
      	libavahi-client.so.3 => /usr/lib/arm-linux-gnueabihf/libavahi-client.so.3 (0xb05ac000)
      	libblkid.so.1 => /lib/arm-linux-gnueabihf/libblkid.so.1 (0xb0554000)
      	libgraphite2.so.3 => /usr/lib/arm-linux-gnueabihf/libgraphite2.so.3 (0xb0523000)
      	libdatrie.so.1 => /usr/lib/arm-linux-gnueabihf/libdatrie.so.1 (0xb050d000)
      	liblzma.so.5 => /lib/arm-linux-gnueabihf/liblzma.so.5 (0xb04dc000)
      	liblz4.so.1 => /usr/lib/arm-linux-gnueabihf/liblz4.so.1 (0xb04b0000)
      	libgcrypt.so.20 => /lib/arm-linux-gnueabihf/libgcrypt.so.20 (0xb03d6000)
      	libbsd.so.0 => /usr/lib/arm-linux-gnueabihf/libbsd.so.0 (0xb03ac000)
      	libkrb5.so.3 => /usr/lib/arm-linux-gnueabihf/libkrb5.so.3 (0xb02f1000)
      	libk5crypto.so.3 => /usr/lib/arm-linux-gnueabihf/libk5crypto.so.3 (0xb02b1000)
      	libcom_err.so.2 => /lib/arm-linux-gnueabihf/libcom_err.so.2 (0xb029e000)
      	libkrb5support.so.0 => /usr/lib/arm-linux-gnueabihf/libkrb5support.so.0 (0xb0284000)
      	libkeyutils.so.1 => /lib/arm-linux-gnueabihf/libkeyutils.so.1 (0xb0270000)
      	libp11-kit.so.0 => /usr/lib/arm-linux-gnueabihf/libp11-kit.so.0 (0xb016b000)
      	libidn2.so.0 => /usr/lib/arm-linux-gnueabihf/libidn2.so.0 (0xb013f000)
      	libunistring.so.2 => /usr/lib/arm-linux-gnueabihf/libunistring.so.2 (0xaffc3000)
      	libtasn1.so.6 => /usr/lib/arm-linux-gnueabihf/libtasn1.so.6 (0xaffa3000)
      	libnettle.so.6 => /usr/lib/arm-linux-gnueabihf/libnettle.so.6 (0xaff5d000)
      	libhogweed.so.4 => /usr/lib/arm-linux-gnueabihf/libhogweed.so.4 (0xaff1e000)
      	libgmp.so.10 => /usr/lib/arm-linux-gnueabihf/libgmp.so.10 (0xafea5000)
      	libgpg-error.so.0 => /lib/arm-linux-gnueabihf/libgpg-error.so.0 (0xafe7b000)
      Attribute Section: aeabi
      File Attributes
        Tag_CPU_name: "7-A"
        Tag_CPU_arch: v7
        Tag_CPU_arch_profile: Application
        Tag_ARM_ISA_use: Yes
        Tag_THUMB_ISA_use: Thumb-2
        Tag_FP_arch: VFPv3-D16
        Tag_ABI_PCS_wchar_t: 4
        Tag_ABI_FP_rounding: Needed
        Tag_ABI_FP_denormal: Needed
        Tag_ABI_FP_exceptions: Needed
        Tag_ABI_FP_number_model: IEEE 754
        Tag_ABI_align_needed: 8-byte
        Tag_ABI_align_preserved: 8-byte, except leaf SP
        Tag_ABI_enum_size: int
        Tag_ABI_VFP_args: VFP registers
        Tag_CPU_unaligned_access: v6
      
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil

      pi@RasPiZeroW:~ $ npm install --arch=arm7l electron@latest
      
      > electron@6.0.12 postinstall /home/pi/node_modules/electron
      > node install.js
      
      Downloading tmp-2171-0-electron-v6.0.12-linux-arm7l.zip
      Error: GET https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-arm7l.zip returned 404
      /home/pi/node_modules/electron/install.js:53
        throw err
        ^
      
      Error: Failed to find Electron v6.0.12 for linux-arm7l at https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-arm7l.zip
          at Request.<anonymous> (/home/pi/node_modules/nugget/index.js:169:61)
          at Request.emit (events.js:189:13)
          at Request.onRequestResponse (/home/pi/node_modules/request/request.js:1066:10)
          at ClientRequest.emit (events.js:189:13)
          at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
          at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
          at TLSSocket.socketOnData (_http_client.js:442:20)
          at TLSSocket.emit (events.js:189:13)
          at addChunk (_stream_readable.js:284:12)
          at readableAddChunk (_stream_readable.js:265:11)
      npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
      npm WARN pi No description
      npm WARN pi No repository field.
      npm WARN pi No README data
      npm WARN pi No license field.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron@6.0.12 postinstall: `node install.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@6.0.12 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-10-18T15_04_49_780Z-debug.log
      
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil how interesting.
      If I reboot the RPi0 I see MagicMirror booting too. After a while of black screen I get usal Pi Desktop.

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite
      pi@RasPiZeroW:~/MagicMirror $ npm install electron@latest
      
      > electron@6.0.12 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      Downloading tmp-1548-0-electron-v6.0.12-linux-armv6l.zip
      Error: GET https://github.com/electron/electron/releases/download/v6.0.12/electr                   on-v6.0.12-linux-armv6l.zip returned 404
      /home/pi/MagicMirror/node_modules/electron/install.js:53
        throw err
        ^
      
      Error: Failed to find Electron v6.0.12 for linux-armv6l at https://github.com/el                   ectron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-armv6l.zip
          at Request.<anonymous> (/home/pi/MagicMirror/node_modules/nugget/index.js:16                   9:61)
          at Request.emit (events.js:189:13)
          at Request.onRequestResponse (/home/pi/MagicMirror/node_modules/request/requ                   est.js:1066:10)
          at ClientRequest.emit (events.js:189:13)
          at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21                   )
          at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
          at TLSSocket.socketOnData (_http_client.js:442:20)
          at TLSSocket.emit (events.js:189:13)
          at addChunk (_stream_readable.js:284:12)
          at readableAddChunk (_stream_readable.js:265:11)
      npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is i                   nstalled. You must install peer dependencies yourself.
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is                    installed. You must install peer dependencies yourself.
      
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron@6.0.12 postinstall: `node install.js`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@6.0.12 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional log                   ging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-10-18T13_30_31_697Z-debug.log
      
      

      I would like to attach the log, but it’s missing :pouting_face:

      pi@RasPiZeroW:~/MagicMirror $ npm start
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      run-start.sh: 7: run-start.sh: electron: not found
      npm ERR! code ELIFECYCLE
      npm ERR! syscall spawn
      npm ERR! file sh
      npm ERR! errno ENOENT
      npm ERR! magicmirror@2.9.0 start: `sh run-start.sh`
      npm ERR! spawn ENOENT
      npm ERR!
      npm ERR! Failed at the magicmirror@2.9.0 start script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-10-18T14_07_43_211Z-debug.log
      
      
      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      no, it dosn’t

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Thias is you have to work on:
      @sdetweil said in YAPi0 Installer Stretch Lite:

      i need to fix the words at the end of install, cause if you said yes to pm2, then don’t do npm start

      I do

      pi@RasPiZeroW:~ $  pm2 stop mm
      [PM2][ERROR] Process mm not found
      

      not necasarry

      pm2 delete mm
      
      pi@RasPiZeroW:~ $ pm2  stop MagicMirror
      [PM2] Applying action stopProcessId on app [MagicMirror](ids: 0)
      [PM2] [MagicMirror](0) ✓
      ┌────┬────────────────────┬──────────┬──────┬──────────┬──────────┬──────────┐
      │ id │ name               │ mode     │ ↺    │ status   │ cpu      │ memory   │
      ├────┼────────────────────┼──────────┼──────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror        │ fork     │ 223  │ stopped  │ 0%       │ 0b       │
      └────┴────────────────────┴──────────┴──────┴──────────┴──────────┴──────────┘
      
      
      pi@RasPiZeroW:~/MagicMirror $ npm start
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      

      nothing happen

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil may I come back to you :smiling_face_with_halo:
      I run new installation from scratch on my Rpi0.
      Raspian Buster with desktop
      updated and upgraded and so on
      run your script

       bash -c "$(curl -sL https://www.dropbox.com/s/rlh710ng0zwv3vp/raspberry.sh?dl=0)"
      
      :
      :
      Node.js installation Done! version=v10.15.2
      :
      :
      npm WARN npm npm does not support Node.js v10.15.2
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make any promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      /usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
      /usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
      + npm@6.12.0
      added 430 packages from 839 contributors in 328.327s
      npm installation Done! version=V6.12.0
      :
      :
      Cloning MagicMirror Done!
      Installing dependencies ...
      npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
      
      > electron-chromedriver@1.8.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver
      > node ./download-chromedriver.js
      
      successfully dowloaded and extracted!
      
      > electron@3.0.13 postinstall /home/pi/MagicMirror/node_modules/electron
      > node install.js
      
      Downloading tmp-3996-1-SHASUMS256.txt-3.0.13
      [============================================>] 100.0% of 4.79 kB (4.79 kB/s)
      
      > magicmirror@2.9.0 install /home/pi/MagicMirror
      > cd vendor && npm install
      
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      added 82 packages from 57 contributors and audited 220 packages in 139.709s
      found 5 vulnerabilities (4 low, 1 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      
      > magicmirror@2.9.0 postinstall /home/pi/MagicMirror
      > sh untrack-css.sh && sh installers/postinstall/postinstall.sh && npm run install-fonts
      
      We'll remove from the repository the css/custom.css
      This script apply git update-index --skip-worktree css/custom.css
      rm 'css/custom.css'
      MagicMirror installation successful!
      
      > magicmirror@2.9.0 install-fonts /home/pi/MagicMirror
      > cd fonts && npm install
      
      added 1 package from 1 contributor and audited 1 package in 29.697s
      found 0 vulnerabilities
      
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      
      added 1051 packages from 1314 contributors and audited 3475 packages in 1848.766s
      found 28 vulnerabilities (1 low, 1 moderate, 26 high)
        run `npm audit fix` to fix them, or `npm audit` for details
      Dependencies installation Done!
      setting up initial config.js
      Check plymouth installation ...
      Splashscreen: Checking themes directory.
      Splashscreen: Create theme directory if not exists.
      Splashscreen: Theme copied successfully.
      Splashscreen: Changed theme to MagicMirror successfully.
      Do you want use pm2 for auto starting of your MagicMirror (y/N)?y
      install and setup pm2
      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.1 (node_modules/pm2/node_modules/fsevents):
      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
      
      Created symlink /etc/systemd/system/multi-user.target.wants/pm2-pi.service → /etc/systemd/system/pm2-pi.service.
      [PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
      [PM2] PM2 Successfully daemonized
      [PM2][WARN] Applications MagicMirror not running, starting...
      [PM2] App [MagicMirror] launched (1 instances)
      ┌────┬─────────────────────────┬─────────┬─────────┬──────────┬────────┬──────┬──────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name                    │ version │ mode    │ pid      │ uptime │ ↺    │ status   │ cpu      │ mem      │ user     │ watching │
      ├────┼─────────────────────────┼─────────┼─────────┼──────────┼────────┼──────┼──────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror             │ 2.9.0   │ fork    │ 4228     │ 3s     │ 0    │ online   │ 0%       │ 2.4mb    │ pi       │ enabled  │
      └────┴─────────────────────────┴─────────┴─────────┴──────────┴────────┴──────┴──────────┴──────────┴──────────┴──────────┴──────────┘
      [PM2] Saving current process list...
      [PM2] Successfully saved in /home/pi/.pm2/dump.pm2
      Do you want to disable the screen saver? (y/N)?y
      
      We're ready! Run DISPLAY=:0 npm start from the ~/MagicMirror directory to start your MagicMirror.
      
      
      pi@RasPiZeroW:~ $ cd MagicMirror/
      pi@RasPiZeroW:~/MagicMirror $ DISPLAY=:0 npm start
      
      > magicmirror@2.9.0 start /home/pi/MagicMirror
      > sh run-start.sh
      

      additional

      pi@RasPiZeroW:~/MagicMirror $ npm audit fix
      npm WARN acorn-jsx@5.1.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN grunt-stylelint@0.11.1 requires a peer of stylelint@^10.0.0 but none is installed. You must install peer dependencies yourself.
      
      + helmet@3.21.1
      + lodash@4.17.15
      added 8 packages from 7 contributors, removed 5 packages and updated 22 packages in 808.897s
      fixed 28 of 28 vulnerabilities in 3475 scanned packages
      
      Do you want use pm2 for auto starting of your MagicMirror (y/N)?y
      

      MM is not coming on the screen
      I did:

      pi@RasPiZeroW:~/MagicMirror $  pm2 ls
      ┌────┬─────────────────────────┬─────────┬─────────┬──────────┬────────┬──────┬──────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name                    │ version │ mode    │ pid      │ uptime │ ↺    │ status   │ cpu      │ mem      │ user     │ watching │
      ├────┼─────────────────────────┼─────────┼─────────┼──────────┼────────┼──────┼──────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror             │ 2.9.0   │ fork    │ 20451    │ 64s    │ 520  │ online   │ 0%       │ 2.5mb    │ pi       │ enabled  │
      └────┴─────────────────────────┴─────────┴─────────┴──────────┴────────┴──────┴──────────┴──────────┴──────────┴──────────┴──────────┘
      pi@RasPiZeroW:~/MagicMirror $  pm2 restart mm
      Use --update-env to update environment variables
      [PM2][ERROR] Process mm not found
      pi@RasPiZeroW:~/MagicMirror $  cd installers/
      pi@RasPiZeroW:~/MagicMirror/installers $  nano mm.sh
      pi@RasPiZeroW:~/MagicMirror/installers $ cd ..
      pi@RasPiZeroW:~/MagicMirror $ pm2 restart 0
      Use --update-env to update environment variables
      [PM2] Applying action restartProcessId on app [0](ids: 0)
      [PM2][ERROR] Process 0 not found
      pi@RasPiZeroW:~/MagicMirror $ cd installers/
      pi@RasPiZeroW:~/MagicMirror/installers $ nano mm.sh
      pi@RasPiZeroW:~/MagicMirror/installers $ pm2 start mm.sh
      [PM2] Starting /home/pi/MagicMirror/installers/mm.sh in fork_mode (1 instance)
      [PM2] Done.
      ┌────┬─────────────────────────┬─────────┬─────────┬──────────┬────────┬──────┬──────────┬──────────┬──────────┬──────────┬──────────┐
      │ id │ name                    │ version │ mode    │ pid      │ uptime │ ↺    │ status   │ cpu      │ mem      │ user     │ watching │
      ├────┼─────────────────────────┼─────────┼─────────┼──────────┼────────┼──────┼──────────┼──────────┼──────────┼──────────┼──────────┤
      │ 0  │ MagicMirror             │ 2.9.0   │ fork    │ 16261    │ 61s    │ 4340 │ online   │ 0%       │ 2.5mb    │ pi       │ enabled  │
      │ 1  │ mm                      │ 2.9.0   │ fork    │ 16293    │ 1s     │ 0    │ online   │ 0%       │ 2.5mb    │ pi       │ disabled │
      └────┴─────────────────────────┴─────────┴─────────┴──────────┴────────┴──────┴──────────┴──────────┴──────────┴──────────┴──────────┘
      pi@RasPiZeroW:~/MagicMirror/installers $ pm2 start mm.sh
      [PM2][ERROR] Script already launched, add -f option to force re-execution
      

      Can you please give me a hint what my failer in thinking is?
      What is missing and what wxactly do I need to do?

      Many thanks! :grinning_face:

      posted in General Discussion
      B
      bdream
    • RE: My first MagicMirror

      @MadsChaves good job!

      posted in Show your Mirror
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil many thanks!!

      posted in General Discussion
      B
      bdream
    • RE: Question: What is the process of modifying other people's module ?

      @sdetweil said in Question: What is the process of modifying other people's module ?:

      Then it is easy to submit a pull request to the source repo for including your changes

      let me ask a question exactly to this point.
      Even I made some changes to an existin module for my convinience.
      Could be interesting to others also BUT I really doubt this will ever go in original module as it’s an language thing.

      Is here the way realy forking or still copy and make a link (how ever:dizzy_face: ) to the original?
      Other way asked. Does it matter if I fork a module even the fork will stay in parallel?

      posted in Development
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil Raspbian Buster with desktop image already written to the sc-card.
      will see the time I have to work on it next time.

      Stuff arount serveronly and using other browser is to far from me at the moment :unamused_face:

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      @sdetweil many thanks for your guidance.
      I thaught Pi0 must get installed without GUI :worried_face: my fault.
      I will start again and see what happen.
      I’ll let you know if success yur script!

      posted in General Discussion
      B
      bdream
    • RE: YAPi0 Installer Stretch Lite

      Any idea what to do?
      Maybe Pi0 is not the Hardware MM will run good. Especialy in regards to upcoming updates :dizzy_face:
      But this small device will give more oportunities for nice looking projects based on MM :grinning_face_with_smiling_eyes:

      posted in General Discussion
      B
      bdream
    • RE: Problems with calender and Nextcloud

      @kruf said in Problems with calender and Nextcloud:

      I do not know why my dates do not appear.

      than start the config as first with only an official calendar as shown in the README.md on GitHub ad default value:

      config: {
      	colored: false,
      	coloredSymbolOnly: false,
      	calendars: [
      		{
      			url: 'http://www.calendarlabs.com/templates/ical/US-Holidays.ics',
      			symbol: 'calendar',
      			auth: {
      			    user: 'username',
      			    pass: 'superstrongpassword',
      			    method: 'basic'
      			}
      		},
      	],
      }
      

      If this don’t work your problem is on other place and as I said in my first post: “If I’m wrong, please provide some information enable helpers to help.”

      posted in Troubleshooting
      B
      bdream
    • 1 / 1