Closed ChrisBoss97 closed 7 months ago
Hi, what platform are you using? (linux (rpi, other), windows, etc). It seems that there are some people with the same problem and I cant reproduce it in my machine. Can you show me the logs? (CTRL + SHIFT + I
to open the developer tools)
So I use a Raspberry pi zero 2w with OS lite installed.
thats a copy of my syslog, hope thats enough. Ctrl+shift+i is not working cause not the full os installed :/
Apr 2 20:06:06 raspberrypi systemd[1]: Stopping Session 1 of user chris.
Apr 2 20:06:06 raspberrypi systemd[1]: Stopping Session 3 of user chris.
Apr 2 20:06:06 raspberrypi systemd[1]: Stopping Session 6 of user chris.
Apr 2 20:06:06 raspberrypi systemd[1]: Removed slice system-modprobe.slice.
Apr 2 20:06:06 raspberrypi systemd[1]: Stopped target Bluetooth.
Apr 2 20:06:06 raspberrypi systemd[1]: Stopped target Multi-User System.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped target Login Prompts.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped target Sound Card.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped target Timers.
Apr 2 20:06:07 raspberrypi systemd[1]: apt-daily-upgrade.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Daily apt upgrade and clean activities.
Apr 2 20:06:07 raspberrypi systemd[1]: apt-daily.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Daily apt download activities.
Apr 2 20:06:07 raspberrypi systemd[1]: e2scrub_all.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Periodic ext4 Online Metadata Check for All Filesystems.
Apr 2 20:06:07 raspberrypi systemd[1]: fstrim.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Discard unused blocks once a week.
Apr 2 20:06:07 raspberrypi systemd[1]: logrotate.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Daily rotation of log files.
Apr 2 20:06:07 raspberrypi systemd[1]: man-db.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Daily man-db regeneration.
Apr 2 20:06:07 raspberrypi systemd[1]: systemd-tmpfiles-clean.timer: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped target System Time Synchronized.
Apr 2 20:06:07 raspberrypi systemd[1]: Stopped target System Time Set.
Apr 2 20:06:07 raspberrypi systemd[1]: systemd-rfkill.socket: Succeeded.
Apr 2 20:06:07 raspberrypi systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Apr 2 20:06:07 raspberrypi systemd[1]: Unmounting RPC Pipe File System...
Apr 2 20:06:07 raspberrypi systemd[1]: Stopping Modem Manager...
Apr 2 20:06:07 raspberrypi ModemManager[333]: local' version
0.105'
Apr 2 20:06:32 raspberrypi avahi-daemon[234]: Server startup complete. Host name is raspberrypi.local. Local service cookie is 1624273611.
Apr 2 20:06:32 raspberrypi rpi-eeprom-update[278]: This tool only works with a Raspberry Pi 4
Apr 2 20:06:32 raspberrypi systemd[1]: Starting User Login Management...
Apr 2 20:06:32 raspberrypi rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.2102.0]
Apr 2 20:06:32 raspberrypi rsyslogd: [origin software="rsyslogd" swVersion="8.2102.0" x-pid="287" x-info="https://www.rsyslog.com"] start
Apr 2 20:06:32 raspberrypi systemd[1]: Starting triggerhappy global hotkey daemon...
Apr 2 20:06:32 raspberrypi dphys-swapfile[238]: want /var/swap=100MByte, checking existing: keeping it
Apr 2 20:06:32 raspberrypi systemd[1]: Starting WPA supplicant...
Apr 2 20:06:32 raspberrypi thd[305]: Found socket passed from systemd
Apr 2 20:06:32 raspberrypi kernel: [ 29.610403] uart-pl011 20201000.serial: no DMA platform data
Apr 2 20:06:33 raspberrypi systemd[1]: Started System Logging Service.
Apr 2 20:06:33 raspberrypi systemd[1]: Started triggerhappy global hotkey daemon.
Apr 2 20:06:33 raspberrypi systemd[1]: e2scrub_reap.service: Succeeded.
Apr 2 20:06:33 raspberrypi systemd[1]: Finished Remove Stale Online ext4 Metadata Check Snapshots.
Apr 2 20:06:33 raspberrypi wpa_supplicant[309]: Successfully initialized wpa_supplicant
Apr 2 20:06:33 raspberrypi systemd[1]: Finished Check for Raspberry Pi EEPROM updates.
Apr 2 20:06:33 raspberrypi kernel: [ 30.187207] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
Apr 2 20:06:33 raspberrypi systemd[1]: Finished dphys-swapfile - set up, mount/unmount, and delete a swap file.
Apr 2 20:06:34 raspberrypi systemd[1]: Started WPA supplicant.
Apr 2 20:06:34 raspberrypi raspi-config[261]: Checking if shift key is held down:
Apr 2 20:06:34 raspberrypi raspi-config[321]: Error opening '/dev/input/event': No such file or directory
Apr 2 20:06:34 raspberrypi systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 2 20:06:34 raspberrypi raspi-config[261]: No. Switching to ondemand scaling governor.
Apr 2 20:06:34 raspberrypi systemd[1]: Started LSB: Switch to ondemand cpu governor (unless shift key is pressed).
Apr 2 20:06:34 raspberrypi systemd[1]: Started LSB: rng-tools (Debian variant).
Apr 2 20:06:34 raspberrypi rngd[327]: rngd 2.2 starting up...
Apr 2 20:06:34 raspberrypi rngd[327]: entropy feed to the kernel ready
Apr 2 20:06:34 raspberrypi systemd[1]: Started Authorization Manager.
Apr 2 20:06:34 raspberrypi systemd[1]: Reached target Network.
Apr 2 20:06:34 raspberrypi systemd[1]: Starting Modem Manager...
Apr 2 20:06:34 raspberrypi systemd[1]: Starting /etc/rc.local Compatibility...
Apr 2 20:06:34 raspberrypi systemd[1]: Condition check resulted in fast remote file copy program daemon being skipped.
Apr 2 20:06:34 raspberrypi systemd[1]: Starting OpenBSD Secure Shell server...
Apr 2 20:06:35 raspberrypi systemd[1]: Starting Permit User Sessions...
Apr 2 20:06:35 raspberrypi systemd[1]: Started /etc/rc.local Compatibility.
Apr 2 20:06:35 raspberrypi systemd[1]: Started User Login Management.
Apr 2 20:06:35 raspberrypi kernel: [ 32.123143] 8021q: 802.1Q VLAN Support v1.8
Apr 2 20:06:35 raspberrypi systemd[1]: Finished Permit User Sessions.
Apr 2 20:06:35 raspberrypi systemd[1]: Started Getty on tty1.
Apr 2 20:06:35 raspberrypi systemd[1]: Reached target Login Prompts.
Apr 2 20:06:36 raspberrypi ModemManager[331]: ' Apr 2 20:06:44 raspberrypi dhcpcd[254]: wlan0: waiting for carrier Apr 2 20:06:45 raspberrypi bthelper[478]: Changing power off succeeded Apr 2 20:06:45 raspberrypi systemd[441]: Queued start job for default target Main User Target. Apr 2 20:06:45 raspberrypi kernel: [ 42.659191] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Apr 2 20:06:46 raspberrypi dhcpcd[254]: wlan0: carrier acquired Apr 2 20:06:46 raspberrypi systemd[441]: Created slice User Application Slice. Apr 2 20:06:46 raspberrypi bthelper[401]: Changing power on succeeded Apr 2 20:06:46 raspberrypi dhcpcd[254]: wlan0: connected to Access Point
Hogwarts'
Apr 2 20:06:46 raspberrypi systemd[441]: Reached target Paths.
Apr 2 20:06:46 raspberrypi dhcpcd[254]: DUID 00:01:00:01:2d:82:69:a8:b8:27:eb:47:33:e8
Apr 2 20:06:46 raspberrypi systemd[441]: Reached target Timers.
Apr 2 20:06:46 raspberrypi dhcpcd[254]: wlan0: IAID eb:47:33:e8
Apr 2 20:06:46 raspberrypi systemd[441]: Starting D-Bus User Message Bus Socket.
Apr 2 20:06:46 raspberrypi dhcpcd[254]: wlan0: adding address fe80::d9b:de32:f4f9:6c63
Apr 2 20:06:46 raspberrypi systemd[441]: Listening on GnuPG network certificate management daemon.
Apr 2 20:06:46 raspberrypi avahi-daemon[234]: Joining mDNS multicast group on interface wlan0.IPv6 with address fe80::d9b:de32:f4f9:6c63.
Apr 2 20:06:46 raspberrypi systemd[441]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Apr 2 20:06:46 raspberrypi avahi-daemon[234]: New relevant interface wlan0.IPv6 for mDNS.
Apr 2 20:06:46 raspberrypi systemd[441]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Apr 2 20:06:46 raspberrypi avahi-daemon[234]: Registering new address record for fe80::d9b:de32:f4f9:6c63 on wlan0..
Apr 2 20:06:46 raspberrypi systemd[441]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Apr 2 20:06:46 raspberrypi ModemManager[331]:
So the lite 2w is your server right? I need the logs on the frontend, the device that show MM2, as it seems that its not a problem with the api/requests, but a problem with the module itself showing the data
Yeah the 2w is the server which contains MagicMirror and your module... how can I get the logs you need? :/ cause pm2 is also not running cause the lite version is installed
Were are you displaying MM2? You need to open the devtools on the browser that shows the MM2 page
Currently just on Chrome on my PC.
sooo next try, are you searching for this? :D sorry these are my first tries ever to so something with raspberry
main.js:583 Initializing MagicMirror².
translator.js:116 Loading core translation file: translations/de.json
translator.js:132 Loading core translation fallback file: translations/en.json
loader.js:159 Load script: modules/default/alert/alert.js
module.js:480 Module registered: alert
loader.js:132 Bootstrapping module: alert
loader.js:159 Load script: modules/default/alert/notificationFx.js
loader.js:136 Scripts loaded for: alert
loader.js:174 Load stylesheet: vendor/css/font-awesome.css
loader.js:174 Load stylesheet: modules/default/alert/./styles/notificationFx.css
loader.js:174 Load stylesheet: modules/default/alert/./styles/center.css
loader.js:139 Styles loaded for: alert
translator.js:99 alert - Load translation: translations/de.json
translator.js:99 alert - Load translation fallback: translations/bg.json
loader.js:142 Translations loaded for: alert
loader.js:159 Load script: modules/default/updatenotification/updatenotification.js
module.js:480 Module registered: updatenotification
loader.js:132 Bootstrapping module: updatenotification
loader.js:136 Scripts loaded for: updatenotification
loader.js:174 Load stylesheet: modules/default/updatenotification/updatenotification.css
loader.js:139 Styles loaded for: updatenotification
loader.js:142 Translations loaded for: updatenotification
loader.js:159 Load script: modules/MMM-OnSpotify/MMM-OnSpotify.js
module.js:480 Module registered: MMM-OnSpotify
loader.js:132 Bootstrapping module: MMM-OnSpotify
loader.js:159 Load script: modules/MMM-OnSpotify/node_modules/moment-duration-format/lib/moment-duration-format.js
loader.js:159 Load script: modules/MMM-OnSpotify/utils/SpotifyDomBuilder.js
loader.js:159 Load script: modules/MMM-OnSpotify/vendor/vibrant.worker.min.js
loader.js:159 Load script: modules/MMM-OnSpotify/node_modules/dompurify/dist/purify.min.js
loader.js:159 Load script: modules/MMM-OnSpotify/node_modules/moment/min/moment.min.js
loader.js:136 Scripts loaded for: MMM-OnSpotify
loader.js:174 Load stylesheet: modules/MMM-OnSpotify/css/included.css
loader.js:174 Load stylesheet: modules/MMM-OnSpotify/css/custom.css
loader.js:139 Styles loaded for: MMM-OnSpotify
translator.js:99 MMM-OnSpotify - Load translation: translations/de.json
translator.js:99 MMM-OnSpotify - Load translation fallback: translations/en.json
loader.js:142 Translations loaded for: MMM-OnSpotify
loader.js:159 Load script: modules/default/clock/clock.js
module.js:480 Module registered: clock
loader.js:132 Bootstrapping module: clock
loader.js:159 Load script: vendor/node_modules/moment/min/moment-with-locales.js
loader.js:159 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
loader.js:159 Load script: vendor/node_modules/suncalc/suncalc.js
loader.js:136 Scripts loaded for: clock
loader.js:174 Load stylesheet: modules/default/clock/clock_styles.css
loader.js:139 Styles loaded for: clock
loader.js:142 Translations loaded for: clock
loader.js:159 Load script: modules/default/calendar/calendar.js
module.js:472 Check MagicMirror² version for module 'calendar' - Minimum version: 2.1.0 - Current version: 2.27.0
module.js:474 Version is ok!
module.js:480 Module registered: calendar
loader.js:132 Bootstrapping module: calendar
loader.js:159 Load script: modules/default/calendar/calendarutils.js
loader.js:231 File already loaded: moment.js
loader.js:136 Scripts loaded for: calendar
loader.js:174 Load stylesheet: modules/default/calendar/calendar.css
loader.js:231 File already loaded: font-awesome.css
loader.js:139 Styles loaded for: calendar
loader.js:142 Translations loaded for: calendar
loader.js:159 Load script: modules/default/compliments/compliments.js
module.js:480 Module registered: compliments
loader.js:132 Bootstrapping module: compliments
loader.js:231 File already loaded: moment.js
loader.js:136 Scripts loaded for: compliments
loader.js:139 Styles loaded for: compliments
loader.js:142 Translations loaded for: compliments
loader.js:159 Load script: modules/default/weather/weather.js
module.js:480 Module registered: weather
loader.js:132 Bootstrapping module: weather
loader.js:231 File already loaded: moment.js
loader.js:159 Load script: modules/default/weather/weatherutils.js
loader.js:159 Load script: modules/default/weather/weatherobject.js
loader.js:159 Load script: modules/default/weather/providers/overrideWrapper.js
loader.js:159 Load script: modules/default/weather/weatherprovider.js
loader.js:231 File already loaded: suncalc.js
loader.js:159 Load script: modules/default/weather/providers/openweathermap.js
loader.js:136 Scripts loaded for: weather
loader.js:231 File already loaded: font-awesome.css
loader.js:174 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
loader.js:174 Load stylesheet: modules/default/weather/weather.css
loader.js:139 Styles loaded for: weather
loader.js:142 Translations loaded for: weather
loader.js:132 Bootstrapping module: weather
loader.js:231 File already loaded: moment.js
loader.js:231 File already loaded: weatherutils.js
loader.js:231 File already loaded: weatherobject.js
loader.js:231 File already loaded: modules/default/weather/providers/overrideWrapper.js
loader.js:231 File already loaded: weatherprovider.js
loader.js:231 File already loaded: suncalc.js
loader.js:231 File already loaded: modules/default/weather/providers/openweathermap.js
loader.js:136 Scripts loaded for: weather
loader.js:231 File already loaded: font-awesome.css
loader.js:231 File already loaded: weather-icons.css
loader.js:231 File already loaded: weather.css
loader.js:139 Styles loaded for: weather
loader.js:142 Translations loaded for: weather
loader.js:159 Load script: modules/default/newsfeed/newsfeed.js
module.js:480 Module registered: newsfeed
loader.js:132 Bootstrapping module: newsfeed
loader.js:231 File already loaded: moment.js
loader.js:136 Scripts loaded for: newsfeed
loader.js:174 Load stylesheet: modules/default/newsfeed/newsfeed.css
loader.js:139 Styles loaded for: newsfeed
loader.js:142 Translations loaded for: newsfeed
loader.js:174 Load stylesheet: css/custom.css
raspberrypi/:1 Refused to apply style from 'http://raspberrypi:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:184 Error on loading stylesheet: css/custom.css
stylesheet.onerror @ loader.js:184
error (async)
(anonym) @ loader.js:183
loadFile @ loader.js:173
loadNextModule @ loader.js:214
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadNextModule @ loader.js:209
await in loadNextModule (async)
loadModules @ loader.js:219
init @ main.js:589
await in init (async)
(anonym) @ main.js:732
alert.js:42 Starting module: alert
updatenotification.js:18 Starting module: updatenotification
MMM-OnSpotify.js:628 ⠖ by Fabrizz MMM-OnSpotify
clock.js:43 Starting module: clock
calendar.js:92 Starting module: calendar
compliments.js:37 Starting module: compliments
weatherprovider.js:28 Weather provider: OpenWeatherMap initialized.
weatherprovider.js:39 Weather provider: OpenWeatherMap started.
weatherprovider.js:28 Weather provider: OpenWeatherMap initialized.
weatherprovider.js:39 Weather provider: OpenWeatherMap started.
newsfeed.js:67 Starting module: newsfeed
main.js:602 All modules started!
MMM-OnSpotify.js:467 · MMM-OnSpotify [WARN]
I dont see anything wrong, its strange, its the 3rd time someone posts this issue here ante on the original MMM-NPOS there are two new ones. I have an update on hold that removes some dependencies and changes somethings, but I cant figure out why it does not work. When I have some time Im going to install mm2 on a rpi4 and do the auth process from start to end.
Can you view mm2 logs? If it starts using PM2, you can do pm2 logs
I think
Soo sorry for the late update. I deleted everything and setup the Raspberry again. But this time with a OS Desktop interface. And guess what, it works :D ... unfortunately i was not able to install pm2 before without desktop interface.
Now i can only report one thing: This issues popped up during installation process:
chris@raspberrypi:~/MagicMirror/modules $ cd MMM-OnSpotify
chris@raspberrypi:~/MagicMirror/modules/MMM-OnSpotify $ npm install
(node:2108) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 close listeners added to [TLSSocket]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ...
to show where the warning was created)
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
added 117 packages, and audited 118 packages in 6m
13 packages are looking for funding
run npm fund
for details
2 moderate severity vulnerabilities
Some issues need review, and may require choosing a different dependency.
Run npm audit
for details.
Okay, thats nice to know. The 4.0.0 update that its still wip will remove some dependencies. If you encounter more issues please post the here!
Hey guys,
I set up as described, but unfortunately i cant see the song which is currently playing.
No error and the auth process also worked.
BR Chris