• 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
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Starter problem

Scheduled Pinned Locked Moved Troubleshooting
73 Posts 8 Posters 69.6k Views 5 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.
  • K Offline
    kurt @yawns
    last edited by Jan 23, 2017, 6:57 PM

    @yawns
    Hi yawns
    I hope you can help me, couse I managed to crash my whole MM system so I’m back on the start again. But this time I can’t even put my MM to my Raspberry. Shame on me but that’s how it is.
    I’m working by ssh and Filezilla, have on my pi a Folder in /tmp/magic
    but when I try to do

    scp -r /kurt/Admin/Downloads/MagicMirror-master 
    pi@rasbpi:/tmp/magic
    

    I get this

    pi@raspi:~ $ scp -r /kurt/Admin/Downloads/MagicMirror-master 
    usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
               [-l limit] [-o ssh_option] [-P port] [-S program]
               [[user@]host1:]file1 ... [[user@]host2:]file2
    pi@raspi:~ $ pi@raspi:/tmp/magic
    -bash: pi@raspi:/tmp/magic: Datei oder Verzeichnis nicht gefunden
    pi@raspi:~ $ 
    

    Thanks a lot in advance
    kurt

    B 1 Reply Last reply Jan 23, 2017, 7:30 PM Reply Quote 0
    • B Offline
      bhepler Module Developer @kurt
      last edited by Jan 23, 2017, 7:30 PM

      @kurt Your scp command didn’t go through. At a guess, you attempted to scp the entire directory and not the individual file(s). Try this instead: scp -r /kurt/Admin/Downloads/MagicMirror-master/mirror.tar

      K 1 Reply Last reply Jan 23, 2017, 7:34 PM Reply Quote 0
      • K Offline
        kurt @bhepler
        last edited by Jan 23, 2017, 7:34 PM

        @bhepler
        Thank you

        pi@raspi:~ $ scp -r /kurt/Admin/Downloads/MagicMirror-master/mirror.tar
        usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
                   [-l limit] [-o ssh_option] [-P port] [-S program]
                   [[user@]host1:]file1 ... [[user@]host2:]file2
        pi@raspi:~ $ 
        
        
        B 1 Reply Last reply Jan 23, 2017, 7:41 PM Reply Quote 0
        • B Offline
          bhepler Module Developer @kurt
          last edited by Jan 23, 2017, 7:41 PM

          @kurt Well, something’s not right with that scp command. All right, let’s do it the brute force way:

          cd /tmp/magic
          scp -rv /kurt/Admin/Downloads/MagicMirror-master/
          
          K 1 Reply Last reply Jan 23, 2017, 7:43 PM Reply Quote 0
          • K Offline
            kurt @bhepler
            last edited by Jan 23, 2017, 7:43 PM

            @bhepler
            all right, but:

            pi@raspi:~ $ cd /tmp/magic
            pi@raspi:/tmp/magic $ scp -rv /kurt/Admin/Downloads/MagicMirror-master/
            usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]
                       [-l limit] [-o ssh_option] [-P port] [-S program]
                       [[user@]host1:]file1 ... [[user@]host2:]file2
            pi@raspi:/tmp/magic $ 
            
            
            B 1 Reply Last reply Jan 23, 2017, 7:47 PM Reply Quote 0
            • B Offline
              bhepler Module Developer @kurt
              last edited by Jan 23, 2017, 7:47 PM

              @kurt Wait a second… the mirror folder… that’s on the same machine as your /tmp/magic, right?

              Try cp and not scp.

              K 1 Reply Last reply Jan 23, 2017, 7:51 PM Reply Quote 0
              • K Offline
                kurt @bhepler
                last edited by Jan 23, 2017, 7:51 PM

                @bhepler
                The Magic Mirror-master Folder is in downloads on my mac
                tmp/magic is on my Raspi

                pi@raspi:/tmp/magic $ cp -rv /kurt/Admin/Downloads/MagicMirror-master/
                cp: Fehlender Zieldatei‐Operand hinter „/kurt/Admin/Downloads/MagicMirror-master/“
                „cp --help“ liefert weitere Informationen.
                pi@raspi:/tmp/magic $ 
                

                Thanks for your patience

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kurt @kurt
                  last edited by Jan 24, 2017, 3:47 PM

                  Hallo
                  I managed at least to get the MM on my Raspberry, but here are again some mistakes, which I hope somebody can help me with.
                  So I didn’t touch the default modules, just changed the location in the weather moduls.
                  Thank you
                  Kurt

                  pi@raspi:~ $ cd ~/MagicMirror
                  pi@raspi:~/MagicMirror $ DISPLAY=:O npm start
                  
                  > magicmirror@2.1.0 start /home/pi/MagicMirror
                  > electron js/electron.js
                  
                  
                  npm ERR! Linux 4.4.38-v7+
                  npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
                  npm ERR! node v6.9.4
                  npm ERR! npm  v3.10.10
                  npm ERR! code ELIFECYCLE
                  npm ERR! magicmirror@2.1.0 start: `electron js/electron.js`
                  npm ERR! Exit status 1
                  npm ERR! 
                  npm ERR! Failed at the magicmirror@2.1.0 start script 'electron js/electron.js'.
                  npm ERR! Make sure you have the latest version of node.js and npm installed.
                  npm ERR! If you do, this is most likely a problem with the magicmirror package,
                  npm ERR! not with npm itself.
                  npm ERR! Tell the author that this fails on your system:
                  npm ERR!     electron js/electron.js
                  npm ERR! You can get information on how to open an issue for this project with:
                  npm ERR!     npm bugs magicmirror
                  npm ERR! Or if that isn't available, you can get their info via:
                  npm ERR!     npm owner ls magicmirror
                  npm ERR! There is likely additional logging output above.
                  
                  npm ERR! Please include the following file with any support request:
                  npm ERR!     /home/pi/MagicMirror/npm-debug.log
                  pi@raspi:~/MagicMirror $ 
                  
                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Frühstück @in_a_days
                    last edited by Frühstück Feb 23, 2017, 8:05 PM Feb 23, 2017, 8:04 PM

                    @in_a_days that was my mistake. thank you, very much aopreciated. xD

                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 3
                    • 4
                    • 5
                    • 6
                    • 7
                    • 8
                    • 7 / 8
                    • 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