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.0k 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.
    • strawberry 3.141S Offline
      strawberry 3.141 Project Sponsor Module Developer @kurt
      last edited by

      @kurt you are in the wrong directory again :D

      cd ~MagicMirror first

      Please create a github issue if you need help, so I can keep track

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

        @strawberry-3.141
        Sorry , but now get the starting logo with the" Please create a config file"
        Thank you

        pi@raspberrypi:~ $ cd ~/MagicMirror 
        pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start
        
        > magicmirror@2.1.0 start /home/pi/MagicMirror
        > electron js/electron.js
        
        Starting MagicMirror: v2.1.0
        Loading config ...
        WARNING! Could not find config file. Please create one. Starting with default configuration.
        Loading module helpers ...
        Initializing new module helper ...
        No helper found for module: helloworld.
        All module helpers loaded.
        Starting server op port 8080 ... 
        Server started ...
        Connecting socket for: updatenotification
        Sockets connected & modules started ...
        Launching application.
        

        Note from admin: Please use Markdown on code snippets for easier reading!

        strawberry 3.141S 1 Reply Last reply Reply Quote 0
        • strawberry 3.141S Offline
          strawberry 3.141 Project Sponsor Module Developer @kurt
          last edited by

          @kurt are you sure you have a config file in /home/pi/MagicMirror/config

          Please create a github issue if you need help, so I can keep track

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

            @strawberry-3.141 I’m allready working on that mistake.
            you a right, don’t know who took this fike from that place.
            Change the config, file and place over there.
            Mystery…
            Thanks
            Kurt

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

              @strawberry-3.141
              I’m working with File Zilla to transfer the files.
              By now I guess he the one who makes the config folder dissapear. Have you ever heard of something like that? or can you recommend an other tool to upload files? I tried Cyberduck, but won’t work.
              Thanks

              strawberry 3.141S 1 Reply Last reply Reply Quote 0
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @kurt
                last edited by

                @kurt im using filezilla or an usb stick

                Please create a github issue if you need help, so I can keep track

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

                  @strawberry-3.141
                  Anyway, I copied the folder again to the pi.
                  calender, changed compliments and newsfeed appear.
                  Do you have an idea, why the weather and the forecast dont show?
                  Thanks

                  /* Magic Mirror Config Sample
                   *
                   * By Michael Teeuw http://michaelteeuw.nl
                   * MIT Licensed.
                   */
                  
                  var config = {
                  	port: 8080,
                  	ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
                  
                  	language: 'de',
                  	timeFormat: 24,
                  	units: 'metric',
                  
                  	modules: [
                  		{
                  			module: 'alert',
                  		},
                  		{
                  			module: "updatenotification",
                  			position: "top_bar"
                  		},
                  		{
                  			module: 'clock',
                  			position: 'top_left'
                  		},
                  		{
                  			module: 'calendar',
                  			header: 'US Holidays',
                  			position: 'top_left',
                  			config: {
                  				calendars: [
                  					{
                  						symbol: 'calendar-check-o ',
                  						url: 'webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics'
                  					}
                  				]
                  			}
                  		},
                  		{
                  			module: 'compliments',
                  			position: 'lower_third'
                  		},
                  		{
                  			module: 'currentweather',
                  			position: 'top_right',
                  			config: {
                  				location: 'Vienna',
                  				locationID: '2761369',  //ID from http://www.openweathermap.org
                  				appid: 'xxxxxxxxxxxxxxxxxx'
                  			}
                  		},
                  		{
                  			module: 'weatherforecast',
                  			position: 'top_right',
                  			header: 'Das Wetter',
                  			config: {
                  				location: 'Vienna',
                  				locationID: '2761369',  //ID from http://www.openweathermap.org
                  				appid: 'xxxxxxxxxxxxxxxxx'
                  			}
                  		},
                  		{
                  			module: 'newsfeed',
                  			position: 'bottom_bar',
                  			config: {
                  				feeds: [
                  					{
                  						title: "Der Standard",
                  						url: "http://derStandard.at/?page=rss&ressort=Seite1"
                  					}
                  				],
                  				showSourceTitle: true,
                  				showPublishDate: true
                  			}
                  		},
                  	]
                  
                  };
                  
                  

                  Note from admin: Please use Markdown on code snippets for easier reading!

                  strawberry 3.141S 1 Reply Last reply Reply Quote 0
                  • strawberry 3.141S Offline
                    strawberry 3.141 Project Sponsor Module Developer @kurt
                    last edited by

                    @kurt do you get any errors in the terminal, maybe your api key is incorrect etc.

                    Please create a github issue if you need help, so I can keep track

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

                      @strawberry-3.141 Thank you for todays help, can’t find the reason,
                      and no, I get no messages.
                      Thanks a lot

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

                        @in_a_days
                        Thank’s a lot for your help, but strawberry allready repaired my mistakes, so by now i’m fine, just thinking about what is the best way to save such a running system, so I can go back when things go wrong and I found out things go very quick wrong :)
                        So have a nice day and Thank you

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

                          @kurt
                          I would create an archive of the entire magicmirror folder.

                          cd ~
                          tar -cvf mirror.tar /MagicMirror
                          
                          K 1 Reply Last reply Reply Quote 0
                          • K Offline
                            kurt @yawns
                            last edited by

                            @yawns
                            this is on the Raspi and on which place will he make the archiv ?
                            And to save it outside the best way is? I#m using Filzilla is this a right tool for this plan?
                            Thanks

                            yawnsY 1 Reply Last reply Reply Quote 0
                            • 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

                                            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