Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


JSon.Parse error starting moode
#1
Hello,

now i have tested multiple variants of installing the actual 8.3.6(64bit) moode audio on my raspberry pi 4 (4GB). I used the raspberr pi imager and
the pre- configuration of a moode user.

After writing the image and starting the first time, moodeaudio wants to have an

 "acces point" password also. Setting this password and configured my wlan i restarted the pi.

I tooks a long time...i connect over the lan port...firefox browser tells me:

MPD error...JSON.parse unexpected end of date at line 1 column 1 of the JSON data

endless loop with this information...after about 3 minutes, Moodeaudio starts

Whats going wrong?

Thank you.
Reply
#2
Reboot and post the contents of the startup log. The log can be downloaded from the Logs section of System Config or via the command moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(11-17-2023, 12:10 PM)Tim Curtis Wrote: Reboot and post the contents of the startup log. The log can be downloaded from the Logs section of System Config or via the command moodeutl -l

Hello Tim,
thank you for the support!
Here is the startup log, .txt. and log not allowed as an attachment.

Code:
20231117 115158 worker: --
20231117 115158 worker: -- Start moOde 8 series
20231117 115158 worker: --
20231117 115158 worker: Successfully daemonized
20231117 115158 worker: Waiting for Linux startup...
20231117 182953 worker: Linux startup complete
20231117 182953 worker: Boot config backed up
20231117 182954 worker: File check (OK)
20231117 182955 worker: Session vacuumed
20231117 182955 worker: Session loaded
20231117 182955 worker: Debug logging (OFF)
20231117 182955 worker: Reduced system logging (OFF)
20231117 182955 worker: --
20231117 182955 worker: -- Audio debug
20231117 182955 worker: --
20231117 182955 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20231117 182955 worker: MPD config: (0:Pi HDMI 1 | mixer:(PCM) | card:0)
20231117 182955 worker: ALSA mixer actual (PCM)
20231117 182956 worker: ALSA PCM volume set to (0%)
20231117 182956 worker: --
20231117 182956 worker: -- System
20231117 182956 worker: --
20231117 182957 worker: Host      (moodeBad)
20231117 182957 worker: Hardware  (Pi-4B 1.5 4GB)
20231117 182957 worker: moOde     (8.3.6 2023-09-05)
20231117 182957 worker: RaspiOS   (11.6)
20231117 182957 worker: Kernel    (6.1.21-v8+ #1642)
20231117 182957 worker: Procarch  (aarch64, 64-bit)
20231117 182957 worker: MPD ver   (0.23.12)
20231117 182957 worker: CPU gov   (ondemand)
20231117 182957 worker: Userid    (moode)
20231117 182957 worker: Homedir   (/home/moode)
20231117 182957 worker: Timezone  (Europe/Amsterdam)
20231117 182957 worker: Keyboard  (de)
20231117 182957 worker: USB boot  (enabled)
20231117 182957 worker: File sys  (expanded)
20231117 182957 worker: HDMI port (On)
20231117 182957 worker: Sys LED0  (On)
20231117 182957 worker: Sys LED1  (On)
20231117 182957 worker: --
20231117 182957 worker: -- Network
20231117 182957 worker: --
20231117 182957 worker: eth0 adapter exists
20231117 182957 worker: eth0 address check (Off)
20231117 182957 worker: IP addr (192.168.178.75)
20231117 182957 worker: Netmask (255.255.255.0)
20231117 182957 worker: Gateway (192.168.178.1)
20231117 182957 worker: Pri DNS (192.168.178.1)
20231117 182957 worker: Domain  (fritz.box)
20231117 182957 worker: wlan0 adapter exists
20231117 182957 worker: wlan0 country (DE)
20231117 182957 worker: wlan0 configured SSID (FritzMaster)
20231117 182957 worker: wlan0 SSID alternates (None)
20231117 182957 worker: wlan0 router mode (Off)
20231117 182957 worker: wlan0 address check (up to 90 secs)
20231117 183130 worker: wlan0 address not assigned
20231117 183130 worker: wlan0 AP mode not activated, eth0 active but Router mode is Off
20231117 183130 worker: wlan0 address not assigned
20231117 183130 worker: --
20231117 183130 worker: -- Software update
20231117 183130 worker: --
20231117 183130 worker: Automatic check (Off)
20231117 183130 worker: --
20231117 183130 worker: -- File sharing
20231117 183130 worker: --
20231117 183130 worker: SMB file sharing (Off)
20231117 183130 worker: NFS file sharing (Off)
20231117 183130 worker: --
20231117 183130 worker: -- Audio config
20231117 183130 worker: --
20231117 183130 worker: MPD conf updated
20231117 183130 worker: ALSA card number (0)
20231117 183130 worker: MPD audio output (Pi HDMI 1)
20231117 183131 worker: Audio formats (U8, S16_LE)
20231117 183131 worker: ALSA mixer name (PCM)
20231117 183131 worker: MPD mixer type (hardware)
20231117 183131 worker: Hdwr volume controller exists
20231117 183131 worker: Max ALSA volume (100%)
20231117 183131 worker: ALSA output mode (Default)
20231117 183131 worker: ALSA loopback (Off)
20231117 183131 worker: Renderer active flags (reset)
20231117 183131 worker: CamillaDSP configuration (off)
20231117 183131 worker: --
20231117 183131 worker: -- MPD startup
20231117 183131 worker: --
20231117 183131 worker: MPD started
20231117 183131 worker: MPD accepting connections
20231117 183131 worker: MPD output 1 ALSA Default (On)
20231117 183131 worker: MPD output 2 ALSA Bluetooth (Off)
20231117 183131 worker: MPD output 3 HTTP Server (Off)
20231117 183131 worker: MPD crossfade (off)
20231117 183131 worker: MPD ignore CUE files (yes)
20231117 183131 worker: MPD camilladsp volume sync (Off)
20231117 183131 worker: MPD camilladsp volume range (60 dB)
20231117 183131 worker: --
20231117 183131 worker: -- Music sources
20231117 183131 worker: --
20231117 183131 worker: USB sources
20231117 183131 worker: No drives found
20231117 183131 worker: NAS sources
20231117 183131 worker: None configured
20231117 183131 worker: --
20231117 183131 worker: -- Feature availability
20231117 183131 worker: --
20231117 183131 worker: Input select (available)
20231117 183131 worker: Input (MPD)
20231117 183131 worker: Output (Pi HDMI 1)
20231117 183131 worker: Bluetooth (available)
20231117 183131 worker: AirPlay renderer (available)
20231117 183131 worker: Spotify renderer (available)
20231117 183131 worker: Squeezelite (available)
20231117 183131 worker: RoonBridge renderer (not installed)
20231117 183131 worker: Multiroom sender (available)
20231117 183131 worker: Multiroom receiver (available)
20231117 183131 worker: UPnP renderer (available)
20231117 183131 worker: DLNA server (available)
20231117 183131 worker: GPIO button handler (available)
20231117 183131 worker: Stream recorder (n/a)
20231117 183131 worker: HTTPS-Only mode (n/a)
20231117 183131 worker: --
20231117 183131 worker: -- Other
20231117 183131 worker: --
20231117 183131 worker: USB volume knob (Off)
20231117 183132 worker: Shellinabox SSH started
20231117 183132 worker: USB auto-mounter (udisks-glue)
20231117 183132 worker: Saved MPD vol level (0)
20231117 183132 worker: Preamp volume level (0)
20231117 183132 worker: MPD volume level (0) restored
20231117 183132 worker: ALSA PCM volume (0%)
20231117 183132 worker: Auto-play (Off)
20231117 183132 worker: LocalUI (On)
20231117 183132 worker: Automatic CoverView (Off)
20231117 183132 worker: On-screen keyboard (Off)
20231117 183132 worker: Library scope (all)
20231117 183132 worker: Library active search (None)
20231117 183132 worker: View reset to (Playback)
20231117 183132 worker: Maintenance interval (360 minutes)
20231117 183132 worker: Screen saver activation (Never)
20231117 183132 worker: Session permissions (OK)
20231117 183132 worker: --
20231117 183132 worker: -- Startup complete
20231117 183132 worker: --
20231117 183132 worker: Mount monitor (off)
20231117 183132 worker: Watchdog monitor (started)
20231117 183132 worker: Responsiveness (Default)
20231117 183132 worker: Ready
Reply
#4
Couple odd things in the log.

1. Excessively long time for Linux startup to complete. Typically this is around 5-10 secs.

20231117 115158 worker: Waiting for Linux startup...
20231117 182953 worker: Linux startup complete

2. The entries below show no IP address was assigned to the WiFi adapter after the 90 sec timeout expired even though an SSID is set.

20231117 182957 worker: wlan0 configured SSID (FritzMaster)
20231117 182957 worker: wlan0 SSID alternates (None)
20231117 182957 worker: wlan0 router mode (Off)
20231117 182957 worker: wlan0 address check (up to 90 secs)
20231117 183130 worker: wlan0 address not assigned
20231117 183130 worker: wlan0 AP mode not activated, eth0 active but Router mode is Off
20231117 183130 worker: wlan0 address not assigned
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(11-17-2023, 06:17 PM)After configuring the wlan 3x ...now it works well... older versions doesn´t have this problem with wlan. Please close this thread. Wrote: Couple odd things in the log.

1. Excessively long time for Linux startup to complete. Typically this is around 5-10 secs.

20231117 115158 worker: Waiting for Linux startup...
20231117 182953 worker: Linux startup complete

2. The entries below show no IP address was assigned to the WiFi adapter after the 90 sec timeout expired even though an SSID is set.

20231117 182957 worker: wlan0 configured SSID (FritzMaster)
20231117 182957 worker: wlan0 SSID alternates (None)
20231117 182957 worker: wlan0 router mode (Off)
20231117 182957 worker: wlan0 address check (up to 90 secs)
20231117 183130 worker: wlan0 address not assigned
20231117 183130 worker: wlan0 AP mode not activated, eth0 active but Router mode is Off
20231117 183130 worker: wlan0 address not assigned
Reply


Forum Jump: