Thank you for your donation!


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


PeppySpectrum with MoOde
#31
(11-03-2022, 08:01 AM)the_bertrum Wrote:
(11-03-2022, 07:01 AM)franktw956 Wrote: but after changing css and rebuild

I'd suspect the culprit is in here then.  What did you change?

In media.css

Code:
// Ultra-wide screen 480 & 550 x 1920
*/
@media (max-height:549px) and (width:1919px) {
   /* Hide the volume knob */
   #volzone {display:none;}

   /* Popup volume control */
   #volcontrol-2 {height:18vw;width:18vw;padding: 2em;}
   #volumedn-2,
   #volumeup-2 {font-size:2.5vw;}
   #volume-popup .volume-display {font-size:2.75vw;}

   /* Screen saver metadata */
   #ss-metadata {top:10vh!important;text-align:center!important;font-size:3em!important;}

   /* Audioinfo popup modal */
   #audioinfo-modal {width:35%!important;}

   /* Thumbnails for Radio, Album and Playlist views */
   img.coverart {width:72vh;}
   .cover-menu {background-size:2.5rem 2.5rem;background-position: 0.75rem 2rem;}
   .album-name,
   .artyear,
   .station-name,
   .playlist-name {font-size:1.25em;}

   #lib-content li {line-height:1.35em;}
   /* Metadata under the cover art in Playback view */
   #extra-tags-display,
   #currentsong,
   #currentartist {text-overflow:ellipsis;white-space:nowrap;overflow: hidden;}
   .playback-hd-badge {height:1.25em!important;top:1rem!important;padding-top:0.15em;}

   /* Playback view Queue  */
   .playqueue li:before {font-size:1.35em;margin-top:10px;}
   .playqueue .playqueue-thumb {width:3.5em;height:3.5em;}
   .playqueue .pll1 {font-size:1.35rem;}
   .playqueue .pll2 {font-size:1.15rem;margin-left:calc(3.5em + 1vmin)!important}
   .playqueue-action {font-size:1.25rem!important;}

   /* CoverView Queue */
   #cv-playqueue {width:75vmin;}
   .cv-playqueue li:before {font-size:1.5em;margin-top:8px;}
   .cv-playqueue .playqueue-thumb {width:3.5em;height:3.5em;}
   .cv-playqueue .pll1 {font-size:1.25rem;}
   .cv-playqueue .pll2 {font-size:1rem;margin-left:calc(1.25em + 1vmin)!important}

   /* Time knob */
   #countdown {margin:0 auto;height:16.5vw;width:16.5vw;}
   #countdown div {margin:0 auto;} /* needed to center the knob */
   #countdown-display {position:absolute;top:47%;left:50%;margin-right:0px;margin-bottom:0px;transform:translate(-50%, -50%);font-size:2.5vw;font-weight:500;cursor:pointer;}
   #total {position:absolute;top:62%;left:50%;transform:translate(-50%);font-size:1.5vw;}
   .total-radio {top:65%!important}

   /* Metadata under the cover art in Playback view */
   #currentsong {font-size:1.5rem;}
   #currentsong,
   #currentartist,
   #currentalbum {padding-top:.75rem;}
   /* Play and toggle buttons under the time knob */
   #playbtns .btn {font-size:2vw;padding:1.25rem 2rem;}
   #togglebtns .btn-group .btn {font-size:1.5em;}
   #togglebtns .ralbum {display:none;}
   #togglebtns .volume-popup-btn {display:inline-block;}

   /* Tag view */
   #top-columns {width:80vw;left:10vw;}
   #lib-coverart-meta-area {display:none;}
   #trackscontainer {margin-right:10vw;}

   /* Dropdown and context menus */
   .dropdown-menu>li>a,
   .viewswitch .btn {line-height:2.5rem;font-size:1.15em;}

   /* Renderer active overlays: Text and button */
   #inpsrc-indicator {font-size:2.85em;}
   /* For the configs */
   .container {margin-left:25vw;margin-right:25vw;}
   
}
Reply
#32
Seems innocent enough. I wonder if the GULP build process is also dragging something else in. I'm beyond my expertise here, so I'm probably more of a hindrance than a help. I'll leave it to the really clever people.
----------------
Robert
Reply
#33
(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
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#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
#35
Whats in /var/www/daemon/

Code:
ls -al /var/www/daemon/

Also the Gateway address for AP mode is odd. Normally its 0.0.0.0 and domain is blank ()

Code:
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)
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#36
(11-03-2022, 01:46 PM)Tim Curtis Wrote: Whats in /var/www/daemon/

Code:
ls -al /var/www/daemon/

Also the Gateway address for AP mode is odd. Normally its 0.0.0.0 and domain is blank ()

Code:
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)

I was using Ethernet previously, and now is WiFi, please see the log:

