No Modules submenu
See original GitHub issueHi guys,
I install MMM-Remote-Control module. The module worked well in the first few days. From yesterday, I found that the Modules submenu disappeared from my PC and iPhone Safari.
Recently I install several other modules and execute sudo apt-get dist-upgrade. I am not sure what caused this issue. COULD ANYONE GIVE ME SOME SUGGESTION? Thanks in advance.
my Rasbian version is as following:
uname -a
Linux MagicMirror2 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux
my config.js is as followings:
var config = {
address: "192.168.186.168", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080,
ipWhitelist: [], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
language: "zh-cn",
timeFormat: 24,
units: "metric",
modules: [
{
module: 'MMM-Logging',
config: {
// Module functions out of the box with nothing set here.
// See below for configurable options.
}
},
{
module: "alert",
},
{
module: "updatenotification",
position: "top_bar"
},
{
module: "clock",
position: "top_left"
},
{
module: 'calendar_monthly',
position: 'top_left',
config: {
// The config property is optional
// Without a config, a default month view is shown
// Please see the 'Configuration Options' section for more information
}
},
{
module: 'MMM-Remote-Control',
// uncomment the following line to show the URL of the remote control on the mirror
position: 'bottom_right',
// you can hide this module afterwards from the remote control itself
config: {
customCommand: {}, // Optional, See "Using Custom Commands" below
customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below
showModuleApiMenu: true, // Optional, Enable the Module Controls menu
apiKey: "", // Optional, See API/README.md for details
}
}
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
the Magic Mirror starting process log is as following:
pi@MagicMirror2:~/MagicMirror $ DISPLAY=:0 npm start
> magicmirror@2.6.0 start /home/pi/MagicMirror
> sh run-start.sh
Starting MagicMirror: v2.6.0
Loading config ...
Loading module helpers ...
2019-03-06T14:26:03 <log> Initializing new module helper ... (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:14 Class.init)
2019-03-06T14:26:03 <log> Module helper loaded: MMM-Logging (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:18 Class.loaded)
2019-03-06T14:26:03 <log> No helper found for module: alert. (/home/pi/MagicMirror/js/app.js:123 loadModule)
2019-03-06T14:26:04 <log> Initializing new module helper ... (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:14 Class.init)
2019-03-06T14:26:04 <log> Module helper loaded: updatenotification (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:18 Class.loaded)
2019-03-06T14:26:04 <log> No helper found for module: clock. (/home/pi/MagicMirror/js/app.js:123 loadModule)
2019-03-06T14:26:04 <log> No helper found for module: calendar_monthly. (/home/pi/MagicMirror/js/app.js:123 loadModule)
2019-03-06T14:26:04 <log> Initializing new module helper ... (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:14 Class.init)
2019-03-06T14:26:04 <log> Module helper loaded: MMM-Remote-Control (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:18 Class.loaded)
2019-03-06T14:26:04 <log> All module helpers loaded. (/home/pi/MagicMirror/js/app.js:167 loadNextModule)
2019-03-06T14:26:04 <log> Starting server on port 8080 ... (/home/pi/MagicMirror/js/server.js:25 new Server)
2019-03-06T14:26:04 <info> You're using a full whitelist configuration to allow for all IPs (/home/pi/MagicMirror/js/server.js:30 new Server)
2019-03-06T14:26:04 <log> Server started ... (/home/pi/MagicMirror/js/app.js:220 )
2019-03-06T14:26:04 <log> Connecting socket for: MMM-Logging (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:97 Class.setSocketIO)
2019-03-06T14:26:04 <log> Module helper started for MMM-Logging (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:19 Class.start)
2019-03-06T14:26:04 <log> Connecting socket for: updatenotification (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:97 Class.setSocketIO)
2019-03-06T14:26:04 <log> Connecting socket for: MMM-Remote-Control (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:97 Class.setSocketIO)
2019-03-06T14:26:04 <log> Starting node helper for: MMM-Remote-Control (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:39 Class.start)
2019-03-06T14:26:05 <log> Sockets connected & modules started ... (/home/pi/MagicMirror/js/app.js:229 )
2019-03-06T14:26:06 <log> Launching application. (/home/pi/MagicMirror/js/electron.js:82 App.<anonymous>)
[3648:0306/142606.252115:ERROR:desktop_window_tree_host_x11.cc(1867)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
[3648:0306/142606.352901:ERROR:desktop_window_tree_host_x11.cc(1867)] Not implemented reached in void views::DesktopWindowTreeHostX11::MapWindow(ui::WindowShowState)
[3648:0306/142609.073541:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
[3648:0306/142609.214602:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
[3648:0306/142609.220962:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
[3648:0306/142609.251058:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
[3648:0306/142609.279255:ERROR:browser_gpu_channel_host_factory.cc(103)] Failed to launch GPU process.
[3648:0306/142611.523523:INFO:CONSOLE(450)] "Initializing MagicMirror.", source: http://192.168.186.168:8080/js/main.js (450)
[3648:0306/142611.524593:INFO:CONSOLE(201)] "Loading core translation file: translations/zh-cn.json", source: http://192.168.186.168:8080/js/translator.js (201)
[3648:0306/142611.529690:INFO:CONSOLE(224)] "Loading core translation fallback file: translations/en.json", source: http://192.168.186.168:8080/js/translator.js (224)
[3648:0306/142611.560856:INFO:CONSOLE(182)] "Load script: modules/MMM-Logging//MMM-Logging.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.070283:INFO:CONSOLE(469)] "Check MagicMirror version for module 'MMM-Logging' - Minimum version: 2.1.0 - Current version: 2.6.0", source: http://192.168.186.168:8080/js/module.js (469)
[3648:0306/142612.070676:INFO:CONSOLE(471)] "Version is ok!", source: http://192.168.186.168:8080/js/module.js (471)
[3648:0306/142612.070831:INFO:CONSOLE(477)] "Module registered: MMM-Logging", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142612.070984:INFO:CONSOLE(152)] "Bootstrapping module: MMM-Logging", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142612.071082:INFO:CONSOLE(182)] "Load script: modules/MMM-Logging/tracer-bundle.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.137678:INFO:CONSOLE(157)] "Scripts loaded for: MMM-Logging", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142612.138460:INFO:CONSOLE(159)] "Styles loaded for: MMM-Logging", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142612.139508:INFO:CONSOLE(161)] "Translations loaded for: MMM-Logging", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142612.140241:INFO:CONSOLE(182)] "Load script: modules/default/alert//alert.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.166302:INFO:CONSOLE(477)] "Module registered: alert", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142612.171095:INFO:CONSOLE(152)] "Bootstrapping module: alert", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142612.171852:INFO:CONSOLE(182)] "Load script: modules/default/alert/classie.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.192207:INFO:CONSOLE(182)] "Load script: modules/default/alert/modernizr.custom.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.227117:INFO:CONSOLE(182)] "Load script: modules/default/alert/notificationFx.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.242499:INFO:CONSOLE(157)] "Scripts loaded for: alert", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142612.242902:INFO:CONSOLE(197)] "Load stylesheet: modules/default/alert/ns-default.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142612.284229:INFO:CONSOLE(159)] "Styles loaded for: alert", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142612.286190:INFO:CONSOLE(174)] "alert - Load translation fallback: translations/en.json", source: http://192.168.186.168:8080/js/translator.js (174)
[3648:0306/142612.349923:INFO:CONSOLE(128)] "%cElectron Security Warning (Insecure Resources)", source: /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js (128)
[3648:0306/142612.352052:INFO:CONSOLE(188)] "%cElectron Security Warning (Insecure Content-Security-Policy)", source: /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js (188)
[3648:0306/142612.365722:INFO:CONSOLE(161)] "Translations loaded for: alert", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142612.366131:INFO:CONSOLE(182)] "Load script: modules/default/updatenotification//updatenotification.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.381531:INFO:CONSOLE(477)] "Module registered: updatenotification", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142612.384622:INFO:CONSOLE(152)] "Bootstrapping module: updatenotification", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142612.385785:INFO:CONSOLE(157)] "Scripts loaded for: updatenotification", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142612.386550:INFO:CONSOLE(159)] "Styles loaded for: updatenotification", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142612.387171:INFO:CONSOLE(161)] "Translations loaded for: updatenotification", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142612.387445:INFO:CONSOLE(182)] "Load script: modules/default/clock//clock.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.405819:INFO:CONSOLE(477)] "Module registered: clock", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142612.407347:INFO:CONSOLE(152)] "Bootstrapping module: clock", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142612.408283:INFO:CONSOLE(182)] "Load script: vendor/node_modules/moment/min/moment-with-locales.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.798165:INFO:CONSOLE(182)] "Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.896658:INFO:CONSOLE(157)] "Scripts loaded for: clock", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142612.897409:INFO:CONSOLE(197)] "Load stylesheet: modules/default/clock/clock_styles.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142612.912762:INFO:CONSOLE(159)] "Styles loaded for: clock", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142612.913340:INFO:CONSOLE(161)] "Translations loaded for: clock", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142612.913680:INFO:CONSOLE(182)] "Load script: modules/calendar_monthly//calendar_monthly.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142612.941429:INFO:CONSOLE(477)] "Module registered: calendar_monthly", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142612.944172:INFO:CONSOLE(152)] "Bootstrapping module: calendar_monthly", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142612.946142:INFO:CONSOLE(237)] "File already loaded: moment.js", source: http://192.168.186.168:8080/js/loader.js (237)
[3648:0306/142612.947468:INFO:CONSOLE(157)] "Scripts loaded for: calendar_monthly", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142612.948456:INFO:CONSOLE(197)] "Load stylesheet: modules/calendar_monthly//css/mcal.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142612.969105:INFO:CONSOLE(197)] "Load stylesheet: modules/calendar_monthly//css/themes/block.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142612.984761:INFO:CONSOLE(159)] "Styles loaded for: calendar_monthly", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142612.986305:INFO:CONSOLE(161)] "Translations loaded for: calendar_monthly", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142612.987276:INFO:CONSOLE(182)] "Load script: modules/MMM-Remote-Control//MMM-Remote-Control.js", source: http://192.168.186.168:8080/js/loader.js (182)
[3648:0306/142613.004674:INFO:CONSOLE(469)] "Check MagicMirror version for module 'MMM-Remote-Control' - Minimum version: 2.4.0 - Current version: 2.6.0", source: http://192.168.186.168:8080/js/module.js (469)
[3648:0306/142613.004975:INFO:CONSOLE(471)] "Version is ok!", source: http://192.168.186.168:8080/js/module.js (471)
[3648:0306/142613.005164:INFO:CONSOLE(477)] "Module registered: MMM-Remote-Control", source: http://192.168.186.168:8080/js/module.js (477)
[3648:0306/142613.006051:INFO:CONSOLE(152)] "Bootstrapping module: MMM-Remote-Control", source: http://192.168.186.168:8080/js/loader.js (152)
[3648:0306/142613.006317:INFO:CONSOLE(157)] "Scripts loaded for: MMM-Remote-Control", source: http://192.168.186.168:8080/js/loader.js (157)
[3648:0306/142613.006893:INFO:CONSOLE(197)] "Load stylesheet: modules/MMM-Remote-Control/remote-control.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142613.023628:INFO:CONSOLE(159)] "Styles loaded for: MMM-Remote-Control", source: http://192.168.186.168:8080/js/loader.js (159)
[3648:0306/142613.024185:INFO:CONSOLE(161)] "Translations loaded for: MMM-Remote-Control", source: http://192.168.186.168:8080/js/loader.js (161)
[3648:0306/142613.024521:INFO:CONSOLE(197)] "Load stylesheet: css/custom.css", source: http://192.168.186.168:8080/js/loader.js (197)
[3648:0306/142613.072042:INFO:CONSOLE(39)] "MMM-Logging updated window.console.", source: http://192.168.186.168:8080/modules/MMM-Logging//MMM-Logging.js (39)
[3648:0306/142613.074231:INFO:CONSOLE(153)] "Starting module: alert", source: http://192.168.186.168:8080/modules/default/alert//alert.js (153)
[3648:0306/142613.074535:INFO:CONSOLE(10)] "Start updatenotification", source: http://192.168.186.168:8080/modules/default/updatenotification//updatenotification.js (10)
[3648:0306/142613.075153:INFO:CONSOLE(40)] "Starting module: clock", source: http://192.168.186.168:8080/modules/default/clock//clock.js (40)
[3648:0306/142613.076645:INFO:CONSOLE(41)] "Starting module: calendar_monthly", source: http://192.168.186.168:8080/modules/calendar_monthly//calendar_monthly.js (41)
[3648:0306/142613.097397:INFO:CONSOLE(23)] "Starting module: MMM-Remote-Control", source: http://192.168.186.168:8080/modules/MMM-Remote-Control//MMM-Remote-Control.js (23)
[3648:0306/142613.098617:INFO:CONSOLE(468)] "All modules started!", source: http://192.168.186.168:8080/js/main.js (468)
[3648:0306/142613.102077:INFO:CONSOLE(156)] "clock received a system notification: ALL_MODULES_STARTED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.102409:INFO:CONSOLE(156)] "calendar_monthly received a system notification: ALL_MODULES_STARTED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.150508:INFO:CONSOLE(156)] "clock received a system notification: MODULE_DOM_CREATED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.151784:INFO:CONSOLE(156)] "calendar_monthly received a system notification: MODULE_DOM_CREATED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.156545:INFO:CONSOLE(156)] "clock received a system notification: DOM_OBJECTS_CREATED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.157035:INFO:CONSOLE(156)] "calendar_monthly received a system notification: DOM_OBJECTS_CREATED", source: http://192.168.186.168:8080/js/module.js (156)
[3648:0306/142613.568078:INFO:CONSOLE(198)] "updatenotification is suspended.", source: http://192.168.186.168:8080/js/module.js (198)
2019-03-06T14:26:13 <info> MMM-Logging updated config received, reloading console (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:30 Class.socketNotificationReceived)
2019-03-06T14:26:13 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
2019-03-06T14:26:13 <log> payload: undefined (/home/pi/MagicMirror/modules/MMM-Logging/node_helper.js:34 Class.socketNotificationReceived)
2019-03-06T14:26:52 <log> MMM-Remote-Control customMenu Requested, but file:/home/pi/MagicMirror/config/custom_menu.json was not found (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:957 Class.loadCustomMenus)
[3648:0306/142754.215461:INFO:CONSOLE(231)] "Uncaught (in promise) TypeError: Cannot read property 'length' of null", source: http://192.168.186.168:8080/modules/MMM-Remote-Control//MMM-Remote-Control.js (231)
[3648:0306/142754.216316:INFO:CONSOLE(231)] "Uncaught (in promise) TypeError: Cannot read property 'length' of null", source: http://192.168.186.168:8080/modules/MMM-Remote-Control//MMM-Remote-Control.js (231)
2019-03-06T14:52:25 <log> Shutting down server... (/home/pi/MagicMirror/js/electron.js:106 App.app.on)
2019-03-06T14:52:25 <log> Stopping module helper: MMM-Logging (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:33 Class.stop)
2019-03-06T14:52:25 <log> Stopping module helper: updatenotification (/home/pi/MagicMirror/modules/node_modules/node_helper/index.js:33 Class.stop)
Issue Analytics
- State:
- Created 5 years ago
- Comments:14
Top Results From Across the Web
How To Fix The Hidden Divi Menu Module ... - YouTube
How To Create A Divi Mega Menu ( Without Plugins) · How To Style and Customize The Divi Menu Module Dropdown Submenu ·...
Read more >How To Fix The Hidden Divi Menu Module ... - Pee-Aye Creative
This quick tutorial will show you how to fix and show the hidden Divi menu module dropdown and mobile menu in the Theme...
Read more >Sub-menus from Entity Toolbar module not expanded on hover
Problem/Motivation Sub-menus from Entity Toolbar module are not expanded on hover after Admin Toolbar upgrade from 8.x-2.x to 3.x.
Read more >ModuleNotFoundError: No module named 'cmd2-submenu'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'cmd2-submenu' How to remove the Modul.
Read more >odoo10 adding sub menu to another module - Stack Overflow
I am trying to create a sub-menu to Payroll Modules. Tried so many way but i cant make it. I found this code...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@gchristina , solution can be found here
Leaves me one issue! the url/link is showing http://ip-of-your-mirror instead of the current ip-address…