Read the statement by Michael Teeuw here.
MM on Ubuntu
-
I may have given you the wrong impression…I really don’t know my way around Linux/Ubuntu. However, I was able to run your fixuppm2 script and I now see what you mean about not having to do anything else. I’m getting the behavior I want. When I reboot my machine MM2 starts right up. I’m getting ready to make another MM2 on a mini PC running Ubuntu. This time, I’m going to use your install script!
-
OK…your script did a great job in getting a new MM installed onto another Ubuntu machine. There’s one odd behavior I’m noticing. When the MM2 first comes up after power-on or reboot, not all the modules get started. I have to press the key and the File -> Close. When the MM2 comes up again all is well. I’m wondering why that is??? Is it possible to place a delay in the config.js (or somewhere else) so each module has plenty of time to get started. Maybe there’s another solution to this behavior???
BTW…thanks for all your work on the installation scripts and the help you’ve provided! -
@dwburger i have never seen that behavior…
do you have two entries in pm2??
show the results ofpm2 status
-
No, just 1…MagicMirror.
-
@dwburger hm… what system is this on? I have 9 instances running… never seen it behave that way… MM controls all the modules
-
This is on a MiniPC running Ubuntu 18.04.4.
-
@dwburger hm… my desktop is ubuntu 18.04, w MM running… on second display
-
@sdetweil I’m using the MiniPC solely for the MM2. The MiniPC is mounted to the back of an old wall-mounted LCD monitor and serves, basically, as an information kiosk for me running clock, calendar, radar, traffic, weather and to-do list modules.
-
@dwburger weird…
install this module , and add it to config.js as the 1st in the module list
https://github.com/sdetweil/MMM-Logging{ module: 'MMM-Logging', disabled: false, config: { // Module functions out of the box with nothing set here. // See below for configurable options. echoLocal: true, echoRemote: true, overwriteBrowserMethods: true, format: "{{message}} ({{folder}}/{{file}}:{{line}} {{method}})", } },
stop MM via pm2,
pm2 stop 0
pm2 flush
pm2 start 0then reboot (this is where it comes up partway, right)
-
@sdetweil I just restarted my Ubuntu MiniPC 3 times after minimizing the MM2 window and MM2 started up perfectly each time. If it starts to act up again I’ll install the MMM-Logging module. When the problem was more evident the other day Ubuntu was displaying an error message that indicated it had some kind of issue with my WiFi and a “localhost”. I was focused on other things at the time and didn’t pay enough attention to this error message. I’ve not been receiving it lately so maybe something got resolved between my Ubuntu and my WiFi connection that also took care of this startup issue with MM2???