Moode Forum
[SOLVED] Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [SOLVED] Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" (/showthread.php?tid=6718)



Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - feh123 - 07-15-2024

Hi

I have a Raspberry Pi +3B with a Hifiberry Digi+ Pro HAT. I updated to 9.0.4 (Bookworm 64Bit) several weeks ago using the Raspberry Pi Imager.

It all worked well and it is still working fine. However it did give the error alert: Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - this alert kept repeating. This did not effect the installation as far as I could see. I loaded my library and my radios and they all worked.

Now I do see an issue with my Moode - not sure it's definitely related to the alert. I have been running Moode for several weeks with all the default settings. But I was looking at the defaults  and I noticed wifi was enabled so, as I have a wired connection, I disabled the wifi.

There were no error messages but after the restart I had lost all the sound on playback. Both of radios and my library. I did check moodeutl -l and that showed no issues. I have repeated this on a fresh install and I get the same result. Is wifi on essential? Maybe I am missing something obvious or doing something completely wrong but I thought I would report it.  

Incidentally HiFiBerry's lastest digital feed HAT is the Digi2 Pro - it's not on the Moode list. I have a Digi2 Pro on another Moode device - it seems to work fine using the Moode listed Digi Pro.

Yours

Fred


RE: Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - Tim Curtis - 07-15-2024

Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from any of the Config screens. The startup log will be at the end of System info output.


RE: Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - feh123 - 07-15-2024

(07-15-2024, 01:17 PM)Tim Curtis Wrote: Reboot and then post the contents of the startup log.

The log can be viewed via the SSH command moodeutl -l or downloaded via the Logs section in System Config, or via Menu, System info from  any of the Config screens. The startup log will be at the end of System info output.

I paste the log file. Rebooting showed the error again and I have lost sound. So this seems to be about rebooting rather than wifi.

