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

Big11

@Big11

0
Reputation
490
Profile views
13
Posts
0
Followers
0
Following
Joined May 15, 2018, 8:09 AM
Last Online Jun 23, 2023, 10:59 AM

Big11 Unfollow Follow

Latest posts made by Big11

  • RE: Installing on a Pi Zero

    @12wsx

    you made my day…

    it works…

    the first differences i encountered was the Installation of electron …
    this i didn’t found at all the others…

    and i thought before, that this will be the quest…

    regarding to the warnings installing npm

    you could fix that with “npm Audit fix” or “npm Audit fix --force”
    as suggested…

    i did this also, so maybe this could be an error too…

    and if it works but this warnings, who cares…. :-)

    have a great day…
    thank you

    posted in Troubleshooting
    B
    Big11
    Jan 10, 2019, 4:54 PM
  • RE: Installing on a Pi Zero

    @big11

    thats my “achievment” from last night…

    pi@raspberrypi:~ $ cd MagicMirror/
    pi@raspberrypi:~/MagicMirror $ npm start
    
    > magicmirror@2.6.0 start /home/pi/MagicMirror
    > sh run-start.sh
    
    run-start.sh: 4: run-start.sh: electron: not found
    npm ERR! file sh
    npm ERR! code ELIFECYCLE
    npm ERR! errno ENOENT
    npm ERR! syscall spawn
    npm ERR! magicmirror@2.6.0 start: `sh run-start.sh`
    npm ERR! spawn ENOENT
    npm ERR!
    npm ERR! Failed at the magicmirror@2.6.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-01-10T07_11_11_053Z-debug.log
    pi@raspberrypi:~/MagicMirror $
    
    
    
    posted in Troubleshooting
    B
    Big11
    Jan 10, 2019, 7:16 AM
  • RE: Installing on a Pi Zero

    @andyc7687

    as for your Question

    i’m installing over SSH but start it then directly on the Pi0…

    i will i try a new Installation by now…

    normally i don’t run “npm install” as root…
    don’t know if i wrote so…

    posted in Troubleshooting
    B
    Big11
    Jan 9, 2019, 5:50 PM
  • RE: Installing on a Pi Zero

    @andyc7687

    so since yesterday i installed many times from Scratch but without success……

    With your script i ran into Troubles with a lot of Errors…

    missing dependencies….

    so i suggest to do more steps after “sudo apt INSTALL --fix-missing” -> “apt UPGRADE --fix-missing” does not work…

    sudo dpkg –configure -a. and.
    sudo apt install -f.
    

    at npm install a lot of Warnings e.g.

    npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.
    npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
    
    added 921 packages from 1366 contributors and audited 2466 packages in 859.404s
    found 8 vulnerabilities (7 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    Errors while installing dependencies! (source command: npmc@latest install)
    
    + stylelint@9.9.0
    added 156 packages from 107 contributors, removed 32 packages, updated 99 packages, moved 6 packages and audited 4452 packages in 370.707s
    found 4 vulnerabilities (3 low, 1 high)
      run `npm audit fix` to fix them, or `npm audit` for details
    Errors while installing dependencies! (source command: pm install stylelint@latest)
    
    pi@magicpi:~ $   run `npm audit fix` to fix them, or `npm audit` for details
    npm ERR! code EAUDITNOPJSON
    npm ERR! audit No package.json found: Cannot audit a project without a package.json
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-01-09T07_05_26_138Z-debug.log
    npm ERR! code EAUDITNOPJSON
    npm ERR! audit No package.json found: Cannot audit a project without a package.json
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-01-09T07_05_35_497Z-debug.log
    -bash: run: Kommando nicht gefunden.
    pi@magicpi:~ $ Errors while installing dependencies! (source command: pm install stylelint@latest)
    -bash: Syntaxfehler beim unerwarteten Wort `('
    

    i could fix this with

    "npm audit fix" or "npm audit fix --force" in directory MagicMirror
    

    and then i figured out autostart with PM2 as described in MM-Wiki but…

    it won’t start …

    as done in the guide i created a mm.sh script und configured this for autostart with pm2

    at next start Nothing happens to start MagicMirror localy

    a “pm2 logs mm”

    Shows a loop of “sh run-start.sh”

    |mm       | > magicmirror@2.6.0 start /home/pi/MagicMirror
    0|mm       | > sh run-start.sh
    0|mm       |
    0|mm       |
    0|mm       | > magicmirror@2.6.0 start /home/pi/MagicMirror
    0|mm       | > sh run-start.sh
    0|mm       |
    0|mm       |
    0|mm       | > magicmirror@2.6.0 start /home/pi/MagicMirror
    0|mm       | > sh run-start.sh
    0|mm       |
    0|mm       |
    0|mm       | > magicmirror@2.6.0 start /home/pi/MagicMirror
    0|mm       | > sh run-start.sh
    

    a cat to run-start.sh Shows

    pi@magicpi:~/MagicMirror $ cat run-start.sh
    if [ -z "$DISPLAY" ]; then #If not set DISPLAY is SSH remote or tty
            export DISPLAY=:0 # Set by default display
    fi
    electron js/electron.js $1
    

    !!!
    but electron.js isn’t installed

    trying manually install this with

    sudo npm install electron -g
    

    ended again in Error-Messages

    Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/electron/.electron'
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! electron@4.0.1 postinstall: `node install.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the electron@4.0.1 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!     /root/.npm/_logs/2019-01-09T09_13_51_893Z-debug.log
    

    so… now i’m giving up for These days….

    does anybody know where my Failure is ??

    Thank you

    posted in Troubleshooting
    B
    Big11
    Jan 9, 2019, 9:56 AM
  • RE: ipwhitelist - a lot of issues... can't connect remotely ..

    @plati

    got it … thank you…

    but the ipwhitelist Parameter are not very handsome

    so i did a

    ipwhitelist: [],
    

    and that works…

    further i will look for the correct Syntax to grant Access for Special addresses outside my LAN…

    posted in Troubleshooting
    B
    Big11
    Jan 8, 2019, 9:34 PM
  • RE: Installing on a Pi Zero

    @andyc7687

    i run just

    bash -c “$(curl -sL https://raw.githubusercontent.com/ac2799/MagicMirror/master/installers/raspberry.sh)”

    don’t know if this leads to bare or Pi0 …

    This is your “modified” installer script also for the Pi0…

    posted in Troubleshooting
    B
    Big11
    Jan 8, 2019, 7:13 PM
  • ipwhitelist - a lot of issues... can't connect remotely ..

    Some days now, i try to get my MM running on a Raspberry (Zero, B3A+) but without Access

    two main issues occurs…

    i can’t access remotly …

    whatever i tried in “config.js”

    this is what i tried

    var config = {
    address: “localhost”, // Address to listen on, can be:
    // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
    // - another specific IPv4/6 to listen on a specific interface
    // - “”, “0.0.0.0”, “::” to listen on any interface
    // Default, when address config is left out, is “localhost”
    port: 8080,
    ipwhitelist: [],
    //ipWhitelist: [“::fff:0.0.0.0/1”, “::fff:0.8.0.0/1”, “::fff:128.0.0.0/2”, “::fff:192.0.0.0/3”, “::fff:224.0.0.0/4”, “127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.2.54”],
    //ipWhitelist: [“::ffff:192.168.2.1/120”, “127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
    // or add a specific IPv4 of 192.168.1.5 :
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
    // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
    // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28”],

    for Explanation my Home LAN is addressed with 192.168.2.x…

    i have installed it with PM2

    if i start it locally with

    startx (cause “chromium-browser -Kiosk http://localhost:8080” gives an GTK-Error) and after that
    DISPLAY=:0 chromium-browser -Kiosk http://localhost:8080" it starts but give me an Warn Message that Address “localhost” is already in use …

    any Ideas…

    The last entrys for “ipwhitelist” i found were form one year ago…

    basicliy i want to start it jast locally on my Pi …

    posted in Troubleshooting
    B
    Big11
    Jan 8, 2019, 11:56 AM
  • RE: Installing on a Pi Zero

    @andyc7687 said in Installing on a Pi Zero:

    pm2 start ~/MagicMirror/installers/pm2_MagicMirrorPi0.json

    Need help…

    I have installed MM on my PiZero’s many times with no succes to start it just localy and automatically …

    i followed your script and all seems running well and i did what you decided to autostart with PM2…
    but it didn’t

    after rebooting i can see the process “PM2 v3.4.2 GOD” running, but Nothing happens on my screen

    I tried to start the three startscripts manually and i got an Gtk-Error starting chromium-browser which i can’t work

    That it basicly works is shown when i start first the xserver manually (startx) and then whitin starting chromium-browser and Point it to http://localhost:8080…

    What is going wrong?
    where i can see some Errors ?

    Thanks a lot…

    posted in Troubleshooting
    B
    Big11
    Jan 8, 2019, 9:49 AM
  • RE: install git on Synology NAS ?

    @sean
    Maybe… or prety sure,
    but
    why to install a huge package if i do really Need just one part of it…
    so the better way is how to get apt-get or ipkg getting on the synology…

    thanks

    posted in Tutorials
    B
    Big11
    Jan 5, 2019, 9:04 AM
  • RE: install git on Synology NAS ?

    @bhepler
    no one of the package tolls are installed !..
    neither apt, nor ipkg or else…
    so i tried before !..

    posted in Tutorials
    B
    Big11
    Jan 4, 2019, 9:46 AM
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