volumio / Volumio2-UI

Volumio2 Web Based User Interface
http://volumio.org
166 stars 163 forks source link

[2.915 on Pi 2] UI not accessible, ssh works #801

Closed Stooovie closed 2 years ago

Stooovie commented 2 years ago

Clean install of 2.915 has inaccessible UI. It only worked on first boot. After connecting to wifi, I can ssh into it (i have enabled ssh on first run), but that's it. UI is completely inaccessible, either via 192.168.0.XXX or volumio.local. Both work for ssh.

volumio commented 2 years ago

Sorry you're having this issue. Since you have SSH access, do you mind pastng here the complete output of

sudo journalctl

Thanks

PS: Do the /dev interface work? If yes can you send a log and paste the output here?

Stooovie commented 2 years ago

Hi, thanks. The complete output is here.

What do you mean with "Do the /dev interface work"? BTW I have already tried to "reflash" the SD card twice, it should not be a borked install.

volumio commented 2 years ago

Hi. That does not appear to be a fresh install. The problem is caused by a plugin, music shield,

Oct 04 11:42:51 volumio sudo[1127]: pam_unix(sudo:session): session closed for user root Oct 04 11:42:52 volumio volumio[1075]: info: Applying required configuration parameters for plugin music_services_shield Oct 04 11:42:52 volumio volumio[1075]: /bin/sh: 1: /data/plugins/miscellanea/music_services_shield/setconfigparameter.sh: Perm Oct 04 11:42:52 volumio volumio[1075]: child_process.js:644 Oct 04 11:42:52 volumio volumio[1075]: throw err; Oct 04 11:42:52 volumio volumio[1075]: ^ Oct 04 11:42:52 volumio volumio[1075]: Error: Command failed: /data/plugins/miscellanea/music_services_shield/setconfigparamet Oct 04 11:42:52 volumio volumio[1075]: /bin/sh: 1: /data/plugins/miscellanea/music_services_shield/setconfigparameter.sh: Perm Oct 04 11:42:52 volumio volumio[1075]: at checkExecSyncError (child_process.js:601:13) Oct 04 11:42:52 volumio volumio[1075]: at execSync (child_process.js:641:13) Oct 04 11:42:52 volumio volumio[1075]: at musicServicesShield.writeConfigParameter (/data/plugins/miscellanea/music_services_s Oct 04 11:42:52 volumio volumio[1075]: at musicServicesShield.writeAllConfigParameters (/data/plugins/miscellanea/music_servic Oct 04 11:42:52 volumio volumio[1075]: at musicServicesShield.onVolumioStart (/data/plugins/miscellanea/music_services_shield/ Oct 04 11:42:52 volumio volumio[1075]: at PluginManager.loadCorePlugin (/volumio/app/pluginmanager.js:171:38) Oct 04 11:42:52 volumio volumio[1075]: at /volumio/app/pluginmanager.js:250:34 Oct 04 11:42:52 volumio volumio[1075]: at Array.forEach () Oct 04 11:42:52 volumio volumio[1075]: at HashMap. (/volumio/app/pluginmanager.js:249:20) Oct 04 11:42:52 volumio volumio[1075]: at HashMap.forEach (/volumio/node_modules/hashmap/hashmap.js:171:10) Oct 04 11:42:52 volumio systemd[1]: volumio.service: main process exited, code=exited, status=1/FAILURE

1) Did you install this plugin? after first boot? 2) Where did you got this plugin?

Can you provide more info about this install? is it really fresh? When do you install this plugin?

Stooovie commented 2 years ago

It is a completely new install from this morning, done with Balena Etcher and without restoring backup. I did install the Shield addon after the initial config as I was using it before this update (up until yesterday when I noticed the broken web radios). I can try again without installing it.

So 1) yes, at first boot, along with Spotify and Spotify Connect plugins 2) in Volumio's default plugin store

Stooovie commented 2 years ago

SOLUTION: Looks like the plugin Music Services Shield was the culprit. Seems like a new bug to me as I always had it installed and it never made any issues. But it works now. Thanks!

volumio commented 2 years ago

Thanks for reporting, we will contact the developer and ask him to fix his plugin

Stooovie commented 2 years ago

It's still very buggy though. Right now, Spotify Connect works as expected but radios don't. I click a station (that worked an hour ago), I get the green banner ("started playback", and then nothing happens. And adding a NAS share does nothing as well. This all worked before updating. Here's log.

petecallaghan commented 2 years ago

Hi I will take a look at the fault in MusicServicesShield

petecallaghan commented 2 years ago

Please note that version 1.2.1 of MusicServicesShield does not seem to have been released for Pi or Tinkerboard on the Plugin OTA service. Can you update this first please @volumio

volumio commented 2 years ago

@balbuze when you have time can you update the plugin (if this update solves the issue)

petecallaghan commented 2 years ago

In the meantime I will look at changes to index.js as requested.

petecallaghan commented 2 years ago

Pull request issued. https://github.com/volumio/volumio-plugins/pull/629

balbuze commented 2 years ago

I disabled the plugin from the list, waiting for the fix

petecallaghan commented 2 years ago

@balbuze thanks for your assistance with this issue. I have been asked by a user of the plugin when it will be restored to the plugin OTA service. Can you let me know? Thanks

balbuze commented 2 years ago

done ;-)