Thank you for your donation!


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


PeppySpectrum with MoOde
#34
(11-03-2022, 11:33 AM)Tim Curtis Wrote:
(11-03-2022, 07:01 AM)franktw956 Wrote:
(11-03-2022, 12:34 AM)Nutul Wrote: It looks like you cannot get the thumbnails generated, or they get generated with a different hash from that calculated by moOde when needed...
could it be that those japanese characters mess-up the md5 algorithm? Or, more simply, they produce different hashes (on PHP side vs. JS side) due to html escaping? Just wandering around here...

Cheers, Al.

Starting over a fresh installation, everything is good before gulp build-deploy, but after changing css and rebuild, the thumbnail is gone and rotary encoder not function.

The thumbnail generator [VIEW STATUS] stocked in...Regenerating thumbnail cache...

Very odd.

One of the other devs ran a quick test of gulp deploy which only touches /var/www and gulp deploy --all which also touches /var/local/www and had no issues with thumbnails.

To start troubleshooting first reboot the system and post the following.

Code:
# Post startup log after reboot
moodeutl -l

# Open Audio config and turn on the Rotary encoder
# Open Library config and Regenerate thumbnails, wait for completion

# Post the startup log which will contain entries for the above two actions
moodeutl -l

# Post status of rotenc systemd unit
systemctl status rotenc

Here you go.

