Read the statement by Michael Teeuw here.
Looking for Beta-testers!
-
@pigreco, no this is the expected result. GIT doesn’t want to overwrite your changes. This is why you should never make ani modifications to the modules or the core files. If you want to modify the design, you can use the css/custom.css file (this file will be ignored by git).
To remove your changes so that you can update continue, please use:
git stash -
Hello @MichMich thanks for the suggestion…not very familiar with stash, i need to authenticate ?
Thanks
PI -
@pigreco You could also try:
git fetch origin git reset --hard origin/develop git clean -f -
Thanks @MichMich …the issue is solved…i am on the develop branch :-)
-
This post is deleted! -
-
I’m now on Develop. Will this update automatically or will I need to run something periodically?
-
@bscarano, regardless of which branch you are on, you are in charge of your mirror, including updating the code.
-
@bscarano To update to the latest version, you’ll need to pull the latest changes. This can be done using:
git pull(from the command line within your MagicMirror² folder). -
I am now on the development branch.
I have verified that the changes fixed my “blank screen” with the language set in the config file.Thanks!
-
Update: More detailed error message in case config file couldn’t be loaded.
Please let me know if this works for you.
PR: https://github.com/MichMich/MagicMirror/pull/391#issuecomment-237919625
-
Please test the following PR:
https://github.com/MichMich/MagicMirror/pull/416It’s merged into the current develop branch. If you are on the develop branch, please use
git pullto update to the latest version.Thanks!
-
I’m now on the latest DEV version.
I had some problems to run it with my PIR Sensor.
this command helps to run it:npm rebuild --runtime=electron-prebuilt --target=0.37.8 --disturl=https://atom.io/download/atom-shell --build-from-sourceIpWithelist:
I’ve added my Subnet to de Withelist, but I can’t access my MagicMirror using a browser:This device is not allowed to access your mirror. Please check your config.js or config.js.sample to change this.Would it be possible to add something like “Your IP-Adress: 192.168.0.99”?
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", ["192.168.0.99", "192.168.0.254"]],This sould add a range from 192.168.0.99-192.168.0.254, or am I wrong?
Thanks for your help.
-
@bangee: Check your node log. It should tell you which IP is trying to access the server. Good idea to add it to the “access denied” message. Will put it on my todo list. (PR is welcome!)
-
@MichMich Thank you. I’ve had to update my config:
the Log told me:
Access denied to IP address: ::ffff:192.168.0.99It works with this:
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.0.1/24", "192.168.0.1/24"], -
My mirror is now also running the development version, and I am experiencing restarts more often than before. I guess it is related to # 150 since there is no error in the log. Anyway I saw this twice yesterday, but this might just be something with a newer
electronversion, so maybe nothing we can fix. It is still a little bit annoying.@MichMich By the way, do you have any particular date in mind for the release?
-
No, can’t give you an ETA.
Keep me posted on the restart issue.
-
I am a little bit in the dark on the restart issue. It happens every time I change any file in my source code directory, i.e.
config/config.jsor evenpackage.json.All I have so far, is this appeared after I updated to development branch (hence updated all
npmdependencies), plus I had to update my PIR-Sensor module (got a version XX expected, got XX error), and rebuild dependencies there also.Does anyone have any idea on this? And is anyone else even seeing this behavior also? If I have time, I will try a complete reinstall and see if that fixes it.
-
Arent you running any tool that watches your directory and restarts? Like
nodemonorpm2? -
I am using
pm2butwatch & reloadwas disabled.I did a complete update, which apparently helped people before with #150, that seems to have fixed it:
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo apt-get clean sudo rpi-update
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