Read the statement by Michael Teeuw here.
Blank screen after a couple of hours
-
Hi there,
Getting a blank screen however can still see the mirror on the Remote Control module on my phone.
I have ran a config check which is all clear however when i ran npm run server i get the following:
magicmirror@2.26.0 server
node ./serveronly
[12.04.2024 18:14.50.872] [LOG] Starting MagicMirror: v2.26.0
[12.04.2024 18:14.50.882] [LOG] Loading config …
[12.04.2024 18:14.50.887] [DEBUG] config template file not exists, no envsubst
[12.04.2024 18:14.50.909] [LOG] Loading module helpers …
[12.04.2024 18:14.50.912] [LOG] No helper found for module: alert.
[12.04.2024 18:14.50.983] [LOG] Initializing new module helper …
[12.04.2024 18:14.50.986] [LOG] Module helper loaded: updatenotification
[12.04.2024 18:14.50.989] [LOG] No helper found for module: clock.
[12.04.2024 18:14.51.559] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.563] [LOG] Module helper loaded: calendar
[12.04.2024 18:14.51.566] [LOG] No helper found for module: MMM-CalendarExt3.
[12.04.2024 18:14.51.735] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.736] [LOG] Module helper loaded: MMM-OpenWeatherMapForecast
[12.04.2024 18:14.51.761] [LOG] Initializing new module helper …
[12.04.2024 18:14.51.762] [LOG] Module helper loaded: MMM-MyScoreboard
[12.04.2024 18:14.52.200] [LOG] Initializing new module helper …
[12.04.2024 18:14.52.201] [LOG] Module helper loaded: MMM-Remote-Control
[12.04.2024 18:14.52.202] [LOG] No helper found for module: MMM-Carousel.
[12.04.2024 18:14.53.227] [LOG] Initializing new module helper …
[12.04.2024 18:14.53.229] [LOG] Module helper loaded: MMM-Todoist
[12.04.2024 18:14.53.230] [LOG] No helper found for module: MMM-CountDown.
[12.04.2024 18:14.54.066] [LOG] Initializing new module helper …
[12.04.2024 18:14.54.067] [LOG] Module helper loaded: MMM-MovieListings
[12.04.2024 18:14.54.250] [LOG] Initializing new module helper …
[12.04.2024 18:14.54.251] [LOG] Module helper loaded: MMM-OnSpotify
[12.04.2024 18:14.55.320] [LOG] Initializing new module helper …
[12.04.2024 18:14.55.321] [LOG] Module helper loaded: MMM-NewsFeedTicker
[12.04.2024 18:14.55.623] [LOG] Initializing new module helper …
[12.04.2024 18:14.55.624] [LOG] Module helper loaded: newsfeed
[12.04.2024 18:14.55.625] [LOG] All module helpers loaded.
[12.04.2024 18:14.55.646] [LOG] Starting server on port 8080 …
[12.04.2024 18:14.55.654] [WARN] You’re using a full whitelist configuration to allow for all IPs
[12.04.2024 18:14.55.700] [ERROR] Whoops! There was an uncaught exception…
[12.04.2024 18:14.55.729] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8080
at Server.setupListenHandle [as _listen2] (node:net:1872:16)
at listenInCluster (node:net:1920:12)
at doListen (node:net:2069:7)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: ‘EADDRINUSE’,
errno: -98,
syscall: ‘listen’,
address: ‘0.0.0.0’,
port: 8080
}
[12.04.2024 18:14.55.730] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
[12.04.2024 18:14.55.731] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issuesStill really new to this any ideas how i can fix this?
Many thanks in advance!
-
@bradley1982 that means another instance of mm is already running
-
@sdetweil Hi Sam,
how do i fix this?
-
@bradley1982 how does magicmirror get started? pm2 at boot?
if so , pm2 can do lots of things, from a terminal window do
pm2 status
pm2 stop alland then
pm2 --help
for a list of all the options available -
@sdetweil HI sam,
it auto lauches when the pi reset.
it seems to work for a couple of hours/day and then i get the blank screen with the cursor. I can see it on the remote control app and look ok but the screen is blank.
When i reset the pi it works ok for the same period… and the blank screen?
is there a log that i can run to figure out what is causing it?
again really new to all this and need an idiot guide lol -
@bradley1982 i assume you use pm2 to autostart.
if so, thenpm2 logs --lines=xxxx
where xxxx is a number of lines to display from the latest part of the logs.
xxxx defaults to 15there are only 500 places where one needs a guide. lol.
-
@sdetweil lol!
cool i have ran that, presume that i check this later and see if i get an error message form one of the modules?
sorry for the stupid questions
-
@bradley1982 yes, you can empty the current (old) collection of log messages by
pm2 flush
-
@sdetweil got this initially when i ran it … (pm2 log)
/home/bradley/.pm2/logs/MagicMirror-error.log last 15 lines:
0|MagicMir | [12.04.2024 18:49.13.303] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.690] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.691] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.692] [ERROR] Moment Timezone has no data for GMT+0100. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.843] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.868] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | [12.04.2024 18:49.18.890] [ERROR] Moment Timezone has no data for GMT-0400. See http://momentjs.com/timezone/docs/#/data-loading/.
0|MagicMir | Warning: vkCreateInstance: Found no drivers!
0|MagicMir | Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
0|MagicMir | at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
0|MagicMir | at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
0|MagicMir | at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
0|MagicMir | at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
0|MagicMir | at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
0|MagicMir |many thanks
paul
-
@bradley1982 those are garbage error messages from electron. which we cant suppress. ignore them