# Post startup log after reboot
pi@moode:~ $ moodeutl -l
20221103 081517 worker: --
20221103 081517 worker: -- Start moOde 8 series
20221103 081517 worker: --
20221103 081517 worker: Successfully daemonized
20221103 081519 worker: File check (OK)
20221103 081520 worker: Session vacuumed
20221103 081520 worker: Session loaded
20221103 081520 worker: Debug logging (OFF)
20221103 081520 worker: --
20221103 081520 worker: -- Audio debug
20221103 081520 worker: --
20221103 081520 worker: ALSA cards: (0:IQaudIODAC | 1:empty | 2:empty | 3:empty
20221103 081520 worker: MPD config: (0:IQaudIO Pi-DAC PRO | mixerSadHDMI) | card:0)
20221103 081520 worker: ALSA mixer actual (Digital)
20221103 081520 worker: ALSA Digital volume set to (0%)
20221103 081520 worker: --
20221103 081520 worker: -- System
20221103 081520 worker: --
20221103 081521 worker: Host      (moode)
20221103 081521 worker: moOde     (8.2.3 2022-MM-DD)
20221103 081521 worker: RaspiOS   (11.5)
20221103 081521 worker: Kernel    (5.15.61-v8+ #1579)
20221103 081521 worker: Platform  (Pi-4B 1.2 4GB)
20221103 081521 worker: ARM arch  (aarch64, 64-bit)
20221103 081521 worker: MPD ver   (0.23.5)
20221103 081521 worker: CPU gov   (ondemand)
20221103 081521 worker: USB boot  (enabled)
20221103 081521 worker: File sys  (expanded)
20221103 081521 worker: HDMI port (On)
20221103 081522 worker: Sys LED0  (On)
20221103 081522 worker: Sys LED1  (On)
20221103 081522 worker: --
20221103 081522 worker: -- Network
20221103 081522 worker: --
20221103 081522 worker: eth0 adapter exists
20221103 081522 worker: eth0 check for address (No)
20221103 081522 worker: eth0 address not assigned
20221103 081522 worker: wlan0 adapter exists
20221103 081522 worker: wlan0 country (US)
20221103 081522 worker: wlan0 SSID is "None (activates AP mode)"
20221103 081522 worker: wlan0 AP mode started
20221103 081530 worker: wlan0 check 0 for IP address
20221103 081532 worker: wlan0 check 1 for IP address
20221103 081534 worker: wlan0 check 2 for IP address
20221103 081536 worker: IP addr (172.24.1.1)
20221103 081536 worker: Netmask (255.255.255.0)
20221103 081536 worker: Gateway (192.168.1.2)
20221103 081536 worker: Pri DNS (127.0.0.1)
20221103 081536 worker: Domain  (hitronhub.home)
20221103 081536 worker: wlan0 power save disabled
20221103 081536 worker: apd0 router mode (Off)
20221103 081536 worker: --
20221103 081536 worker: -- Software update
20221103 081536 worker: --
20221103 081536 worker: Automatic check (Off)
20221103 081536 worker: --
20221103 081536 worker: -- Audio config
20221103 081536 worker: --
20221103 081536 worker: MPD conf updated
20221103 081536 worker: ALSA card number (0)
20221103 081536 worker: MPD audio output (IQaudIO Pi-DAC PRO)
20221103 081536 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20221103 081536 worker: ALSA mixer name (Digital)
20221103 081536 worker: MPD mixer type (hardware)
20221103 081537 worker: Hdwr volume controller exists
20221103 081537 worker: Max ALSA volume (100%)
20221103 081537 worker: ALSA output mode (Direct: hw)
20221103 081537 worker: ALSA loopback (Off)
20221103 081537 worker: Reset renderer active flags
20221103 081537 worker: CamillaDSP (off)
20221103 081537 worker: --
20221103 081537 worker: -- File sharing
20221103 081537 worker: --
20221103 081537 worker: SMB file sharing (Off)
20221103 081537 worker: NFS file sharing (Off)
20221103 081537 worker: --
20221103 081537 worker: -- MPD startup
20221103 081537 worker: --
20221103 081537 worker: MPD started
20221103 081537 worker: MPD accepting connections
20221103 081537 worker: MPD output 1 ALSA Default (On)
20221103 081537 worker: MPD output 2 ALSA Bluetooth (Off)
20221103 081537 worker: MPD output 3 HTTP Server (Off)
20221103 081537 worker: MPD crossfade (off)
20221103 081537 worker: MPD ignore CUE files (yes)
20221103 081537 worker: --
20221103 081537 worker: -- Music sources
20221103 081537 worker: --
20221103 081537 worker: USB sources
20221103 081537 worker: 128G
20221103 081537 worker: NAS sources
20221103 081537 worker: None configured
20221103 081537 worker: --
20221103 081537 worker: -- Feature availability
20221103 081537 worker: --
20221103 081537 worker: Source select (available)
20221103 081537 worker: Source select (source: MPD)
20221103 081537 worker: Source select (output: IQaudIO Pi-DAC PRO)
20221103 081537 worker: Bluetooth (available)
20221103 081537 worker: AirPlay renderer (available)
20221103 081537 worker: Spotify renderer (available)
20221103 081537 worker: Squeezelite (available)
20221103 081537 worker: RoonBridge renderer (not installed)
20221103 081537 worker: Multiroom sender (available)
20221103 081537 worker: Multiroom receiver (available)
20221103 081537 worker: UPnP renderer (available)
20221103 081537 worker: DLNA server (available)
20221103 081537 worker: GPIO button handler (available)
20221103 081537 worker: Stream recorder (n/a)
20221103 081537 worker: --
20221103 081537 worker: -- Other
20221103 081537 worker: --
20221103 081537 worker: Rotary encoder on (100 2 3 23 24)
20221103 081537 worker: USB volume knob (Off)
20221103 081537 worker: USB auto-mounter (udisks-glue)
20221103 081537 worker: Saved MPD vol level (0)
20221103 081537 worker: Preamp volume level (0)
20221103 081537 worker: MPD volume level (50) restored
20221103 081537 worker: ALSA Digital volume (83%)
20221103 081537 worker: Auto-play (Off)
20221103 081537 worker: CoverView toggle (-off)
20221103 081537 worker: On-screen keyboard (Off)
20221103 081537 worker: Library scope (all)
20221103 081537 worker: Maintenance interval (360 minutes)
20221103 081537 worker: Screen saver activation (Never)
20221103 081537 worker: Session permissions (OK)
20221103 081537 worker: Mount monitor (Off)
20221103 081537 worker: Watchdog started
20221103 081537 worker: Ready
pi@moode:~ $



# Post the startup log which will contain entries for the above two actions
pi@moode:~ $ moodeutl -l
20221103 081517 worker: --
20221103 081517 worker: -- Start moOde 8 series
20221103 081517 worker: --
20221103 081517 worker: Successfully daemonized
20221103 081519 worker: File check (OK)
20221103 081520 worker: Session vacuumed
20221103 081520 worker: Session loaded
20221103 081520 worker: Debug logging (OFF)
20221103 081520 worker: --
20221103 081520 worker: -- Audio debug
20221103 081520 worker: --
20221103 081520 worker: ALSA cards: (0:IQaudIODAC | 1:empty | 2:empty | 3:empty
20221103 081520 worker: MPD config: (0:IQaudIO Pi-DAC PRO | mixerSadHDMI) | card:0)
20221103 081520 worker: ALSA mixer actual (Digital)
20221103 081520 worker: ALSA Digital volume set to (0%)
20221103 081520 worker: --
20221103 081520 worker: -- System
20221103 081520 worker: --
20221103 081521 worker: Host      (moode)
20221103 081521 worker: moOde     (8.2.3 2022-MM-DD)
20221103 081521 worker: RaspiOS   (11.5)
20221103 081521 worker: Kernel    (5.15.61-v8+ #1579)
20221103 081521 worker: Platform  (Pi-4B 1.2 4GB)
20221103 081521 worker: ARM arch  (aarch64, 64-bit)
20221103 081521 worker: MPD ver   (0.23.5)
20221103 081521 worker: CPU gov   (ondemand)
20221103 081521 worker: USB boot  (enabled)
20221103 081521 worker: File sys  (expanded)
20221103 081521 worker: HDMI port (On)
20221103 081522 worker: Sys LED0  (On)
20221103 081522 worker: Sys LED1  (On)
20221103 081522 worker: --
20221103 081522 worker: -- Network
20221103 081522 worker: --
20221103 081522 worker: eth0 adapter exists
20221103 081522 worker: eth0 check for address (No)
20221103 081522 worker: eth0 address not assigned
20221103 081522 worker: wlan0 adapter exists
20221103 081522 worker: wlan0 country (US)
20221103 081522 worker: wlan0 SSID is "None (activates AP mode)"
20221103 081522 worker: wlan0 AP mode started
20221103 081530 worker: wlan0 check 0 for IP address
20221103 081532 worker: wlan0 check 1 for IP address
20221103 081534 worker: wlan0 check 2 for IP address
20221103 081536 worker: IP addr (172.24.1.1)
20221103 081536 worker: Netmask (255.255.255.0)
20221103 081536 worker: Gateway (192.168.1.2)
20221103 081536 worker: Pri DNS (127.0.0.1)
20221103 081536 worker: Domain  (hitronhub.home)
20221103 081536 worker: wlan0 power save disabled
20221103 081536 worker: apd0 router mode (Off)
20221103 081536 worker: --
20221103 081536 worker: -- Software update
20221103 081536 worker: --
20221103 081536 worker: Automatic check (Off)
20221103 081536 worker: --
20221103 081536 worker: -- Audio config
20221103 081536 worker: --
20221103 081536 worker: MPD conf updated
20221103 081536 worker: ALSA card number (0)
20221103 081536 worker: MPD audio output (IQaudIO Pi-DAC PRO)
20221103 081536 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20221103 081536 worker: ALSA mixer name (Digital)
20221103 081536 worker: MPD mixer type (hardware)
20221103 081537 worker: Hdwr volume controller exists
20221103 081537 worker: Max ALSA volume (100%)
20221103 081537 worker: ALSA output mode (Direct: hw)
20221103 081537 worker: ALSA loopback (Off)
20221103 081537 worker: Reset renderer active flags
20221103 081537 worker: CamillaDSP (off)
20221103 081537 worker: --
20221103 081537 worker: -- File sharing
20221103 081537 worker: --
20221103 081537 worker: SMB file sharing (Off)
20221103 081537 worker: NFS file sharing (Off)
20221103 081537 worker: --
20221103 081537 worker: -- MPD startup
20221103 081537 worker: --
20221103 081537 worker: MPD started
20221103 081537 worker: MPD accepting connections
20221103 081537 worker: MPD output 1 ALSA Default (On)
20221103 081537 worker: MPD output 2 ALSA Bluetooth (Off)
20221103 081537 worker: MPD output 3 HTTP Server (Off)
20221103 081537 worker: MPD crossfade (off)
20221103 081537 worker: MPD ignore CUE files (yes)
20221103 081537 worker: --
20221103 081537 worker: -- Music sources
20221103 081537 worker: --
20221103 081537 worker: USB sources
20221103 081537 worker: 128G
20221103 081537 worker: NAS sources
20221103 081537 worker: None configured
20221103 081537 worker: --
20221103 081537 worker: -- Feature availability
20221103 081537 worker: --
20221103 081537 worker: Source select (available)
20221103 081537 worker: Source select (source: MPD)
20221103 081537 worker: Source select (output: IQaudIO Pi-DAC PRO)
20221103 081537 worker: Bluetooth (available)
20221103 081537 worker: AirPlay renderer (available)
20221103 081537 worker: Spotify renderer (available)
20221103 081537 worker: Squeezelite (available)
20221103 081537 worker: RoonBridge renderer (not installed)
20221103 081537 worker: Multiroom sender (available)
20221103 081537 worker: Multiroom receiver (available)
20221103 081537 worker: UPnP renderer (available)
20221103 081537 worker: DLNA server (available)
20221103 081537 worker: GPIO button handler (available)
20221103 081537 worker: Stream recorder (n/a)
20221103 081537 worker: --
20221103 081537 worker: -- Other
20221103 081537 worker: --
20221103 081537 worker: Rotary encoder on (100 2 3 23 24)
20221103 081537 worker: USB volume knob (Off)
20221103 081537 worker: USB auto-mounter (udisks-glue)
20221103 081537 worker: Saved MPD vol level (0)
20221103 081537 worker: Preamp volume level (0)
20221103 081537 worker: MPD volume level (50) restored
20221103 081537 worker: ALSA Digital volume (83%)
20221103 081537 worker: Auto-play (Off)
20221103 081537 worker: CoverView toggle (-off)
20221103 081537 worker: On-screen keyboard (Off)
20221103 081537 worker: Library scope (all)
20221103 081537 worker: Maintenance interval (360 minutes)
20221103 081537 worker: Screen saver activation (Never)
20221103 081537 worker: Session permissions (OK)
20221103 081537 worker: Mount monitor (Off)
20221103 081537 worker: Watchdog started
20221103 081537 worker: Ready
20221103 082333 worker: Job rotaryenc
20221103 082343 worker: Job rotaryenc
20221103 082407 worker: Job regen_thmcache
pi@moode:~ $


# Post status of rotenc systemd unit
pi@moode:~ $ systemctl status rotenc
● rotenc.service - Moode Rotary Encoder Driver
     Loaded: loaded (/lib/systemd/system/rotenc.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-11-03 08:23:43 EDT; 3min 31s ago
    Process: 1991 ExecStart=/var/www/daemon/rotenc.py 100 2 3 23 24 (code=exited, status=203/EXEC)
   Main PID: 1991 (code=exited, status=203/EXEC)
        CPU: 2ms

Nov 03 08:23:43 moode systemd[1991]: rotenc.service: Failed at step EXEC spawning /var/www/daemon/rotenc.py: Permiss>
Nov 03 08:23:43 moode systemd[1]: Started Moode Rotary Encoder Driver.
Nov 03 08:23:43 moode systemd[1]: rotenc.service: Main process exited, code=exited, status=203/EXEC
Nov 03 08:23:43 moode systemd[1]: rotenc.service: Failed with result 'exit-code'.
lines 1-11/11 (END)...skipping...
● rotenc.service - Moode Rotary Encoder Driver
     Loaded: loaded (/lib/systemd/system/rotenc.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2022-11-03 08:23:43 EDT; 3min 31s ago
    Process: 1991 ExecStart=/var/www/daemon/rotenc.py 100 2 3 23 24 (code=exited, status=203/EXEC)
   Main PID: 1991 (code=exited, status=203/EXEC)
        CPU: 2ms

Nov 03 08:23:43 moode systemd[1991]: rotenc.service: Failed at step EXEC spawning /var/www/daemon/rotenc.py: Permission denied
Nov 03 08:23:43 moode systemd[1]: Started Moode Rotary Encoder Driver.
Nov 03 08:23:43 moode systemd[1]: rotenc.service: Main process exited, code=exited, status=203/EXEC
Nov 03 08:23:43 moode systemd[1]: rotenc.service: Failed with result 'exit-code'.
Reply


Messages In This Thread
PeppySpectrum with MoOde - by franktw956 - 10-27-2022, 07:25 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-27-2022, 12:13 PM
RE: PeppySpectrum with MoOde - by franktw956 - 10-27-2022, 01:18 PM
RE: PeppySpectrum with MoOde - by Nutul - 10-27-2022, 02:33 PM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-27-2022, 03:22 PM
RE: PeppySpectrum with MoOde - by franktw956 - 10-28-2022, 06:37 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-27-2022, 02:07 PM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-27-2022, 03:29 PM
RE: PeppySpectrum with MoOde - by franktw956 - 10-28-2022, 03:02 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-28-2022, 02:29 PM
RE: PeppySpectrum with MoOde - by franktw956 - 10-29-2022, 12:46 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-29-2022, 12:26 PM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-29-2022, 03:18 PM
RE: PeppySpectrum with MoOde - by franktw956 - 10-30-2022, 02:46 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-30-2022, 11:24 AM
RE: PeppySpectrum with MoOde - by franktw956 - 10-31-2022, 07:22 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 10-31-2022, 10:52 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-01-2022, 07:38 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-01-2022, 11:50 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-02-2022, 12:40 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-02-2022, 01:19 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-02-2022, 04:38 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-02-2022, 10:16 AM
RE: PeppySpectrum with MoOde - by Nutul - 11-02-2022, 11:47 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 12:14 AM
RE: PeppySpectrum with MoOde - by Nutul - 11-03-2022, 12:34 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 07:01 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-03-2022, 11:33 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 12:32 PM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 12:05 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-03-2022, 12:27 AM
RE: PeppySpectrum with MoOde - by the_bertrum - 11-03-2022, 08:01 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 08:34 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-05-2022, 06:03 AM
RE: PeppySpectrum with MoOde - by the_bertrum - 11-07-2022, 07:39 AM
RE: PeppySpectrum with MoOde - by the_bertrum - 11-03-2022, 08:46 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-03-2022, 01:46 PM
RE: PeppySpectrum with MoOde - by franktw956 - 11-03-2022, 11:54 PM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-04-2022, 12:01 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-04-2022, 12:26 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-04-2022, 01:22 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-04-2022, 03:39 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-04-2022, 10:24 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-04-2022, 11:13 AM
RE: PeppySpectrum with MoOde - by Tim Curtis - 11-04-2022, 11:21 AM
RE: PeppySpectrum with MoOde - by franktw956 - 11-05-2022, 12:38 AM

Forum Jump: