mmpm icon indicating copy to clipboard operation
mmpm copied to clipboard

BUG: Unable to retrieve active modules

Open VilhelmR opened this issue 2 years ago • 13 comments

Describe the Bug

I'm unable to retrieve the active modules in the web interface, and have both set the ipWhitelist to [], and tried both 127.0.0.1:8080 and 192.168.8.182:8080 (the network address) as the address for my MagicMirror.

I can see active modules in CLI with: mmpm mm-ctl --status

To Reproduce

  • Install MagicMirror manually on RPi02
  • Install mmpm
  • Go through guided setup
  • Go to http://(network address):7890/

Expected behavior That active modules would be visible

Operating System, Python3 Version, and Web Browser\

PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11" VERSION="11 (bullseye)" VERSION_CODENAME=bullseye ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

Python 3.9.2

Web Browser: Firefox and Midori

MMPM Environment Settings { "MMPM_MAGICMIRROR_ROOT": "/home/pi/MagicMirror", "MMPM_MAGICMIRROR_URI": "http://192.168.8.182:8080", "MMPM_MAGICMIRROR_PM2_PROCESS_NAME": "", "MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE": ".", "MMPM_IS_DOCKER_IMAGE": false }

and (I've tried with each)

{ "MMPM_MAGICMIRROR_ROOT": "/home/pi/MagicMirror", "MMPM_MAGICMIRROR_URI": "http://127.0.0.1:8080", "MMPM_MAGICMIRROR_PM2_PROCESS_NAME": "", "MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE": ".", "MMPM_IS_DOCKER_IMAGE": false }

MMPM Log Files mmpm-cli-interface.log

MagicMirror Config config.txt

Thank you so much!

VilhelmR avatar Mar 13 '22 09:03 VilhelmR

Exact same issue here. Only difference is that I'm using PM2 to run Magic Mirror.

Schnabulation avatar Apr 28 '22 08:04 Schnabulation

@VilhelmR @Schnabulation have you consulted the Wiki and followed the instructions for adding the MMPM MagicMirror module to enable this feature? https://github.com/Bee-Mar/mmpm/wiki/Status,-Hide,-Show-MagicMirror-Modules

Bee-Mar avatar Apr 30 '22 14:04 Bee-Mar

Same issue and context as in the OP here. I double checked everything is properly setup as mentioned in the wiki link you provided @Bee-Mar

Still no luck

ph3ne avatar May 03 '22 15:05 ph3ne

What version of MMPM do you all have installed? 2.12 is the latest version that worked properly in my testing with the changes made to MagicMirror. 2.14 is the latest release. I'd upgrading MMPM, you'd need to reinstall the MMPM MagicMirror module using:

'mmpm install --as-module'

Then restart MagicMirror.

Bee-Mar avatar May 03 '22 15:05 Bee-Mar

Alright thanks! I have MM version 2.19.0 and MMPM 2.14, I'll try with MMPM 2.12 and let you know if it works :)

ph3ne avatar May 03 '22 15:05 ph3ne

You'll also want to reinstall the GUI to be safe.

'mmpm remove --gui' 'mmpm install --gui'

Bee-Mar avatar May 03 '22 15:05 Bee-Mar

Can you also provide the MMPM logs and your MagicMirror config.js?

'mmpm log --zip'

Bee-Mar avatar May 03 '22 15:05 Bee-Mar

i have the same problem.

i double checked everything but cant see modules.

Config.js
let config = {
	address: "0.0.0.0", 	// 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 or empty, is "localhost"
	port: 8080,
	basePath: "/", 	// The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
					// you must set the sub path here. basePath must end with a /
	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"],

	useHttps: false, 		// Support HTTPS or not, default "false" will use HTTP
	httpsPrivateKey: "", 	// HTTPS private key path, only require when useHttps is true
	httpsCertificate: "", 	// HTTPS Certificate path, only require when useHttps is true
....
....
modules: [
		{
			module: "alert",
		},
...
...
      {
          module: "mmpm"
      }
ENV
{
"MMPM_MAGICMIRROR_ROOT": "/home/pi/MagicMirror",
"MMPM_MAGICMIRROR_URI": "http://127.0.1.1:8080",
"MMPM_MAGICMIRROR_PM2_PROCESS_NAME": "MagicMirror",
"MMPM_MAGICMIRROR_DOCKER_COMPOSE_FILE": ".",
"MMPM_IS_DOCKER_IMAGE": false
}
Log

The errors with nginx are fixed and after that i did a remove and install gui

2022-01-22 22:57:23,331.331 ERROR utils - assert_required_defaults_exist: Expecting value: line 1 column 1 (char 0)
Expecting value: line 1 column 1 (char 0)
2022-01-22 23:03:46,422.422 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-01-22 23:04:15,225.225 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.12
Checking for newer version of MMPM. Current version: 2.12
2022-01-22 23:04:15,226.226 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-01-22 23:04:15,538.538 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.12 available. The current version is the latest
No newer version of MMPM found > 2.12 available. The current version is the latest
2022-01-22 23:04:15,546.546 INFO utils - open_default_editor: Attempting to open /home/pi/MagicMirror/config/config.js in users default editor
Attempting to open /home/pi/MagicMirror/config/config.js in users default editor
2022-01-22 23:04:15,546.546 INFO utils - run_cmd: Executing process `which nano` in foreground
Executing process `which nano` in foreground
2022-01-22 23:04:57,924.924 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:04:57,926.926 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:04:57,937.937 INFO utils - open_default_editor: Attempting to open /home/pi/MagicMirror/config/config.js in users default editor
Attempting to open /home/pi/MagicMirror/config/config.js in users default editor
2022-01-22 23:04:57,938.938 INFO utils - run_cmd: Executing process `which nano` in foreground
Executing process `which nano` in foreground
2022-01-22 23:07:24,760.760 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:07:24,762.762 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:07:24,772.772 INFO core - display_mmpm_env_vars: User listing environment variables, set with the following values
User listing environment variables, set with the following values
2022-01-22 23:11:12,783.783 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:11:12,788.788 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:11:13,444.444 INFO core - display_magicmirror_modules_status: attempting to connect to '/mmpm' namespace within MagicMirror websocket
attempting to connect to '/mmpm' namespace within MagicMirror websocket
2022-01-22 23:11:13,461.461 INFO client - _handle_eio_connect: Engine.IO connection established
Engine.IO connection established
2022-01-22 23:11:13,474.474 INFO client - _handle_connect: Namespace /mmpm is connected
Namespace /mmpm is connected
2022-01-22 23:11:13,475.475 INFO core - connect: connected to MagicMirror websocket
connected to MagicMirror websocket
2022-01-22 23:11:13,475.475 INFO client - emit: Emitting event "FROM_MMPM_APP_get_active_modules" [/mmpm]
Emitting event "FROM_MMPM_APP_get_active_modules" [/mmpm]
2022-01-22 23:11:13,475.475 INFO core - connect: emitted request for active modules to MMPM module
emitted request for active modules to MMPM module
2022-01-22 23:11:13,480.480 INFO client - _handle_event: Received event "FROM_MMPM_NODE_HELPER_get_active_modules" [/mmpm]
Received event "FROM_MMPM_NODE_HELPER_get_active_modules" [/mmpm]
2022-01-22 23:11:13,489.489 INFO client - _handle_event: Received event "ACTIVE_MODULES" [/mmpm]
Received event "ACTIVE_MODULES" [/mmpm]
2022-01-22 23:11:13,489.489 INFO core - active_modules: received active modules from MMPM MagicMirror module
received active modules from MMPM MagicMirror module
2022-01-22 23:11:13,489.489 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
2022-01-22 23:11:13,491.491 INFO client - _handle_eio_disconnect: Engine.IO connection dropped
Engine.IO connection dropped
2022-01-22 23:11:13,498.498 INFO core - disconnect: disconnected from MagicMirror websocket
disconnected from MagicMirror websocket
2022-01-22 23:11:13,500.500 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
2022-01-22 23:18:04,461.461 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:18:04,471.471 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:18:05,269.269 INFO core - display_magicmirror_modules_status: attempting to connect to '/mmpm' namespace within MagicMirror websocket
attempting to connect to '/mmpm' namespace within MagicMirror websocket
2022-01-22 23:18:05,281.281 INFO client - _handle_eio_connect: Engine.IO connection established
Engine.IO connection established
2022-01-22 23:18:05,290.290 INFO client - _handle_connect: Namespace /mmpm is connected
Namespace /mmpm is connected
2022-01-22 23:18:05,291.291 INFO core - connect: connected to MagicMirror websocket
connected to MagicMirror websocket
2022-01-22 23:18:05,291.291 INFO client - emit: Emitting event "FROM_MMPM_APP_get_active_modules" [/mmpm]
Emitting event "FROM_MMPM_APP_get_active_modules" [/mmpm]
2022-01-22 23:18:05,291.291 INFO core - connect: emitted request for active modules to MMPM module
emitted request for active modules to MMPM module
2022-01-22 23:18:05,297.297 INFO client - _handle_event: Received event "FROM_MMPM_NODE_HELPER_get_active_modules" [/mmpm]
Received event "FROM_MMPM_NODE_HELPER_get_active_modules" [/mmpm]
2022-01-22 23:18:05,300.300 INFO client - _handle_event: Received event "ACTIVE_MODULES" [/mmpm]
Received event "ACTIVE_MODULES" [/mmpm]
2022-01-22 23:18:05,301.301 INFO core - active_modules: received active modules from MMPM MagicMirror module
received active modules from MMPM MagicMirror module
2022-01-22 23:18:05,301.301 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
2022-01-22 23:18:05,303.303 INFO client - _handle_event: Received event "ACTIVE_MODULES" [/mmpm]
2022-01-22 23:18:05,304.304 INFO client - _handle_eio_disconnect: Engine.IO connection dropped
Received event "ACTIVE_MODULES" [/mmpm]
2022-01-22 23:18:05,306.306 INFO core - active_modules: received active modules from MMPM MagicMirror module
Engine.IO connection dropped
2022-01-22 23:18:05,307.307 INFO core - disconnect: disconnected from MagicMirror websocket
received active modules from MMPM MagicMirror module
disconnected from MagicMirror websocket
2022-01-22 23:18:05,310.310 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
2022-01-22 23:18:05,310.310 INFO utils - socketio_client_disconnect: attempting to disconnect from MagicMirror websocket
attempting to disconnect from MagicMirror websocket
2022-01-22 23:23:09,661.661 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:23:09,663.663 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:23:09,673.673 ERROR utils - error_msg: Unknown argument

Unknown argument

2022-01-22 23:23:46,652.652 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:23:46,656.656 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:23:46,666.666 CRITICAL utils - fatal_msg: The MMPM NGINX configuration file does not appear to exist. Is the GUI installed?
The MMPM NGINX configuration file does not appear to exist. Is the GUI installed?
2022-01-22 23:24:39,187.187 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:24:39,189.189 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:28:44,527.527 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-01-22 23:29:16,462.462 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:29:16,465.465 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:29:16,474.474 CRITICAL utils - fatal_msg: The MMPM NGINX configuration file does not appear to exist. Is the GUI installed?
The MMPM NGINX configuration file does not appear to exist. Is the GUI installed?
2022-01-22 23:37:42,521.521 INFO core - guided_setup: User cancelled guided setup
User cancelled guided setup
2022-01-22 23:37:53,518.518 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:37:53,527.527 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:39:06,738.738 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-01-22 23:41:22,919.919 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-01-22 23:41:22,921.921 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-01-22 23:41:28,732.732 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-05-27 09:20:06,979.979 WARNING utils - warning_msg: Respond with [yes/y] or [no/n]
Respond with [yes/y] or [no/n]
2022-05-27 09:24:10,721.721 INFO core - migrate: /home/pi/.config/mmpm/mmpm-external-sources.json does not exist, nothing to migrate
/home/pi/.config/mmpm/mmpm-external-sources.json does not exist, nothing to migrate
2022-05-27 09:24:10,721.721 INFO core - migrate: Completed migration of legacy External Module Sources migrated to External Packages
Completed migration of legacy External Module Sources migrated to External Packages
2022-05-27 09:24:10,724.724 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-05-27 09:27:07,132.132 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:27:07,142.142 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:29:00,926.926 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:29:00,928.928 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:29:00,940.940 INFO utils - reset_available_upgrades_for_environment: Resetting available upgrades for /home/pi/MagicMirror
Resetting available upgrades for /home/pi/MagicMirror
2022-05-27 09:29:00,942.942 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 09:29:15,797.797 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 09:29:15,797.797 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 09:29:16,008.008 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 09:29:39,960.960 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:29:39,963.963 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:30:25,545.545 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:30:25,548.548 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:39:53,178.178 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:39:53,188.188 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:40:01,340.340 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 09:40:01,350.350 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 09:40:09,919.919 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:40:09,922.922 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:40:11,625.625 CRITICAL utils - fatal_msg: NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
NGINX is not in your $PATH. Please install `nginx-full` (Debian), `nginx-mainline` (Arch) or equivalent
2022-05-27 09:59:33,566.566 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:59:33,569.569 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:59:41,777.777 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 09:59:41,779.779 INFO core - load_packages: Back up of database complete
Back up of database complete
2022-05-27 09:59:46,718.718 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 09:59:46,792.792 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 09:59:46,814.814 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 09:59:46,859.859 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 09:59:46,861.861 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 09:59:46,876.876 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 09:59:46,957.957 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 09:59:47,029.029 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 09:59:47,054.054 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 09:59:47,077.077 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 09:59:47,907.907 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 09:59:47,911.911 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 09:59:48,231.231 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 09:59:48,235.235 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 09:59:48,739.739 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 09:59:48,792.792 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 09:59:48,802.802 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 09:59:48,834.834 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 09:59:48,837.837 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 09:59:48,855.855 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 09:59:48,897.897 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 09:59:48,927.927 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 09:59:48,943.943 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 09:59:48,960.960 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 09:59:49,576.576 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 09:59:49,576.576 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 09:59:49,788.788 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 09:59:49,790.790 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 09:59:50,415.415 INFO api - packages_upgradable: Request to get upgradable packages
Request to get upgradable packages
2022-05-27 09:59:58,743.743 INFO core - stop_magicmirror: docker-compose file set as .
docker-compose file set as .
2022-05-27 09:59:58,744.744 INFO core - stop_magicmirror: pm2 process set as .
pm2 process set as .
2022-05-27 09:59:58,745.745 INFO core - stop_magicmirror: Using 'pm2' to stop MagicMirror
Using 'pm2' to stop MagicMirror
2022-05-27 09:59:58,746.746 INFO utils - run_cmd: Executing process `pm2 stop MagicMirror` in foreground
Executing process `pm2 stop MagicMirror` in foreground
2022-05-27 10:00:00,490.490 INFO core - stop_magicmirror: stopped MagicMirror using 'pm2'
stopped MagicMirror using 'pm2'
2022-05-27 10:00:04,558.558 INFO utils - get_pids: Getting process IDs for electron proceses
Getting process IDs for electron proceses
2022-05-27 10:00:04,664.664 INFO utils - get_pids: Found processes: 
Found processes: 
2022-05-27 10:00:04,665.665 INFO utils - get_pids: Getting process IDs for pm2 proceses
Getting process IDs for pm2 proceses
2022-05-27 10:00:04,714.714 INFO utils - get_pids: Found processes: 
Found processes: 
2022-05-27 10:00:04,715.715 INFO api - magicmirror_start: MagicMirror does not appear to be running currently. Returning True.
MagicMirror does not appear to be running currently. Returning True.
2022-05-27 10:00:04,715.715 INFO core - start_magicmirror: Starting MagicMirror
Starting MagicMirror
2022-05-27 10:00:04,716.716 INFO core - start_magicmirror: docker-compose file set as .
docker-compose file set as .
2022-05-27 10:00:04,716.716 INFO core - start_magicmirror: pm2 process set as .
pm2 process set as .
2022-05-27 10:00:04,717.717 INFO core - start_magicmirror: Using 'pm2' to start MagicMirror
Using 'pm2' to start MagicMirror
2022-05-27 10:00:04,717.717 INFO utils - run_cmd: Executing process `pm2 start MagicMirror` in foreground
Executing process `pm2 start MagicMirror` in foreground
2022-05-27 10:00:05,627.627 INFO core - start_magicmirror: started MagicMirror using 'pm2'
started MagicMirror using 'pm2'
2022-05-27 10:00:17,816.816 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 10:00:17,850.850 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 10:00:17,855.855 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 10:00:17,921.921 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 10:00:17,922.922 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:17,934.934 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:17,956.956 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 10:00:17,971.971 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:17,994.994 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:18,019.019 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:18,632.632 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 10:00:18,652.652 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 10:00:18,660.660 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 10:00:18,668.668 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 10:00:18,669.669 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 10:00:18,718.718 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 10:00:18,720.720 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:18,733.733 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:18,755.755 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 10:00:18,767.767 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:18,783.783 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:18,803.803 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:18,881.881 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 10:00:18,884.884 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:19,003.003 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 10:00:19,024.024 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 10:00:19,043.043 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 10:00:19,067.067 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 10:00:19,071.071 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:19,094.094 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:19,193.193 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 10:00:19,205.205 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:19,218.218 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:19,230.230 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:19,380.380 INFO api - packages_marketplace: Sending all marketplace packages
Sending all marketplace packages
2022-05-27 10:00:19,408.408 INFO api - magicmirror_config: Retrieving MagicMirror config
Retrieving MagicMirror config
2022-05-27 10:00:19,422.422 INFO api - magicmirror_custom_css: Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
Retrieving MagicMirror /home/pi/MagicMirror/css/custom.css
2022-05-27 10:00:19,433.433 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 10:00:19,434.434 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 10:00:19,474.474 INFO api - packages_installed: Sending all installed packages
Sending all installed packages
2022-05-27 10:00:19,476.476 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:19,490.490 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:19,553.553 INFO api - packages_external: Sending all external packages
Sending all external packages
2022-05-27 10:00:19,575.575 INFO utils - run_cmd: Executing process `git config --get remote.origin.url` in foreground
Executing process `git config --get remote.origin.url` in foreground
2022-05-27 10:00:19,590.590 INFO utils - run_cmd: Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
Executing process `basename https://github.com/jalibu/MMM-NINA .git` in foreground
2022-05-27 10:00:19,603.603 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:19,649.649 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 10:00:19,651.651 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:19,853.853 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 10:00:19,854.854 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 10:00:20,069.069 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 10:00:20,076.076 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:20,220.220 INFO core - check_for_mmpm_updates: Checking for newer version of MMPM. Current version: 2.14
Checking for newer version of MMPM. Current version: 2.14
2022-05-27 10:00:20,221.221 INFO utils - run_cmd: Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
Executing process `curl https://raw.githubusercontent.com/Bee-Mar/mmpm/master/mmpm/mmpm.py` in foreground
2022-05-27 10:00:20,433.433 INFO core - check_for_mmpm_updates: No newer version of MMPM found > 2.14 available. The current version is the latest
No newer version of MMPM found > 2.14 available. The current version is the latest
2022-05-27 10:00:20,435.435 INFO utils - run_cmd: Executing process `git fetch --dry-run` in foreground
Executing process `git fetch --dry-run` in foreground
2022-05-27 10:00:20,974.974 INFO api - packages_upgradable: Request to get upgradable packages
Request to get upgradable packages
2022-05-27 10:00:50,359.359 INFO core - load_packages: Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
Backing up database file as /home/pi/.config/mmpm/MagicMirror-3rd-party-packages-db.json.bak
2022-05-27 10:00:50,362.362 INFO core - load_packages: Back up of database complete
Back up of database complete

Did also a complete restart after all installed via "https://github.com/sdetweil/MagicMirror_scripts" with pm2

if you need more info feel free to ask 🙂

wuast94 avatar May 27 '22 08:05 wuast94

i have the same issue, 2.19 installed, double checked everything as the OP

fixed it by changing with mmpm open --config address: "localhost", to address: "0.0.0.0", adding also ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.1.14", "0.0.0.0"],

and setting mmpm open --env to "MMPM_MAGICMIRROR_URI": "http://192.168.1.14:8080",

editwentyone avatar May 27 '22 10:05 editwentyone

My hunch is something in MagicMirror changed and is causing the issue. I'll have to sus this out and probably put out a new verison

Bee-Mar avatar May 29 '22 21:05 Bee-Mar

actually, I take that back. It appears to be working on my end now. Also @wuast94 within your MMPM env configuration, you should set your MMPM_MAGICMIRROR_URI to either http://0.0.0.0:8080 or using your LAN IP (for example, mine is http://192.168.1.192:8080)

Bee-Mar avatar May 29 '22 21:05 Bee-Mar

@mr-propre Have you had any success?

Bee-Mar avatar May 29 '22 21:05 Bee-Mar

actually, I take that back. It appears to be working on my end now. Also @wuast94 within your MMPM env configuration, you should set your MMPM_MAGICMIRROR_URI to either http://0.0.0.0:8080 or using your LAN IP (for example, mine is http://192.168.1.192:8080)

after setting the lan ip it worked for me too

wuast94 avatar May 30 '22 20:05 wuast94

@wuast94 cool, I'm going to go ahead close this issue. If anyone else is still experiencing an issue feel free to reopen.

Bee-Mar avatar Aug 30 '22 18:08 Bee-Mar