balbuze / volumio-plugins

volumio's plugins from balbuze
190 stars 60 forks source link

Failed to install volstereo2mono plugin #113

Closed ways closed 6 years ago

ways commented 6 years ago

Hi

When uploading plugin I get this output:

Installing Plugin

The following error occurred when installing the plugin: Error
Downloading plugin at http://127.0.0.1:3000/plugin-serve/6dedf82d-ab98-43b5-9725-b06c9a0906c6.zip
END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/6dedf82d-ab98-43b5-9725-b06c9a0906c6.zip
Creating folder on disk
Unpacking plugin
Checking for duplicate plugin
Copying Plugin into location
Installing dependencies
The following error occurred when installing the plugin: Error
Installing Plugin
The following error occurred when installing the plugin: Error
ways commented 6 years ago

Version 2.323

balbuze commented 6 years ago

weird... what is your device ? (rpi ?)

ways commented 6 years ago

Yes, rpi3. Could it be simply that I've changed the default password? Found this in logs:

Dec 15 20:20:41 nfc01 volumio[926]: Uploading: volstereo2mono.zip
Dec 15 20:20:41 nfc01 volumio[926]: Created safe filename as 'c1be6652-8e43-4386-a929-f8e5bec9b44e.zip'
Dec 15 20:20:41 nfc01 volumio[926]: Upload Finished of volstereo2mono.zip as c1be6652-8e43-4386-a929-f8e5bec9b44e.zip
Dec 15 20:20:41 nfc01 volumio[926]: info: Downloading plugin at http://127.0.0.1:3000/plugin-serve/c1be6652-8e43-4386-a929-f8e5bec9b44e.zip
Dec 15 20:20:41 nfc01 volumio[926]: info: END DOWNLOAD: http://127.0.0.1:3000/plugin-serve/c1be6652-8e43-4386-a929-f8e5bec9b44e.zip
Dec 15 20:20:41 nfc01 volumio[926]: info: Folder /tmp/plugins removed
Dec 15 20:20:41 nfc01 volumio[926]: info: Checking if plugin already exists
Dec 15 20:20:41 nfc01 volumio[926]: info: Rename folder
Dec 15 20:20:41 nfc01 volumio[926]: info: Folder /tmp/downloaded_plugin.zip removed
Dec 15 20:20:41 nfc01 volumio[926]: info: Move to category
Dec 15 20:20:42 nfc01 volumio[926]: info: Checking if install.sh is present
Dec 15 20:20:42 nfc01 volumio[926]: info: Executing install.sh
Dec 15 20:20:42 nfc01 sudo[2173]: pam_unix(sudo:auth): authentication failure; logname= uid=1000 euid=0 tty= ruser=volumio rhost=  user=volumio
Dec 15 20:20:44 nfc01 sudo[2173]: pam_unix(sudo:auth): conversation failed
Dec 15 20:20:44 nfc01 sudo[2173]: pam_unix(sudo:auth): auth could not identify password for [volumio]
Dec 15 20:20:44 nfc01 sudo[2173]: volumio : 1 incorrect password attempt ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/sh /data/plugins/audio_interface/volstereo2mono/install.sh
Dec 15 20:20:44 nfc01 volumio[926]: info: Install script return the error Error: Command failed: echo volumio | sudo -S sh /data/plugins/audio_interface/volstereo2mono/install.sh > /tmp/installog
Dec 15 20:20:44 nfc01 volumio[926]: [sudo] password for volumio: Sorry, try again.
Dec 15 20:20:44 nfc01 volumio[926]: [sudo] password for volumio:
Dec 15 20:20:44 nfc01 volumio[926]: sudo: 1 incorrect password attempt
Dec 15 20:20:44 nfc01 volumio[926]: info: An error occurred installing the plugin. Rolling back config
Dec 15 20:20:44 nfc01 volumio[926]: info: Plugin folders cleanup
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning into folder /volumio/app/plugins/
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category audio_interface
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category miscellanea
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category music_service
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category plugins.json
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category system_controller
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category user_interface
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning into folder /data/plugins/
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category audio_interface
Dec 15 20:20:44 nfc01 volumio[926]: info: Plugin volstereo2mono found in folder but missing in configuration. Removing folder.
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category music_service
Dec 15 20:20:44 nfc01 volumio[926]: info: Scanning category system_controller
Dec 15 20:20:44 nfc01 volumio[926]: info: Plugin folders cleanup completed
Dec 15 20:20:44 nfc01 volumio[926]: info: Error: Error
Dec 15 20:20:44 nfc01 volumio[926]: info: Folder /tmp/plugins removed
Dec 15 20:20:44 nfc01 volumio[926]: info: Folder /tmp/downloaded_plugin.zip removed
Dec 15 20:20:44 nfc01 volumio[926]: info: Folder /data/temp removed
ways commented 6 years ago

Yep. =)

balbuze commented 6 years ago

yes it was an issue....

balbuze commented 6 years ago

let me know if it is still working after a reboot...

ways commented 6 years ago

Still working after a reboot. Playback settings still shows "playing via through stereo2mono plugin".

Haven't tested that it's actually mono yet. Reopen if that's what you meant.

Thanks for the plugin!

balbuze commented 6 years ago

you're welcome !