Code:
20240715 142142 worker: --
20240715 142142 worker: -- Start moOde 9 series
20240715 142142 worker: --
20240715 142142 worker: Successfully daemonized
20240715 142142 worker: Wait for Linux startup
20240715 142149 worker: Linux startup complete
20240715 142149 worker: Boot config is ok
20240715 142149 worker: Session loaded
20240715 142152 worker: Package locks applied
20240715 142153 worker: File check complete
20240715 142153 worker: Debug logging off
20240715 142153 worker: --
20240715 142153 worker: -- System
20240715 142153 worker: --
20240715 142156 worker: Host name:     Moode
20240715 142156 worker: RPi model:     Pi-3B 1.2 1GB
20240715 142156 worker: moOde release: 9.0.4 2024-07-06
20240715 142156 worker: RaspiOS:       12.6 Bookworm 64-bit
20240715 142156 worker: Linux Kernel:  6.6.31 64-bit
20240715 142156 worker: MPD version:   0.23.14
20240715 142156 worker: User id:       pi
20240715 142156 worker: Home folder:   /home/pi
20240715 142156 worker: Time zone:     Europe/London
20240715 142156 worker: Kbd layout:    gb
20240715 142156 worker: HDMI ports(s): on
20240715 142156 worker: Sys LED0:      on
20240715 142156 worker: Sys LED1:      on
20240715 142156 worker: Reduce power:  n/a
20240715 142156 worker: CPU governor:  ondemand
20240715 142156 worker: Integ audio:   vc4-kms-v3d
20240715 142156 worker: --
20240715 142156 worker: -- Network
20240715 142156 worker: --
20240715 142156 worker: Eth0
20240715 142156 worker: Ethernet: adapter exists
20240715 142156 worker: Ethernet: timeout off
20240715 142156 worker: Ethernet: method  dhcp
20240715 142156 worker: Ethernet: address 192.168.1.190
20240715 142156 worker: Ethernet: netmask 255.255.255.0
20240715 142156 worker: Ethernet: gateway 192.168.1.1
20240715 142156 worker: Ethernet: pri DNS 192.168.1.1
20240715 142156 worker: Ethernet: domain  none found
20240715 142156 worker: Wlan0
20240715 142156 worker: Wireless: adapter exists
20240715 142156 worker: Wireless: country US
20240715 142156 worker: Wireless: SSID    None
20240715 142156 worker: Wireless: other   None
20240715 142156 worker: --
20240715 142156 worker: -- File sharing
20240715 142156 worker: --
20240715 142156 worker: SMB file sharing:  off
20240715 142156 worker: NFS file sharing:  off
20240715 142156 worker: DLNA file sharing: off
20240715 142156 worker: --
20240715 142156 worker: -- Special configs
20240715 142156 worker: --
20240715 142156 worker: Plexamp:          not installed
20240715 142156 worker: RoonBridge:       not installed
20240715 142156 worker: Allo Piano 2.1:   not detected
20240715 142156 worker: Allo Boss 2:      not detected, OLED script ok
20240715 142156 worker: IQaudIO AMP*:     not detected
20240715 142156 worker: --
20240715 142156 worker: -- ALSA debug
20240715 142156 worker: --
20240715 142156 worker: Cards:  0:vc4hdmi         1:sndrpihifiberry 2:empty           3:empty          
20240715 142156 worker:         4:empty           5:empty           6:empty           7:empty          
20240715 142157 worker: Mixers: 0:none            1:none            2:none            3:none            
20240715 142157 worker:         4:none            5:none            6:none            7:none            
20240715 142157 worker: --
20240715 142157 worker: -- Audio configuration
20240715 142157 worker: --
20240715 142157 worker: Audio device:  1:HiFiBerry Digi+ Pro
20240715 142157 worker: ALSA card:     has not been reassigned
20240715 142157 worker: MPD config:    update not needed
20240715 142157 worker: ALSA output:   I2S
20240715 142157 worker: ALSA mode:     Default (plughw)
20240715 142157 worker: ALSA mixer     none exists
20240715 142201 worker: ALSA volume:   controller not detected
20240715 142201 worker: ALSA maxvol:   100%
20240715 142201 worker: ALSA loopback: off
20240715 142201 worker: MPD mixer      Software
20240715 142201 worker: Audio formats: S16_LE, S24_LE
20240715 142201 worker: CamillaDSP:    off
20240715 142201 worker: CDSP volume:   0dB
20240715 142201 worker: CDSP volrange: 60dB
20240715 142201 worker: --
20240715 142201 worker: -- MPD startup
20240715 142201 worker: --
20240715 142202 worker: MPD service:        started
20240715 142202 worker: MPD port 6600:      accepting connections
20240715 142202 worker: MPD ALSA Default:   on
20240715 142202 worker: MPD ALSA Bluetooth: off
20240715 142202 worker: MPD HTTP Server:    off
20240715 142202 worker: MPD volume:         0
20240715 142202 worker: Saved MPD vol:      -1
20240715 142202 worker: Saved SRC vol:      0
20240715 142202 worker: MPD crossfade:      off
20240715 142202 worker: MPD ignore CUE:     no
20240715 142202 worker: MPD CDSP volsync:   off
20240715 142202 worker: --
20240715 142202 worker: -- Music sources
20240715 142202 worker: --
20240715 142202 worker: USB drives:     no drives found
20240715 142202 worker: NAS source:     WDMYCLOUD
20240715 142218 worker: NAS mount:      mount all submitted
20240715 142218 worker: --
20240715 142218 worker: -- Feature availability
20240715 142218 worker: --
20240715 142218 worker: Input select:    available, Source: MPD, Output: HiFiBerry Digi+ Pro
20240715 142218 worker: Bluetooth:       available, PIN: None, ALSA/CDSP maxvol: 100%/0dB, ALSA outmode: Standard
20240715 142218 worker: AirPlay:         available
20240715 142218 worker: Spotify Connect: available
20240715 142218 worker: Squeezelite:     available
20240715 142218 worker: UPnP client:     available
20240715 142218 worker: Plexamp:         not installed
20240715 142218 worker: RoonBridge:      not installed
20240715 142218 worker: Multiroom:       available
20240715 142218 worker: GPIO buttons:    available
20240715 142218 worker: HTTPS mode:      available
20240715 142218 worker: Stream recorder: n/a
20240715 142218 worker: --
20240715 142218 worker: -- Peripherals
20240715 142218 worker: --
20240715 142221 worker: Local display:   off
20240715 142221 worker: On-screen kbd:   off
20240715 142221 worker: HDMI 4K 60Hz:    off
20240715 142221 worker: Rotary encoder:  off
20240715 142221 worker: USB volume knob: off
20240715 142221 worker: LCD updater:     off
20240715 142221 worker: --
20240715 142221 worker: -- Miscellaneous
20240715 142221 worker: --
20240715 142221 worker: Software update:   Automatic check off
20240715 142221 worker: Auto-CoverView:    off
20240715 142221 worker: CoverView timeout: Never
20240715 142221 worker: Auto-shuffle:      off
20240715 142221 worker: Auto-play:         off
20240715 142221 worker: Web SSH server:    off
20240715 142221 worker: Maintenance task:  360 mins
20240715 142221 worker: Current view:      reset to Playback
20240715 142221 worker: Active flags:      all false
20240715 142221 worker: Reset flags:       skipped
20240715 142221 worker: Session check:     ok
20240715 142221 worker: --
20240715 142221 worker: -- Startup complete
20240715 142221 worker: --
20240715 142221 worker: Mount monitor:    started
20240715 142221 worker: Radio monitor:    off
20240715 142221 worker: Watchdog monitor: started
20240715 142221 worker: Responsiveness:   Default
20240715 142221 worker: Ready



RE: Alert popup: "JSON parse: unexpected end of data at line 1 column 1 of the JSON data" - feh123 - 07-15-2024

Ah! What is happening is that the sound level is being reset to 0! It's working fine now. Many apologies for not seeing this straight away! It's just I have never seen the sound level reset before (my poor excuse!).