-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New update Black Screen #1243
Comments
…same here. |
Same problem here after updating this morning, even after a clean install. I was prepping this as a science fair project for my daughter due tomorrow so the timing is absolutely horrible, lol. Is there a way for me to install the previous version? NPM log shows the following: Starting MagicMirror: v2.3.0 |
Dear 8 pound, 6 oz baby Jesus, save me. |
It seems the port is in use: |
Yes, I've rebooted several times and even tried a fresh install of Raspbian + MagicMirror. |
Was working fine last night and broke after this morning's update, much like the OP. |
I did, but still no answer. Thanks! |
What commands did you guys use to update? |
Same problem here. TypeError: Cannot read property 'hash' of null and then at the end: npm ERR! Linux 4.4.43-v7+ mm-out-0.log on the other hand says everything is running ok... /home/pi/.pm2/logs/mm-out-0.log 166857/163K 100%
Starting MagicMirror: v2.3.0 Any help would be appreciated. |
As per instructions on https://github.com/MichMich/MagicMirror#updating I ran this from the MagicMirror directory: git pull && npm install |
Michael, I used the recommended git pull && npm install. |
git pull && npm install |
Try disabling all non-default modules. |
Hi MichMich Given I am running a clean install, would there by any non-default modules? |
@kikokazuma Not by default. - Any messages in your logs? |
@MichMich pardon my noobishness, is there a log I can provide other than the NPM log I posted above? If so, what command can I run to help? Thanks in advance! |
Nope. Disabling modules did not help. |
AH, sorry, no that was what I was looking for (only noticed @hermannw 's log). |
@hermannw Try disabling the updatenotification module. |
Nope. No change. I disabled everything except the clock. |
@MichMich Previously, if I ran sudo netstat -lnptu it would tell me electron was already running on that port. Strangely, just one minute ago, I rebooted again and it seems to be working again. Something is/was going on. |
So, just to be clear @kikokazuma, it is working for you now? If so, what version of Node are you running? |
Hi MichMich, hi other Magicmirror Users, I can confirm that after the upgrade the physical display stays black, On the other hand ip:8080 in a Browser works, so it's just the mirror's browser. Regards Hurg |
Hi, same symptoms here as Hurg84. Applications works remotely, but die Screen stays black. Regards desq |
@MichMich correct. I rebooted again and it is still working for me. If I run node -v, I get: |
I got node v6.14.1 like desq42 |
Opening from a browser doesn't work for me either. |
Could someone try the following in the MagicMirror folder:
If this works, please state your Node version as well. ( |
@MichMich It works with node v6.14.1 Thanks :-) |
So an electron downgrade solved it for you? |
I dont use mmm pir sensor |
Ok, two debug things to do
watch for error messages in the terminal window |
i just checked the api in openweather and it hasnt changed what else could it be? |
401 sounds like the api-key for openweather wasn't specified correctly, |
Have two copies running. Reboot
…On Thu, Apr 4, 2019, 2:18 PM bachoo786 ***@***.***> wrote:
so I removed the weather module all together and the error has gone
however I now get this error:
[image: mm]
<https://user-images.githubusercontent.com/6251030/55582167-b50dfa80-5716-11e9-8de1-6cea08009391.PNG>
and on my terminal I get this :
........
..........
errno: 'EADDRINUSE',
code: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 8080 }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection ?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/i ssues
Launching application.
Whoops! There was an uncaught exception...
SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at fs.readFile (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:188:46)
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:440:3)
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection ?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1243 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABbcHvJvOgK3UFxRsvGstz3Jkxzz1Ozfks5vdlAdgaJpZM4TC2p9>
.
|
So rebooted everything was working fine for few hours and now back to black screen |
Pm2 list doesn't show mm anymore it seems like its disappearing from pm2 until i reboot the rpi |
pm can't help with, never could get it to work for me.. black screen after a few hours.. comment out the updatenotification module in config.js.. this has caused problems for a while.. |
@bachoo786 check the paths... by default there are wrong for pi-user.
|
@a-wenzel sorry just saw this. how shall I check the paths? and what are the correct paths? |
I notice the same behavior as reported by bachoo786 above.
However, if I list all running processes while my mirror is running I see four instances of Electron. |
That means another copy if mm is running already |
Any idea how this could happen and how to stop this behaviour?
|
The install script will register ANOTHER pm2 to start the mirror if one already exists |
@bachoo786 My paste has the right paths. |
@a-wenzel thanks.. so the path is the reason for the black screen issue then ? |
@sdetweil Do you know where the script registers and calls PM2? |
@bachoo786
When you see your black screen open another terminal window.
How many instances of **Electron ** do you see? |
Pm2 will start mm at boot time if u start another u will see this kind of problem. I don't use pm2 for this very reason. Do pm2 list to see what is registered. Pm2 stop to shutdown some instance by name |
Guys magic mirror process has disappeared from my pm2 list. What shall I do? |
see the end of the mm/installers/raspberry.sh for the steps used to create a pm2 entry |
Sorry which part is that? |
you will have to read the code in the batch file |
When I freshly installed mm pm2 was already installed with the mm process...why is that now it has disappeared? |
i do not know.. i don't own this code, i am just advising what I know. |
Thank you |
@sdetweil and @ALL |
Hello all, |
Just updated to the last version of MM, but when i run the script i get just a black blank screen.
The text was updated successfully, but these errors were encountered: