Solved Upgrading GA from v3 to v4 with a Raspberry pi 4b
-
EXT-GooglePhotos will search in GA folder
credentials.json
and if not found it will search in EXT-GooglePhotos folderfor resume if you use GA v4. only one credentials.json is needed (in GA folder)
and EXT plugins will search it, find it and use it
Justnpm run token
is needed in your case in EXT-GooglePhotos foldersample:
bugsounet@debian:~/MagicMirror/modules/EXT-GooglePhotos$ npm run token > EXT-GooglePhotos@1.0.2 token > installer/token.sh Welcome to EXT-GooglePhotos Token generator! Do you want to install/reinstall EXT-GooglePhotos token? [Y/n] Your choice: y [GPHOTOS] Check credentials.json... [GPHOTOS] credentials.json found in /home/bugsounet/MagicMirror/modules/MMM-GoogleAssistant/credentials.json [GPHOTOS] config: { CREDENTIALS: '/home/bugsounet/MagicMirror/modules/MMM-GoogleAssistant/credentials.json', TOKEN: '/home/bugsounet/MagicMirror/modules/EXT-GooglePhotos/tokenGP.json' } [GPHOTOS:AUTH] Opening OAuth URL. ...
that you see … it found it in GA folder
and no
credentials.json
file onEXT-GooglePhotos
folderbugsounet@debian:~/MagicMirror/modules/EXT-GooglePhotos$ ls -la total 104 drwxr-xr-x 9 bugsounet bugsounet 4096 10 avril 13:47 . drwxr-xr-x 58 bugsounet bugsounet 4096 9 avril 19:17 .. -rw-r--r-- 1 bugsounet bugsounet 1877 6 mars 18:31 EXT-GooglePhotos.css -rw-r--r-- 1 bugsounet bugsounet 10960 7 mars 17:58 EXT-GooglePhotos.js drwxr-xr-x 8 bugsounet bugsounet 4096 5 avril 20:56 .git -rw-r--r-- 1 bugsounet bugsounet 15 1 janv. 14:17 .gitignore drwxr-xr-x 2 bugsounet bugsounet 4096 1 avril 15:53 installer drwxr-xr-x 2 bugsounet bugsounet 4096 23 mars 21:21 lib -rw-r--r-- 1 bugsounet bugsounet 1076 10 févr. 20:58 LICENSE -rw-r--r-- 1 bugsounet bugsounet 2363 5 avril 20:56 node_helper.js drwxr-xr-x 40 bugsounet bugsounet 4096 9 avril 21:40 node_modules -rw-r--r-- 1 bugsounet bugsounet 914 1 avril 15:54 package.json -rw-r--r-- 1 bugsounet bugsounet 24892 9 avril 21:40 package-lock.json -rw-r--r-- 1 bugsounet bugsounet 850 1 avril 15:55 README.md drwxr-xr-x 2 bugsounet bugsounet 4096 10 févr. 21:23 resources drwxr-xr-x 3 bugsounet bugsounet 4096 10 févr. 20:58 tmp -rw-r--r-- 1 bugsounet bugsounet 464 10 avril 13:47 tokenGP.json drwxr-xr-x 2 bugsounet bugsounet 4096 10 févr. 21:48 translations bugsounet@debian:~/MagicMirror/modules/EXT-GooglePhotos$
-
Hi Good evening , i went to register inside Gav4 folder
pi@raspberrypi:~/MagicMirror/modules/MMM-GoogleAssistant $
i run npm run tokens
i got the external page code and i got the credentials for Gav4 were created and i thought it will keep going to try to get the credentials for Youtube and photos also but nothing. Should i go manually to every folder and run npm run tokens for Youtube and Photos? and if yes should i do it to any more EXT-modules? or am i doing something wrong?
I also use at my mirror the third party module pages and i have to write the modules i load in the page that i want them now with the new Gav4 setup Every EXT- is a different module? or should i just load Gav4 and all the others are part of the assistant? Thank you very much in advance -
Hi,
npm run tokens
command don’t exist
just read wiki of eachEXT
understand that:
EXT-XXX
is an plugin – list available there
MMM-XXX
is an module -
npm run token inside the gav4 directory but it only registers the assistant and not the youtube or photos is that correct?
and about the EXT- plugins in the config file they are registered as modules : soooo yeah i think MMM-pages would want me to write down every one of them . -
I will not force to generate all tokens … if user will not use it
It’s more logical to have one credentials (in GA folder) and generate token on needed EXT plugin
So EXT plugin have faculty to search credentials in GA folder or in EXT folder and generate token with the proper commandNote for MMM-Page …
- MMM-GoogleAssistant class is not needed because position is not needed (use popups)
- The same if plugin don’t need positon (Gateway, EXT-Links, EXT-Photos, …) because it use no display or use popup too
-
Good Evening ,
I solved it by manually copying the credentials.json into EXT-Spotify directory , EXT-Youtube and EXT-Googlephotos and then i run inside every folder : npm run token and everything worked perfectly.
About MMM-Pages it considers every EXT- and MMM- as a module and you would have to register it at a page or running all the time , as bugs mentions the one’s without a graphical css to display can run all the time and those with assigned positions can be loaded individual at any page but i found best to play with your own setup and setup it the way you find it best for you.Now i am at the point that i want to see if everything that i set up actually works or i still have errors because i see a couple of weird stuff as i run the MM . I would like to copy paste everything here so you could see and tell me.
pi@raspberrypi:~/MagicMirror $ npm run start > magicmirror@2.19.0 start /home/pi/MagicMirror > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js [18.04.2022 22:47.01.110] [LOG] Starting MagicMirror: v2.19.0 [18.04.2022 22:47.01.118] [LOG] Loading config ... [18.04.2022 22:47.01.126] [LOG] Loading module helpers ... [18.04.2022 22:47.01.129] [LOG] No helper found for module: alert. [18.04.2022 22:47.01.145] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.147] [LOG] Module helper loaded: updatenotification [18.04.2022 22:47.01.148] [LOG] No helper found for module: clock. [18.04.2022 22:47.01.172] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.174] [LOG] Module helper loaded: MMM-Weather [18.04.2022 22:47.01.199] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.201] [LOG] Module helper loaded: MMM-NewsFeed [18.04.2022 22:47.01.202] [LOG] No helper found for module: compliments. [18.04.2022 22:47.01.245] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.245] [LOG] Module helper loaded: MMM-network-signal [18.04.2022 22:47.01.681] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.681] [LOG] Module helper loaded: MMM-GoogleAssistant [18.04.2022 22:47.01.683] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.684] [LOG] Module helper loaded: Gateway [18.04.2022 22:47.01.686] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.686] [LOG] Module helper loaded: EXT-Alert [18.04.2022 22:47.01.688] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.688] [LOG] Module helper loaded: EXT-Background [18.04.2022 22:47.01.692] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.692] [LOG] Module helper loaded: EXT-Detector [18.04.2022 22:47.01.694] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.695] [LOG] Module helper loaded: EXT-Browser [18.04.2022 22:47.01.982] [LOG] Initializing new module helper ... [18.04.2022 22:47.01.983] [LOG] Module helper loaded: EXT-FreeboxTV [18.04.2022 22:47.02.135] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.136] [LOG] Module helper loaded: EXT-GooglePhotos [18.04.2022 22:47.02.192] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.192] [LOG] Module helper loaded: EXT-Internet [18.04.2022 22:47.02.196] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.197] [LOG] Module helper loaded: EXT-MusicPlayer [18.04.2022 22:47.02.200] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.201] [LOG] Module helper loaded: EXT-Photos [18.04.2022 22:47.02.203] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.205] [LOG] Module helper loaded: EXT-RadioPlayer [18.04.2022 22:47.02.229] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.231] [LOG] Module helper loaded: EXT-Screen [18.04.2022 22:47.02.235] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.235] [LOG] Module helper loaded: EXT-Governor [18.04.2022 22:47.02.238] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.239] [LOG] Module helper loaded: EXT-Volume [18.04.2022 22:47.02.240] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.241] [LOG] Module helper loaded: EXT-Welcome [18.04.2022 22:47.02.488] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.489] [LOG] Module helper loaded: EXT-YouTubeCast [18.04.2022 22:47.02.863] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.864] [LOG] Module helper loaded: EXT-UpdateNotification [18.04.2022 22:47.02.866] [LOG] Initializing new module helper ... [18.04.2022 22:47.02.867] [LOG] Module helper loaded: EXT-YouTubeVLC [18.04.2022 22:47.03.292] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.293] [LOG] Module helper loaded: EXT-Spotify [18.04.2022 22:47.03.514] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.515] [LOG] Module helper loaded: EXT-Librespot [18.04.2022 22:47.03.639] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.640] [LOG] Module helper loaded: calendar [18.04.2022 22:47.03.642] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.642] [LOG] Module helper loaded: MMM-MplayerRadio [18.04.2022 22:47.03.710] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.711] [LOG] Module helper loaded: MMM-Tools [18.04.2022 22:47.03.712] [LOG] No helper found for module: MMM-page-indicator. [18.04.2022 22:47.03.713] [LOG] No helper found for module: MMM-pages. [18.04.2022 22:47.03.714] [LOG] No helper found for module: MMM-Timetable. [18.04.2022 22:47.03.826] [LOG] Initializing new module helper ... [18.04.2022 22:47.03.826] [LOG] Module helper loaded: MMM-Screencast [18.04.2022 22:47.03.827] [LOG] All module helpers loaded. [18.04.2022 22:47.03.933] [LOG] Starting server on port 8080 ... [18.04.2022 22:47.03.944] [LOG] Server started ... [18.04.2022 22:47.03.946] [LOG] Connecting socket for: updatenotification [18.04.2022 22:47.03.947] [LOG] Starting module helper: updatenotification [18.04.2022 22:47.03.948] [LOG] Connecting socket for: MMM-Weather [18.04.2022 22:47.03.950] [LOG] Connecting socket for: MMM-NewsFeed [18.04.2022 22:47.03.954] [LOG] [FEED] MMM-NewsFeed Version: 1.1.9 [18.04.2022 22:47.03.956] [LOG] Connecting socket for: MMM-network-signal [18.04.2022 22:47.03.957] [LOG] MMM-network-signal helper started ... [18.04.2022 22:47.03.958] [LOG] Connecting socket for: MMM-GoogleAssistant [18.04.2022 22:47.03.959] [LOG] [GA] Read config.js and check ConfigDeepMerge... [18.04.2022 22:47.03.960] [LOG] [GA] Perfect ConfigDeepMerge activated! [18.04.2022 22:47.03.961] [LOG] Connecting socket for: Gateway [18.04.2022 22:47.03.962] [LOG] Connecting socket for: EXT-Alert [18.04.2022 22:47.03.963] [LOG] Starting module helper: EXT-Alert [18.04.2022 22:47.03.964] [LOG] Connecting socket for: EXT-Background [18.04.2022 22:47.03.965] [LOG] Starting module helper: EXT-Background [18.04.2022 22:47.03.966] [LOG] Connecting socket for: EXT-Detector [18.04.2022 22:47.03.968] [LOG] [DETECTOR] EXT-Detector Version: 1.0.1 rev: 220315 [18.04.2022 22:47.03.969] [LOG] Connecting socket for: EXT-Browser [18.04.2022 22:47.03.970] [LOG] Starting module helper: EXT-Browser [18.04.2022 22:47.03.972] [LOG] Connecting socket for: EXT-FreeboxTV [18.04.2022 22:47.03.973] [LOG] Connecting socket for: EXT-GooglePhotos [18.04.2022 22:47.03.974] [LOG] Connecting socket for: EXT-Internet [18.04.2022 22:47.03.975] [LOG] Connecting socket for: EXT-MusicPlayer [18.04.2022 22:47.03.976] [LOG] Connecting socket for: EXT-Photos [18.04.2022 22:47.03.976] [LOG] Starting module helper: EXT-Photos [18.04.2022 22:47.03.977] [LOG] Connecting socket for: EXT-RadioPlayer [18.04.2022 22:47.03.978] [LOG] Connecting socket for: EXT-Screen [18.04.2022 22:47.03.979] [LOG] Connecting socket for: EXT-Governor [18.04.2022 22:47.03.980] [LOG] Connecting socket for: EXT-Volume [18.04.2022 22:47.03.981] [LOG] Connecting socket for: EXT-Welcome [18.04.2022 22:47.03.981] [LOG] Starting module helper: EXT-Welcome [18.04.2022 22:47.03.982] [LOG] Connecting socket for: EXT-YouTubeCast [18.04.2022 22:47.03.982] [LOG] Starting module helper: EXT-YouTubeCast [18.04.2022 22:47.03.984] [LOG] Connecting socket for: EXT-UpdateNotification [18.04.2022 22:47.03.985] [LOG] [UN] EXT-UpdateNotification Version: 1.0.1 rev: 220403 [18.04.2022 22:47.03.986] [LOG] [UN] MagicMirror is running on pid: 9475 [18.04.2022 22:47.03.987] [LOG] Connecting socket for: EXT-YouTubeVLC [18.04.2022 22:47.03.989] [LOG] [YT] EXT-YouTubeVLC Version: 1.0.2 rev: 220401 [18.04.2022 22:47.03.989] [LOG] Connecting socket for: EXT-Spotify [18.04.2022 22:47.03.990] [LOG] Connecting socket for: EXT-Librespot [18.04.2022 22:47.03.991] [LOG] Connecting socket for: calendar [18.04.2022 22:47.03.992] [LOG] Starting node helper for: calendar [18.04.2022 22:47.03.992] [LOG] Connecting socket for: MMM-MplayerRadio [18.04.2022 22:47.03.993] [LOG] Connecting socket for: MMM-Tools [18.04.2022 22:47.03.995] [LOG] [Tools] MMM-Tools Version: 2.1.2 [18.04.2022 22:47.03.996] [LOG] Connecting socket for: MMM-Screencast [18.04.2022 22:47.03.997] [LOG] Sockets connected & modules started ... [18.04.2022 22:47.04.345] [LOG] Launching application. [18.04.2022 22:47.09.750] [LOG] [DETECTOR] All needed @bugsounet library loaded ! [18.04.2022 22:47.09.754] [LOG] [DETECTOR] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [18.04.2022 22:47.09.759] [LOG] [DETECTOR] Snowboy is initialized with 1 Models: computer [18.04.2022 22:47.09.785] [LOG] [SCREEN] EXT-Screen Version: 1.1.1 rev: 220403 [18.04.2022 22:47.09.788] [LOG] [SCREEN] Mode 1: vcgencmd [18.04.2022 22:47.09.852] [LOG] [SCREEN] Initialized [18.04.2022 22:47.11.637] [LOG] Create new calendarfetcher for url: https://www.mozilla.org/media/caldata/DutchHolidays.ics - Interval: 300000 [18.04.2022 22:47.11.671] [LOG] MMM-MplayerRadio: Received notification CONFIG [18.04.2022 22:47.11.678] [LOG] [WEATHER] MMM-WEATHER Version: 1.0.4 [18.04.2022 22:47.11.683] [INFO] Checking git for module: MMM-Weather [18.04.2022 22:47.11.767] [LOG] [GA] MMM-GoogleAssistant Version: 4.0.4 rev: 220409 [18.04.2022 22:47.11.769] [LOG] [GA] Platform: 'raspberry-pi'; attempting to use 'arecord' to access microphone ... [18.04.2022 22:47.11.773] [LOG] [GA] RECIPE_LOADED: EXT-FreeboxTV.js [18.04.2022 22:47.11.775] [LOG] [GA] RECIPE_LOADED: Reboot-Restart-Shutdown.js [18.04.2022 22:47.11.777] [LOG] [GA] RECIPE_LOADED: EXT-YouTubeVLC.js [18.04.2022 22:47.11.779] [LOG] [GA] RECIPE_LOADED: with-MMM-Newsfeed.js [18.04.2022 22:47.11.781] [LOG] [GA] RECIPE_LOADED: EXT-Spotify.js [18.04.2022 22:47.11.784] [LOG] [GA] RECIPE_LOADED: EXT-MusicPlayer.js [18.04.2022 22:47.11.785] [LOG] [GA] RECIPE_LOADED: PhotoAlbum.js [18.04.2022 22:47.11.787] [LOG] [GA] RECIPE_LOADED: ScreenManager.js [18.04.2022 22:47.11.789] [LOG] [GA] RECIPE_LOADED: with-MMM-pages.js [18.04.2022 22:47.11.791] [LOG] [GA] RECIPE_LOADED: with-Aggelaras.js [18.04.2022 22:47.11.793] [LOG] [GA] RECIPE_LOADED: MMM-MplayerRadio.js [18.04.2022 22:47.11.794] [LOG] [GA] Google Assistant is initialized. [18.04.2022 22:47.11.795] [LOG] [GATEWAY] Gateway Version: 1.0.2 rev: 220326 [18.04.2022 22:47.11.797] [LOG] [ALERT] EXT-Alert Version: 1.0.0 rev: 220301 [18.04.2022 22:47.11.798] [LOG] [BACKGROUND] EXT-Background Version: 1.0.2 rev: 220410 [18.04.2022 22:47.11.799] [LOG] [LINKS] EXT-Browser Version: 1.0.0 rev: 220228 [18.04.2022 22:47.11.801] [LOG] [FreeboxTV] EXT-FreeboxTV Version: 1.0.0 [18.04.2022 22:47.11.802] [LOG] [FreeboxTV] Reading: streamsConfig.json [18.04.2022 22:47.11.803] [LOG] [FreeboxTV] Number of channels found: 32 [18.04.2022 22:47.11.803] [LOG] [FreeboxTV] FreeboxTV is initialized. [18.04.2022 22:47.11.805] [LOG] [GPHOTOS] EXT-GooglePhotos Version: 1.0.2 rev: 220401 [18.04.2022 22:47.11.811] [LOG] [INTERNET] EXT-Internet Version: 1.0.1 rev: 220323 [18.04.2022 22:47.11.812] [LOG] [INTERNET] Internet library initialized... [18.04.2022 22:47.11.814] [LOG] [MUSIC] EXT-MusicPlayer Version: 1.0.1 rev: 220403 [18.04.2022 22:47.12.078] [LOG] [PHOTOS] EXT-Photos Version: 1.0.0 rev: 220228 [18.04.2022 22:47.12.079] [LOG] [RADIO] EXT-RadioPlayer Version: 1.0.1 rev: 220327 [18.04.2022 22:47.12.145] [LOG] [GOVERNOR] EXT-Governor Version: 1.0.1 rev: 220323 [18.04.2022 22:47.12.146] [LOG] [GOVERNOR] Governor library initialized... [18.04.2022 22:47.12.188] [LOG] [VOLUME] EXT-Volume Version: 1.0.0 rev: 220227 [18.04.2022 22:47.12.190] [LOG] [WELCOME] EXT-Welcome Version: 1.0.0 rev: 220301 [18.04.2022 22:47.12.192] [LOG] [NOTI] EXT-YouTubeCast Version: 1.0.1 rev: 220403 [18.04.2022 22:47.12.206] [LOG] [SPOTIFY] EXT-Spotify Version: 1.0.1 rev: 220326 [18.04.2022 22:47.12.221] [LOG] [LIBRESPOT] EXT-Librespot Version: 1.0.0 rev: 220311 [18.04.2022 22:47.12.222] [LOG] [LIBRESPOT] Launch Librespot... [18.04.2022 22:47.12.259] [ERROR] Whoops! There was an uncaught exception... [18.04.2022 22:47.12.264] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8569 at Server.setupListenHandle [as _listen2] (node:net:1334:16) at listenInCluster (node:net:1382:12) at doListen (node:net:1520:7) at processTicksAndRejections (node:internal/process/task_queues:84:21) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '0.0.0.0', port: 8569 } [18.04.2022 22:47.12.268] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? [18.04.2022 22:47.12.269] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues [18.04.2022 22:47.12.289] [LOG] [YT] All needed library loaded ! [18.04.2022 22:47.12.291] [LOG] [YT] YouTube Search Function initilized. [18.04.2022 22:47.12.297] [LOG] [YT] EXT-YouTubeVLC is Ready. [18.04.2022 22:47.12.298] [LOG] [MUSIC] All needed @bugsounet library loaded ! [18.04.2022 22:47.12.343] [LOG] [RADIO] EXT-Radio is Ready. [18.04.2022 22:47.12.421] [INFO] Checking git for module: MMM-NewsFeed [18.04.2022 22:47.12.594] [INFO] Checking git for module: MMM-network-signal [18.04.2022 22:47.12.845] [INFO] Checking git for module: MMM-GoogleAssistant [18.04.2022 22:47.12.995] [INFO] Checking git for module: Gateway [18.04.2022 22:47.13.127] [LOG] [MUSIC] Audio files Found: 13 [18.04.2022 22:47.13.172] [LOG] [LIBRESPOT] Librespot started! [18.04.2022 22:47.13.262] [INFO] Checking git for module: EXT-Alert [18.04.2022 22:47.13.387] [INFO] Checking git for module: EXT-Background [18.04.2022 22:47.13.553] [INFO] Checking git for module: EXT-Detector [18.04.2022 22:47.13.721] [INFO] Checking git for module: EXT-Browser [18.04.2022 22:47.13.921] [INFO] Checking git for module: EXT-FreeboxTV [18.04.2022 22:47.14.211] [INFO] Checking git for module: EXT-GooglePhotos [18.04.2022 22:47.14.332] [INFO] Checking git for module: EXT-Internet [18.04.2022 22:47.14.460] [INFO] Checking git for module: EXT-MusicPlayer [18.04.2022 22:47.14.712] [INFO] Checking git for module: EXT-Photos [18.04.2022 22:47.14.839] [INFO] Checking git for module: EXT-RadioPlayer [18.04.2022 22:47.15.176] [INFO] Checking git for module: EXT-Screen [18.04.2022 22:47.17.740] [INFO] Calendar-Fetcher: Broadcasting 31 events. [18.04.2022 22:47.17.949] [LOG] [DETECTOR] Starts listening. 1 Models [18.04.2022 22:47.20.625] [INFO] Checking git for module: EXT-Governor [18.04.2022 22:47.21.297] [INFO] Checking git for module: EXT-Volume [18.04.2022 22:47.22.629] [INFO] Checking git for module: EXT-Welcome [18.04.2022 22:47.22.834] [INFO] Checking git for module: EXT-YouTubeCast [18.04.2022 22:47.23.467] [INFO] Checking git for module: EXT-UpdateNotification [18.04.2022 22:47.23.957] [INFO] Checking git for module: EXT-YouTubeVLC [18.04.2022 22:47.24.093] [INFO] Checking git for module: EXT-Spotify [18.04.2022 22:47.24.631] [INFO] Checking git for module: EXT-Librespot [18.04.2022 22:47.25.320] [INFO] Checking git for module: MMM-MplayerRadio [18.04.2022 22:47.25.422] [INFO] Checking git for module: MMM-Tools [18.04.2022 22:47.25.591] [INFO] Checking git for module: MMM-page-indicator [18.04.2022 22:47.25.796] [INFO] Checking git for module: MMM-pages [18.04.2022 22:47.25.879] [INFO] Checking git for module: MMM-Timetable [18.04.2022 22:47.25.987] [INFO] Checking git for module: MMM-Screencast [18.04.2022 22:47.26.113] [INFO] Checking git for module: default [18.04.2022 22:47.26.778] [LOG] [FEED] MMM-NewsFeed est now initialized! [18.04.2022 22:48.01.928] [LOG] Shutting down server... [18.04.2022 22:48.01.930] [LOG] Stopping module helper: updatenotification [18.04.2022 22:48.01.930] [LOG] Stopping module helper: MMM-Weather [18.04.2022 22:48.01.931] [LOG] Stopping module helper: MMM-NewsFeed [18.04.2022 22:48.01.931] [LOG] Stopping module helper: MMM-network-signal [18.04.2022 22:48.01.932] [LOG] Stopping module helper: MMM-GoogleAssistant [18.04.2022 22:48.01.932] [LOG] Stopping module helper: Gateway [18.04.2022 22:48.01.933] [LOG] Stopping module helper: EXT-Alert [18.04.2022 22:48.01.933] [LOG] Stopping module helper: EXT-Background [18.04.2022 22:48.01.934] [LOG] Stopping module helper: EXT-Detector [18.04.2022 22:48.01.934] [LOG] Stopping module helper: EXT-Browser [18.04.2022 22:48.01.935] [LOG] Stopping module helper: EXT-GooglePhotos [18.04.2022 22:48.01.935] [LOG] Stopping module helper: EXT-Internet [18.04.2022 22:48.01.936] [LOG] Stopping module helper: EXT-MusicPlayer [18.04.2022 22:48.01.936] [LOG] Stopping module helper: EXT-Photos [18.04.2022 22:48.01.937] [LOG] Stopping module helper: EXT-RadioPlayer [18.04.2022 22:48.01.937] [LOG] Stopping module helper: EXT-Screen [18.04.2022 22:48.01.937] [LOG] Stopping module helper: EXT-Governor [18.04.2022 22:48.01.938] [LOG] Stopping module helper: EXT-Volume [18.04.2022 22:48.01.938] [LOG] Stopping module helper: EXT-Welcome [18.04.2022 22:48.01.939] [LOG] Stopping module helper: EXT-YouTubeCast [18.04.2022 22:48.01.939] [LOG] Stopping module helper: EXT-UpdateNotification [18.04.2022 22:48.01.940] [LOG] Stopping module helper: EXT-YouTubeVLC [18.04.2022 22:48.01.940] [LOG] Stopping module helper: EXT-Spotify [18.04.2022 22:48.01.941] [LOG] [LIBRESPOT] Try to close Librespot! [18.04.2022 22:48.01.943] [LOG] Stopping module helper: calendar [18.04.2022 22:48.01.945] [LOG] Stopping module helper: MMM-Tools [18.04.2022 22:48.01.946] [LOG] Stopping module helper: MMM-Screencast [18.04.2022 22:48.02.016] [LOG] [SCREEN] ByeBye ! [18.04.2022 22:48.02.017] [LOG] [SCREEN] @bugsounet [9513:0418/224802.173581:ERROR:node_controller.cc(585)] Trying to re-add dropped peer A5C33DB091A5251C.6C331DAD40B92DC4 pi@raspberrypi:~/MagicMirror $
i can see error mesaages but i do not know what i could do.
-
Also another question that i have and since i don’t yet use pm2 in EXT-Internet // config //
command Command which will be executed after the internet connection is detected as lost STRING pm2 restart 0
what kind of command i should write to restart my mirror , for sure one part would be npm run start to actually stat the mirror but how do i close , which command
does actually closes the current MM ? and how should i write it inside the config since its going to be 2 commands , with && or inside the config by “”, “”, -
- I solved it by manually copying the credentials.json into EXT-Spotify directory , EXT-Youtube and EXT-Googlephotos
Why? Plug-ins will use credentials from GA directory
Ahh… I don’t know that spotify compagnies use Google credentials! Are you really sure?- i can see error mesaages but i do not know what i could do
Don’t use multiple module with the fonctionnality.Generaly, it use same incoming port
- does actually closes the current MM ?
Only with pm2 app, you can’t stop it without it (need more part of code)
Are you sure that this category will help to solve issues?
Sorry, but This category is not priority for me -
-
-
-
@bugsounet said in Upgrading GA from v3 to v4 with a Raspberry pi 4b:
i can see error mesaages but i do not know what i could do
Don’t use multiple module with the fonctionnality.Generaly, it use same incoming port
Your main issue is this:
[18.04.2022 22:47.12.264] [ERROR] Error: listen EADDRINUSE: address already in use 0.0.0.0:8569 at Server.setupListenHandle [as _listen2] (node:net:1334:16) at listenInCluster (node:net:1382:12) at doListen (node:net:1520:7) at processTicksAndRejections (node:internal/process/task_queues:84:21) { code: 'EADDRINUSE', errno: -98, syscall: 'listen', address: '0.0.0.0', port: 8569 }
So correct it :=)
Hey You know What modules you have installed !
So, I think you have read the Readme File of Each 3rd party module installed
I will not do it at your place !If you don’t find …
-> disable ALL 3rd party modules (un-maintened generaly a 95%)
-> enable only default modules, MMM-GoogleAssistant, Gateway, and EXT-XXX
-> and see what happenIf it works …
-> enable One other 3rd party module
-> see what happen
-> enable agin another one other 3rd party module
-> see what happen
-> …It take me logicial … not you ?
I will not install 320000 modules without testing it one by one ! -
i fixe it
thank you for your help -
Detector too ?
-
@bugsounet yes , BTW it was installed correctly , but google assistant can not work with one of my modules, so i delete that module, and now it works good .
-
You understand now why your 2 issues are the same…
MMM-ScreenCast and EXT-YouTubeCast conflit same port … same +/- fonctionality
MMM-ScreenCast crash in main core (because badly coded) so can’t initialise any modules after this crash -
@bugsounet yes exactly