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 # 2

    Scheduled Pinned Locked Moved Troubleshooting
    27 Posts 4 Posters 17.9k Views 4 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 @tosti007
      last edited by

      @tosti007
      No, I just followed the complete setup tutorial by KirAsh4
      so do I have to install it?
      Thank you

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

        @tosti007
        That’s what I got

        pi@raspi:~ $ cd ~/MagicMirror
        pi@raspi:~/MagicMirror $ npm install
        npm WARN grunt-yamllint@0.2.0 requires a peer of grunt@~0.4.0 but none was installed.
        pi@raspi:~/MagicMirror $ 
        
        morozgrafixM 1 Reply Last reply Reply Quote 0
        • morozgrafixM Offline
          morozgrafix Moderator @kurt
          last edited by morozgrafix

          @kurt are you running raspbian jessie or Jessie lite?

          If you are running regular jessie with graphical interface then I believe you need to run npm start in the terminal. DISPLAY=:0 npm start is used when you are connected over SSH from remote system, if I’m not mistaken.

          If you are running jessie lite then make sure you have minimal X window GUI installed. Full guide is here https://github.com/MichMich/MagicMirror/wiki/Jessie-Lite-Installation-Guide

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

            @morozgrafix
            Thanks for the help
            The for me funny thing is, if I do it with SSH and the DISPLAY=:0 npm startthe MM starts (exept the rss fees and the amer. calender…both loading), but when I try to start it from the Raspberry with the npm start I get some error messages.
            When I reboot,the MM routine starts but does not finish and i’m back in The PIXEL surface.
            Do you think I should try the Auto Starting Mirror tool?
            https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror
            Any ideas?
            Thanks

            morozgrafixM 1 Reply Last reply Reply Quote 0
            • morozgrafixM Offline
              morozgrafix Moderator @kurt
              last edited by

              @kurt said in starter problem # 2:

              from the Raspberry with the npm start I get some error messages.

              What error messages are you getting when you running npm start from the RasPi terminal? (I’m assuming that you still have PIXEL loaded at that time)

              I would hold off on auto starting for now, until you can start it cleanly from the shell.

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

                @morozgrafix
                hey by now the MM startet without error massages! kind of strange, but I get used to it.
                Then I copied the confi.js file to send it to you, maybe you can find a mistake.
                But after that all of my MM folder is gone ! this what happened to me 3 days ago.
                Can#t believe, but that’s how it is . everything gone.
                I can only blame FileZilla for that. Iguess I have to go to the Install routine for the third time. and I’m thru with Filzilla…
                What do you think about it? can I restore something? I searched in all folders but coudn’t find anything.
                Man I expected a hard way to go, but this is boring. What to do?
                Thanks for waiting
                Kurt

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

                  @morozgrafix
                  here that last try

                  Last login: Wed Jan 25 19:03:13 on ttys000
                  Kurt-Matyuss-iMac:~ kurt$ cd ~/MagicMirror
                  -bash: cd: /Users/kurt/MagicMirror: No such file or directory
                  Kurt-Matyuss-iMac:~ kurt$ `
                  

                  too bad

                  R 1 Reply Last reply Reply Quote 0
                  • R Offline
                    roramirez Core Contributors @kurt
                    last edited by

                    Hey @kurt !, the last sentence you are run in your Mac not in your Raspberry

                    Easy module development with MagicMirror Module Template

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

                      @roramirez
                      yes I did it on my mac via SSH

                      R 1 Reply Last reply Reply Quote 0
                      • R Offline
                        roramirez Core Contributors @kurt
                        last edited by

                        @kurt No, when you run cd command you are still in your Mac

                        -bash: cd: /Users/kurt/MagicMirror: No such file or directory
                        

                        Easy module development with MagicMirror Module Template

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

                          @roramirez
                          sorry you are right, but

                          Last login: Wed Jan 25 19:24:58 2017
                          pi@raspi:~ $ cd ~/MagicMirror
                          -bash: cd: /home/pi/MagicMirror: Datei oder Verzeichnis nicht gefunden
                          pi@raspi:~ $ 
                          
                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            roramirez Core Contributors @kurt
                            last edited by

                            @kurt Ok, is nothing there. Please use the installer script

                            curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
                            

                            If you using Jessie Lite will need install some packages as say link of @morozgrafix’s post

                            Easy module development with MagicMirror Module Template

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

                              @roramirez
                              Thank you, that’s what i’ll do.
                              But do you have any idea, why this happens. Just to avoid to make the same mistake again.
                              I intend to use Cyber Duck for transfering folders or scripts.
                              And I also use the VNC Viewer, just to see what happens next door, while I work on my mac in an other room.
                              And I think I’ll install the full Jessi Version.
                              So Thank’s once again! without you It engineers, students and helpers in this forum, users like me were just lost and couldn’t be part of this great projekt, which has just started…
                              Kurt

                              R 1 Reply Last reply Reply Quote 0
                              • morozgrafixM Offline
                                morozgrafix Moderator
                                last edited by

                                if you are comfortable with using ssh and scp you may not even need any GUI tools to transfer files.

                                K 1 Reply Last reply Reply Quote 1
                                • R Offline
                                  roramirez Core Contributors @kurt
                                  last edited by

                                  @kurt Well Jessie Lite dont have X system. X mean desktop system, GUI.

                                  MagicMirror run in Electron and this require a DISPLAY system where show it.

                                  We working in this topic to prevent you when is using in a system like that.
                                  https://github.com/MichMich/MagicMirror/issues/577

                                  Easy module development with MagicMirror Module Template

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

                                    @morozgrafix
                                    Well I’m absolut not comfortable with transfering files or scripts without the help of an grafical surface.
                                    I´m absolute new to work with commands on a terminal.
                                    So the all the commands I type into the terminal Ijust learned from guys like you just a couple of days ago.
                                    When you change the content, lets say from an config.js via SSH. What kind of tools do you use?
                                    Because when I opened the folders of my Raspberry with the help of FileZilla, changed the content and tried to save, the MM system collapsed somehow.
                                    So my question how do you that?
                                    Thanks a lot for the help

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

                                      @roramirez
                                      Well as I explained in the reply to morozgrafik i’m used to GUI and for me it’s fine doing things by drag and drop…
                                      I apreciate your work and input into this projekt a lot!
                                      What is your opinion to run the installer by the sudo command like alostvagabond postet it in https://github.com/MichMich/MagicMirror/issues/577
                                      I’ll start my atempt #3 in the afternoon :)
                                      Thanks a lot for your help

                                      1 Reply Last reply Reply Quote 0
                                      • morozgrafixM Offline
                                        morozgrafix Moderator @kurt
                                        last edited by

                                        @kurt I totally understand your point and reasons for you to use GUI tools for file transfers, editing etc. My personal choice is mostly working in the terminal, but it takes some getting used to. The reason why I mentioned SSH and scp, as alternative to using GUI transfer tools, is because they are very reliable and proven to work well. I just wanted to check your comfort level using them, in case that you are suspecting FileZilla, Cyber Duck or some other GUI tool is messing up your MM installation.

                                        To answer your question about text editors that work in terminal. There are plenty of them and they have existed for a very long time in unix/linux world. Most of the time they are available with any *nix flavor. To name a few: nano (probably easiest to learn), vim and emacs

                                        Hope you get everything sorted with your install and if you need assistance we are here to help.

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

                                          @morozgrafix @roramirez
                                          Well by now I get a little install and setup routine so MM is running with personalized compliments and newsfeed. Everything was done without SSH so direkt on the console.
                                          What I noticed was, and this is one of my questions, when I changed from GUI to terminal by strg alt F4 the layout from my keyboard changed to english, what made it hard for me to enter a ~. can’t find it on a windows keyboard also I googled a lot.
                                          So how do you change from the GUI to Terminal, to make some changes?
                                          After all I’m quite happy to have come so far.
                                          lot of traffic in the forum, often get 503the croud is getting bigger :)
                                          PS: @morozgrafix nice background in your profile, like that
                                          Thank you
                                          Kurt

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

                                            found at least the command strg q makes the change
                                            kurt

                                            morozgrafixM 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
                                            • 1 / 2
                                            • 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