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 83.1k 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.
    • yawnsY Offline
      yawns Moderator @kurt
      last edited by

      @kurt
      This command will create a file called mirror.tar in your home directory on your raspberry. You can copy/transfer it to your computer with filezilla, the same way you did to copy new files to your raspberry

      K 3 Replies Last reply Reply Quote 0
      • K Offline
        kurt @yawns
        last edited by

        @yawns
        perfekt
        thank you, I better bring my sheeps to a save place :)

        1 Reply Last reply Reply Quote 0
        • K Offline
          kurt @yawns
          last edited by

          @yawns
          Sorry didn’t happen,
          he refused “cowardly or yellow” this is the translation I found, to create an empty archiv.

          pi@raspberrypi:~/MagicMirror $ tar -cvf mirror.tar/MagicMirror
          tar: Anlegen eines leeren Archivs wird feige verweigert.
          „tar --help“ oder „tar --usage“ gibt weitere Informationen.
          
          in_a_daysI 1 Reply Last reply Reply Quote 0
          • in_a_daysI Offline
            in_a_days @kurt
            last edited by in_a_days

            @kurt

            Two things -

            1. You’re in the MagicMirror directory. Type this:
            cd ~
            
            1. You need a space here:
            tar -cvf mirror.tar/MagicMirror
            

            should be

            tar -cvf mirror.tar /MagicMirror
            

            What ship would bear me ever back across so wide a Sea?

            K 2 Replies Last reply Reply Quote 0
            • K Offline
              kurt @in_a_days
              last edited by

              @in_a_days
              sorry but if I write just

              pi@raspberrypi:~ $ cd ~
              

              nothing happens

              in_a_daysI 1 Reply Last reply Reply Quote 0
              • in_a_daysI Offline
                in_a_days @kurt
                last edited by in_a_days

                @kurt

                That’s okay! You’re in the right folder now :)

                In the previous post your command prompt looked like this:

                pi@raspberrypi:~/MagicMirror $
                

                Which shows you in the MagicMirror directory. But if your command prompt now looks like this:

                pi@raspberrypi:~ $
                

                Then you are back in the correct ‘~’ folder and you can proceed to step 2.

                What ship would bear me ever back across so wide a Sea?

                1 Reply Last reply Reply Quote 0
                • K Offline
                  kurt @in_a_days
                  last edited by

                  @in_a_days said in Starter problem:

                  tar -cvf mirror.tar /MagicMirror

                  this is what I get:

                  pi@raspberrypi:~ $ cd ~
                  pi@raspberrypi:~ $ tar -cvf mirror.tar /MagicMirror
                  tar: Entferne führende „/“ von Elementnamen
                  tar: /MagicMirror: Funktion stat fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
                  tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler
                  

                  What do you think?
                  Thank you

                  in_a_daysI 1 Reply Last reply Reply Quote 0
                  • in_a_daysI Offline
                    in_a_days @kurt
                    last edited by

                    @kurt

                    I apologize, I have not used the tar command before. Remove the ‘/’ before MagicMirror. Try:

                    tar -cvf mirror.tar MagicMirror
                    

                    What ship would bear me ever back across so wide a Sea?

                    K 1 Reply Last reply Reply Quote 0
                    • K Offline
                      kurt @in_a_days
                      last edited by

                      @in_a_days
                      Thank you everything went qicker than the eye…
                      what is the name of the file, it should be outside of the MM file in the pi file?

                      in_a_daysI 1 Reply Last reply Reply Quote 0
                      • in_a_daysI Offline
                        in_a_days @kurt
                        last edited by

                        @kurt

                        Great! I’m still very new to this and I’m not using FTP. But there should now be a file named ‘mirror.tar’ in your ‘pi’ directory.

                        What ship would bear me ever back across so wide a Sea?

                        K 1 Reply Last reply Reply Quote 0
                        • K Offline
                          kurt @in_a_days
                          last edited by

                          @in_a_days
                          seems to be well hidden, wherever it is…hmm
                          couldn’t find it

                          in_a_daysI 1 Reply Last reply Reply Quote 0
                          • in_a_daysI Offline
                            in_a_days @kurt
                            last edited by in_a_days

                            @kurt

                            From the ~ folder:

                            pi@raspberrypi:~ $
                            

                            type

                            ls
                            

                            Do you see the mirror.tar file listed there?

                            What ship would bear me ever back across so wide a Sea?

                            K 1 Reply Last reply Reply Quote 0
                            • K Offline
                              kurt @in_a_days
                              last edited by

                              @in_a_days
                              here we are :)

                              pi@raspberrypi:~ $ ls
                              Bilder     Dokumente    mirror.tar  npm-debug.log  python_games  Videos
                              Desktop    Downloads    Music       oldconffiles   Scratch
                              Documents  MagicMirror  Musik       Public         Templates
                              

                              but isn’t shown in Filezilla directory
                              should be in Bilder Dokumente mirror.tar ? right?
                              the path is not quite clear for me

                              not that easy…Thanks a lot for your time in_a_days

                              in_a_daysI brobergB 2 Replies Last reply Reply Quote 0
                              • in_a_daysI Offline
                                in_a_days @kurt
                                last edited by in_a_days

                                @kurt

                                Happy to help! Unfortunately, this is where my knowledge ends. I’m not sure what folders you can see over Filezilla. But again make sure you are in the ~ directory and try this:

                                cp mirror.tar Dokumente
                                

                                If you can access that Dokumente folder in Filezilla, you should now see the mirror.tar file.

                                What ship would bear me ever back across so wide a Sea?

                                K 1 Reply Last reply Reply Quote 0
                                • brobergB Offline
                                  broberg Project Sponsor @kurt
                                  last edited by

                                  @kurt

                                  no, Bilder and Dokumente is two different folders,

                                  either it’s the first directory you get to when connecting with ftp
                                  OR
                                  it is in /home/pi/

                                  1 Reply Last reply Reply Quote 0
                                  • K Offline
                                    kurt @in_a_days
                                    last edited by

                                    @in_a_days and @broberg

                                    Thank you, not that easy to find the lost sheeps
                                    the file was in:

                                    /home/pi/Dokumente
                                    

                                    but Filezilla didn’t show the file from the start, also I refreshed…

                                    So Thanks a lot for your quick help!
                                    Kurt

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      kurt @yawns
                                      last edited by

                                      @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

                                      bheplerB 1 Reply Last reply Reply Quote 0
                                      • bheplerB Offline
                                        bhepler Module Developer @kurt
                                        last edited by

                                        @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 Reply Quote 0
                                        • K Offline
                                          kurt @bhepler
                                          last edited by

                                          @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:~ $ 
                                          
                                          
                                          bheplerB 1 Reply Last reply Reply Quote 0
                                          • bheplerB Offline
                                            bhepler Module Developer @kurt
                                            last edited by

                                            @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 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
                                            • 3 / 4
                                            • 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