Read the statement by Michael Teeuw here.
Apache Permissions: can't duplicating config.js.sample
-
go into the config directory with a terminal and type
sudo cp config.js.sample config.js
-
@feuerball
sudo
should not be necessary. -
just for safety :P
-
@feuerball yes for safety you should NOT use it! :P
-
Hi @CaptainFalcon323, you can also go into this folder within the File Manager interface and literally Copy the file, Paste it and rename to remove .sample at the end. Whatever is easier.
-
Wow, thanks for the quick replies! Unfortunately, I’m at work right now, so I’ll have try these when I get home in ~4 hours and I’ll let you know know how it works out.
So this what I’m getting:
1a) Go to the File Manager, copy/pasta the file “config.js.sample” and rename it “config.js.sample”
OR
1b) Go into the config directory and “cp config.js.sample config.sjs”
- To check to see if it worked go to:
“https:///MagicMirror/”?
If it worked, I should be seeing some stuff there?
If it didn’t, I should see what I have been seeing (i.e. that i need to create a config file)?
Thanks again!
-
Yes, but for 1a) be sure to remove ‘sample’ at the end. I assume that was a typo, but just want to make sure we’re on same page. File should be “config.js”
-
Oh, yes, you’re correct. The file should be renamed to “config.js”!
Just got home from work and went route 1a) I figured that would be easier.
Please see photo above. If it doesn’t work, try right clicking and open it in another tab. If it doesn’t work, it was a picture of my config folder in my directory. It shows a picture of two files: “config.js”
& “config.js.sample”Easy enough, now when I go to "http:///MagicMirror/ " I’m still getting the message that I need to create a config file. I’m confused. Do I need to make changes to the config file (i.e. put in my weather API key, location, etc before it anything will show up?
-
@CaptainFalcon323 What happens if you right click the Magic Mirror folder > Open in Terminal > and enter command
npm start
? Do you still get the ‘need to config’ prompt? -
That did it! Wow, awesome! Thanks so much for all of your help! I really appreciate. :)