Code:
pi@moode:~ $ moodeutl -l
20221103 194334 worker: --
20221103 194334 worker: -- Start moOde 8 series
20221103 194334 worker: --
20221103 194334 worker: Successfully daemonized
20221103 194336 worker: File check (OK)
20221103 194336 worker: Session vacuumed
20221103 194336 worker: Session loaded
20221103 194336 worker: Debug logging (OFF)
20221103 194336 worker: --
20221103 194336 worker: -- Audio debug
20221103 194336 worker: --
20221103 194336 worker: ALSA cards: (0:IQaudIODAC | 1:empty | 2:empty | 3:empty
20221103 194336 worker: MPD config: (0:IQaudIO Pi-DAC PRO | mixer:(Digital) | card:0)
20221103 194336 worker: ALSA mixer actual (Digital)
20221103 194336 worker: ALSA Digital volume set to (0%)
20221103 194336 worker: --
20221103 194336 worker: -- System
20221103 194336 worker: --
20221103 194337 worker: Host      (moode)
20221103 194337 worker: moOde     (8.2.3 2022-MM-DD)
20221103 194337 worker: RaspiOS   (11.5)
20221103 194337 worker: Kernel    (5.15.61-v8+ #1579)
20221103 194337 worker: Platform  (Pi-CM4 1.0 2GB)
20221103 194337 worker: ARM arch  (aarch64, 64-bit)
20221103 194337 worker: MPD ver   (0.23.5)
20221103 194337 worker: CPU gov   (ondemand)
20221103 194337 worker: USB boot  (not available)
20221103 194337 worker: File sys  (expanded)
20221103 194337 worker: HDMI port (On)
20221103 194337 worker: Sys LED0  (On)
20221103 194337 worker: Sys LED1  (On)
20221103 194337 worker: --
20221103 194337 worker: -- Network
20221103 194337 worker: --
20221103 194337 worker: eth0 adapter exists
20221103 194337 worker: eth0 check for address (No)
20221103 194338 worker: eth0 address not assigned
20221103 194338 worker: wlan0 adapter exists
20221103 194338 worker: wlan0 country (TW)
20221103 194338 worker: wlan0 trying configured SSID (HFFS)
20221103 194338 worker: wlan0 check 0 for IP address
20221103 194340 worker: wlan0 connected SSID is (HFFS)
20221103 194340 worker: IP addr (192.168.1.111)
20221103 194340 worker: Netmask (255.255.255.0)
20221103 194340 worker: Gateway (192.168.1.1)
20221103 194340 worker: Pri DNS (192.168.1.1)
20221103 194340 worker: Domain  ()
20221103 194340 worker: apd0 router mode (Off)
20221103 194340 worker: --
20221103 194340 worker: -- Software update
20221103 194340 worker: --
20221103 194340 worker: Automatic check (Off)
20221103 194340 worker: --
20221103 194340 worker: -- Audio config
20221103 194340 worker: --
20221103 194340 worker: MPD conf updated
20221103 194340 worker: ALSA card number (0)
20221103 194340 worker: MPD audio output (IQaudIO Pi-DAC PRO)
20221103 194340 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20221103 194340 worker: ALSA mixer name (Digital)
20221103 194340 worker: MPD mixer type (hardware)
20221103 194340 worker: Hdwr volume controller exists
20221103 194340 worker: Max ALSA volume (100%)
20221103 194340 worker: ALSA output mode (Direct: hw)
20221103 194340 worker: ALSA loopback (Off)
20221103 194340 worker: Reset renderer active flags
20221103 194340 worker: CamillaDSP (off)
20221103 194340 worker: --
20221103 194340 worker: -- File sharing
20221103 194340 worker: --
20221103 194340 worker: SMB file sharing (Off)
20221103 194340 worker: NFS file sharing (Off)
20221103 194340 worker: --
20221103 194340 worker: -- MPD startup
20221103 194340 worker: --
20221103 194340 worker: MPD started
20221103 194340 worker: MPD accepting connections
20221103 194340 worker: MPD output 1 ALSA Default (On)
20221103 194340 worker: MPD output 2 ALSA Bluetooth (Off)
20221103 194340 worker: MPD output 3 HTTP Server (Off)
20221103 194340 worker: MPD crossfade (off)
20221103 194340 worker: MPD ignore CUE files (yes)
20221103 194340 worker: --
20221103 194340 worker: -- Music sources
20221103 194340 worker: --
20221103 194340 worker: USB sources
20221103 194341 worker: No drives found
20221103 194341 worker: NAS sources
20221103 194341 worker: None configured
20221103 194341 worker: --
20221103 194341 worker: -- Feature availability
20221103 194341 worker: --
20221103 194341 worker: Source select (available)
20221103 194341 worker: Source select (source: MPD)
20221103 194341 worker: Source select (output: IQaudIO Pi-DAC PRO)
20221103 194341 worker: Bluetooth (available)
20221103 194341 worker: AirPlay renderer (available)
20221103 194341 worker: Spotify renderer (available)
20221103 194341 worker: Squeezelite (available)
20221103 194341 worker: RoonBridge renderer (not installed)
20221103 194341 worker: Multiroom sender (available)
20221103 194341 worker: Multiroom receiver (available)
20221103 194341 worker: UPnP renderer (available)
20221103 194341 worker: DLNA server (available)
20221103 194341 worker: GPIO button handler (available: started)
20221103 194341 worker: Stream recorder (n/a)
20221103 194341 worker: --
20221103 194341 worker: -- Other
20221103 194341 worker: --
20221103 194341 worker: Rotary encoder on (100 2 3 23 24)
20221103 194341 worker: USB volume knob (Off)
20221103 194341 worker: USB auto-mounter (udisks-glue)
20221103 194341 worker: Saved MPD vol level (0)
20221103 194341 worker: Preamp volume level (0)
20221103 194341 worker: MPD volume level (44) restored
20221103 194341 worker: ALSA Digital volume (80%)
20221103 194341 worker: Auto-play (Off)
20221103 194341 worker: LocalUI started
20221103 194341 worker: CoverView toggle (-off)
20221103 194341 worker: On-screen keyboard (Off)
20221103 194341 worker: Library scope (all)
20221103 194341 worker: Maintenance interval (360 minutes)
20221103 194341 worker: Screen saver activation (Never)
20221103 194341 worker: Session permissions (OK)
20221103 194341 worker: Mount monitor (Off)
20221103 194341 worker: Watchdog started
20221103 194341 worker: Ready
20221103 194647 worker: Job regen_library
20221103 194653 worker: Job regen_library done
20221103 194656 worker: Job regen_thmcache
20221103 194726 worker: Job rotaryenc
20221103 194733 worker: Job rotaryenc
pi@moode:~ $


ls -al /var/www/daemon/

pi@moode:~ $ ls -al /var/www/daemon
total 136
drwxr-xr-x  2 root root  4096 Nov  3 08:07 .
drwxr-xr-x 13 root root  4096 Oct 24 07:12 ..
-rwxr-xr-x  1 root root  6849 Nov  3 08:07 blu_agent.py
-rwxr-xr-x  1 root root  7713 Nov  3 08:07 gpio_buttons.py
-rwxr-xr-x  1 root root   894 Nov  3 08:07 lcd-updater.sh
-rw-r--r--  1 root root  3395 Nov  3 08:07 mountmon.php
-rw-r--r--  1 root root  4612 Nov  3 08:07 rotenc.py
-rwxr-xr-x  1 root root  2691 Nov  3 08:07 watchdog.sh
-rwxr-xr-x  1 root root 90181 Nov  3 08:07 worker.php
pi@moode:~ $
Reply
#37
The files below won't execute because they lack +x (execute) permission.

-rw-r--r-- 1 root root 3395 Nov 3 08:07 mountmon.php
-rw-r--r-- 1 root root 4612 Nov 3 08:07 rotenc.py

I would also check the file(s) in /var/www/util/

The question is why is this happening.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#38
(11-04-2022, 12:01 AM)Tim Curtis Wrote: The files below won't execute because they lack +x (execute) permission.

-rw-r--r--  1 root root  3395 Nov  3 08:07 mountmon.php
-rw-r--r--  1 root root  4612 Nov  3 08:07 rotenc.py

I would also check the file(s) in /var/www/util/

The question is why is this happening.

Give the 2 files +x permission (sudo chmod +x) --> reboot --> still no working.

Code:
pi@moode:~ $ ls -al /var/www/daemon
total 136
drwxr-xr-x  2 root root  4096 Nov  3 20:07 .
drwxr-xr-x 13 root root  4096 Oct 24 19:12 ..
-rwxr-xr-x  1 root root  6849 Nov  3 20:07 blu_agent.py
-rwxr-xr-x  1 root root  7713 Nov  3 20:07 gpio_buttons.py
-rwxr-xr-x  1 root root   894 Nov  3 20:07 lcd-updater.sh
-rwxr-xr-x  1 root root  3395 Nov  3 20:07 mountmon.php
-rwxr-xr-x  1 root root  4612 Nov  3 20:07 rotenc.py
-rwxr-xr-x  1 root root  2691 Nov  3 20:07 watchdog.sh
-rwxr-xr-x  1 root root 90181 Nov  3 20:07 worker.php
pi@moode:~ $
Reply
#39
Go through all the directories that have executable code in /var/www/ and /var/local/www. They should all have 0755 permissions. If not then something is corrupting the permissions.

If they all have 0755 permissions then there is some other type of corruption that has occurred after doing a gulp build.

The challenge is that so far we are not able to repro this.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#40
(11-04-2022, 01:22 AM)Tim Curtis Wrote: Go through all the directories that have executable code in /var/www/ and /var/local/www. They should all have 0755 permissions. If not then something is corrupting the permissions.

If they all have 0755 permissions then there is some other type of corruption that has occurred after doing a gulp build.

The challenge is that so far we are not able to repro this.

Good news ! after 0755 permissions for the executable code in /var/www/ and /var/local/www, the thunmbnail and rotenc are running well.

Many thanks for your great help.
Reply


Forum Jump: