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.

    YAPi0 Installer Stretch Lite

    Scheduled Pinned Locked Moved General Discussion
    118 Posts 4 Posters 103.9k Views 3 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.
    • S Offline
      sdetweil @bdream
      last edited by

      @bdream did serveronly mode work?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

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

        @bdream ok, one more thing to try

        cd ~/MagicMirror/node_modules
        mv electron electron.save
        cd ..
        npm install electron@latest
        

        I am running 6.0.12 on one of my systems

        then try npm start

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • B Offline
          bdream
          last edited by

          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
          
          

          –
          cheers, bdream

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

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

            –
            cheers, bdream

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

              @bdream sorry, forgot about arm6l

              Do

              npm install --arch=arm7l electron@latest
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • B Offline
                bdream
                last edited by

                @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
                
                

                –
                cheers, bdream

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

                  @bdream sorry,. please in the MagicMirror folder

                  all things MagicMirror should be done from the MagicMirror folder

                  npm install --arch=armv7l electron@latest

                  notice the added lowercase V --arch=armV7L (all lowercase)

                  I get a file download for
                  https://github.com/electron/electron/releases/download/v6.0.12/electron-v6.0.12-linux-armv7l.zip

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

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

                    @bdream did you have time to look at this?

                    also, after loading do

                    cd ~/MagicMirror/node_modules/electron
                    ldd dist/electron  >>~/logfile.txt
                    readelf -A  dist/electron >>~/logfile.txt
                    also 
                    grep electron /var/log/syslog >>~/logfile
                    
                    and send me ~/logfile.txt
                    
                    thanks

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      bdream
                      last edited by

                      @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
                      
                      

                      –
                      cheers, bdream

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

                        @bdream thx.

                        And if you do

                        ~/MagicMirror/node_modules/electron/dist/electron

                        Does it open browser?

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        1 Reply Last reply Reply Quote 0
                        • B Offline
                          bdream
                          last edited by

                          @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
                          

                          –
                          cheers, bdream

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

                            @bdream said in YAPi0 Installer Stretch Lite:

                            no… I am researching the cause…

                            thanks

                            does

                            cd ~/MagicMirror
                            node serveronly 
                            

                            then use another browser to open the url shown
                            work?

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            1 Reply Last reply Reply Quote 0
                            • B Offline
                              bdream
                              last edited by

                              @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?

                              –
                              cheers, bdream

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

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

                                i wonder if this is a Raspian Buster problem…

                                I have a pi 0 w coming today.

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

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

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

                                  I see some debug for the current problem

                                  do

                                  cd ~/MagicMirror
                                  export ELECTRON_ENABLE_LOGGING=true
                                  export ELECTRON_ENABLE_STACK_DUMPING=true
                                  ~/MagicMirror/node_modules/electron/dist/electron
                                  

                                  thanks

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

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

                                    @bdream also can u do

                                    ldd --version

                                    thanks

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • B Offline
                                      bdream
                                      last edited by

                                      @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
                                      

                                      –
                                      cheers, bdream

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

                                        @bdream no reason to uninstall electron…

                                        to start mm using server only and then chrome

                                        edit ~/MagicMirror/run-start.sh

                                        comment out

                                        #electron js/electron.js $1
                                        

                                        then add

                                        # this starts the server in the background
                                        node serveronly &
                                        # waits 10 seconds -- you may need to increase this time
                                        sleep 10
                                        #you should test this from a command prompt window
                                        chromium-browser -kiosk -start_maximized http://localhost:8080
                                        

                                        then pm2 start MagicMirror will launch this file.

                                        Sam

                                        How to add modules

                                        learning how to use browser developers window for css changes

                                        1 Reply Last reply Reply Quote 0
                                        • B Offline
                                          bdream
                                          last edited by

                                          @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
                                          
                                          

                                          –
                                          cheers, bdream

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

                                            @bdream
                                            add

                                            export DISPLAY=:0
                                            

                                            in front of

                                            chromium...
                                            

                                            Sam

                                            How to add modules

                                            learning how to use browser developers window for css changes

                                            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
                                            • 5 / 6
                                            • 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