Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
criminalzen"remote button" under mpd in music player software,fails with "unable to connect:
#1
I have snakeoil 1.26 updated to 1.27 installed on a raspberry pi. I am using MPD (0.23.5)  through a usb dac (modi3). Sound is excellent and all of the control panels appear to work. The one hiccup is the remote icon in the software section at the end of the mpd listing "remote" fails with an unable to connect error. I have restarted, used different browsers, etc but the error continues. It looks like mympd should be starting (a mouseover on the icon reads mympd). I can partially control mpd from a remote client on my windows computer, or android phone. but not from the snakeoil web app. Any suggestions?

John

fixed.
Reply

#2
(21-Sep-2022, 03:03 AM)criminalzen Wrote: I have snakeoil 1.26 updated to 1.27 installed on a raspberry pi. I am using MPD (0.23.5)  through a usb dac (modi3). Sound is excellent and all of the control panels appear to work. The one hiccup is the remote icon in the software section at the end of the mpd listing "remote" fails with an unable to connect error. I have restarted, used different browsers, etc but the error continues. It looks like mympd should be starting (a mouseover on the icon reads mympd). I can partially control mpd from a remote client on my windows computer, or android phone. but not from the snakeoil web app. Any suggestions?

John

fixed.
Hi John, please post your solution on how you fixed it. I believe others have the same issue, and your experience here would help others. Thanks Smile
Snakeoil Operating System - Music, your way!
Reply

#3
(21-Sep-2022, 07:36 AM)agent_kith Wrote:
(21-Sep-2022, 03:03 AM)criminalzen Wrote: I have snakeoil 1.26 updated to 1.27 installed on a raspberry pi. I am using MPD (0.23.5)  through a usb dac (modi3). Sound is excellent and all of the control panels appear to work. The one hiccup is the remote icon in the software section at the end of the mpd listing "remote" fails with an unable to connect error. I have restarted, used different browsers, etc but the error continues. It looks like mympd should be starting (a mouseover on the icon reads mympd). I can partially control mpd from a remote client on my windows computer, or android phone. but not from the snakeoil web app. Any suggestions?

John

fixed.
Hi John, please post your solution on how you fixed it. I believe others have the same issue, and your experience here would help others. Thanks Smile

Sorry, I got carried away with mympd and playing music.. :

I fixed the issue by trying to start mympd from command line and learned that libid3tag.so.0 was not installed. After a few attempts I installed libid3tag* which I knew would probably install the missing files. It did.  I tried to start it again and it started but stopped with an error about its config directory"/var/lib/mympd/config". The directory was there along with a "state" directory, but the config directory was owned by root, and not writeable to user mympd so I changed the permissions to 777 as the easiest solution. I assumed user mympd would be writing the config file ? Anyway I restarted my pi, reloaded the snakeoil webapp, went to the music player section hit the remote icon and bam! I had mympd. I knew something like it must be in the music mpd section and it started my searches of the snakeoil os forums for clues. I am not saying this is the approved solution, there are more elegant ways I would assume - world writeable directories are usually frowned upon - but I am the only one using the machine so I took a short cut. Anyway I am thrilled with snake oil after a few years with moode. And will be making a second "donation" now that I see what it is.. Smile

John
[-] The following 1 user Likes criminalzen's post:
  • Snoopy8
Reply

#4
(21-Sep-2022, 08:42 AM)criminalzen Wrote: Sorry, I got carried away with mympd and playing music.. :

I fixed the issue by trying to start mympd from command line and learned that libid3tag.so.0 was not installed. After a few attempts I installed libid3tag* which I knew would probably install the missing files. It did.  I tried to start it again and it started but stopped with an error about its config directory"/var/lib/mympd/config". The directory was there along with a "state" directory, but the config directory was owned by root, and not writeable to user mympd so I changed the permissions to 777 as the easiest solution. I assumed user mympd would be writing the config file ? Anyway I restarted my pi, reloaded the snakeoil webapp, went to the music player section hit the remote icon and bam! I had mympd. I knew something like it must be in the music mpd section and it started my searches of the snakeoil os forums for clues. I am not saying this is the approved solution, there are more elegant ways I would assume - world writeable directories are usually frowned upon - but I am the only one using the machine so I took a short cut. Anyway I am thrilled with snake oil after a few years with moode. And will be making a second "donation" now that I see what it is.. Smile

John
Hmm. The upgrade script of 1.2.7 is supposed to fix up all the file permissions, and install libid3tag.. Unsure why that isn't working.. :/ Something for me to double check later again. Thanks for the heads up.

Edit: I checked the upgrade scripts and it should already be doing all the things you've said. What version of Raspbian are you using? I'll probably fire up a fresh install and re-try this sometime later as I couldn't recreate this issue.
Snakeoil Operating System - Music, your way!
Reply

#5
(24-Sep-2022, 10:17 AM)agent_kith Wrote:
(21-Sep-2022, 08:42 AM)criminalzen Wrote: Sorry, I got carried away with mympd and playing music.. :

I fixed the issue by trying to start mympd from command line and learned that libid3tag.so.0 was not installed. After a few attempts I installed libid3tag* which I knew would probably install the missing files. It did.  I tried to start it again and it started but stopped with an error about its config directory"/var/lib/mympd/config". The directory was there along with a "state" directory, but the config directory was owned by root, and not writeable to user mympd so I changed the permissions to 777 as the easiest solution. I assumed user mympd would be writing the config file ? Anyway I restarted my pi, reloaded the snakeoil webapp, went to the music player section hit the remote icon and bam! I had mympd. I knew something like it must be in the music mpd section and it started my searches of the snakeoil os forums for clues. I am not saying this is the approved solution, there are more elegant ways I would assume - world writeable directories are usually frowned upon - but I am the only one using the machine so I took a short cut. Anyway I am thrilled with snake oil after a few years with moode. And will be making a second "donation" now that I see what it is.. Smile

John
Hmm. The upgrade script of 1.2.7 is supposed to fix up all the file permissions, and install libid3tag.. Unsure why that isn't working.. :/ Something for me to double check later again. Thanks for the heads up.

Edit: I checked the upgrade scripts and it should already be doing all the things you've said. What version of Raspbian are you using? I'll probably fire up a fresh install and re-try this sometime later as I couldn't recreate this issue.
Ok I have done a couple of reinstalls and have identified the problem (I think). This is for 1.26 snakeoil installer for raspberry pi running buster lite 32 bit os.(current). The installer runs through all the checks and installations until it reaches

# Prepping Your System For Snakeoil.
  + Startup script... OK
  + Web server... OK
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ubuntu-restricted-extras
chown: invalid user: ‘squeezeboxserver:nogroup’
ERROR
Selecting previously unselected package logitechmediaserver.
(Reading database ... 56433 files and directories currently installed.)
Preparing to unpack .../logitechmediaserver_8.2.1_1652959290_arm.deb ...
Unpacking logitechmediaserver (8.2.1~1652959290) ...
dpkg: dependency problems prevent configuration of logitechmediaserver:
 logitechmediaserver depends on libcrypt-openssl-rsa-perl; however:
  Package libcrypt-openssl-rsa-perl is not installed.

dpkg: error processing package logitechmediaserver (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 logitechmediaserver
 !!!!! ERROR !!!!!
Cannot install LMS

So I did a apt --fix-broken-install and got the following...

[email protected]:~ $ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl
The following NEW packages will be installed:
  libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl
  libcrypt-openssl-rsa-perl
0 upgraded, 3 newly installed, 0 to remove and 27 not upgraded.
1 not fully installed or removed.
Need to get 60.0 kB of archives.
After this operation, 216 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libcrypt-openssl-bignum-perl armhf 0.09-1+b4 [24.3 kB]
Get:2 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libcrypt-openssl-random-perl armhf 0.15-2+b1 [11.1 kB]
Get:3 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf libcrypt-openssl-rsa-perl armhf 0.31-1+b3 [24.6 kB]
Fetched 60.0 kB in 1s (41.8 kB/s)
Selecting previously unselected package libcrypt-openssl-bignum-perl.
(Reading database ... 60588 files and directories currently installed.)
Preparing to unpack .../libcrypt-openssl-bignum-perl_0.09-1+b4_armhf.deb ...
Unpacking libcrypt-openssl-bignum-perl (0.09-1+b4) ...
Selecting previously unselected package libcrypt-openssl-random-perl.
Preparing to unpack .../libcrypt-openssl-random-perl_0.15-2+b1_armhf.deb ...
Unpacking libcrypt-openssl-random-perl (0.15-2+b1) ...
Selecting previously unselected package libcrypt-openssl-rsa-perl.
Preparing to unpack .../libcrypt-openssl-rsa-perl_0.31-1+b3_armhf.deb ...
Unpacking libcrypt-openssl-rsa-perl (0.31-1+b3) ...
Setting up libcrypt-openssl-bignum-perl (0.09-1+b4) ...
Setting up libcrypt-openssl-random-perl (0.15-2+b1) ...
Setting up libcrypt-openssl-rsa-perl (0.31-1+b3) ...
Setting up logitechmediaserver (8.2.1~1652959290) ...
Adding system user `squeezeboxserver' (UID 110) ...
Adding new user `squeezeboxserver' (UID 110) with group `nogroup' ...
Not creating home directory `/usr/share/squeezeboxserver'.
Created symlink /etc/systemd/system/multi-user.target.wants/logitechmediaserver.service → /lib/systemd/system/logitechmediaserver.service.
Processing triggers for man-db (2.9.4-2) ...
[email protected]:~ $

If I rerun the snakeoil installer it checks all and completes.. and mympd works fine without the 1.27 update

This is a lot if words to say my original problem was a broken install Tongue I you want to remove this thread that is fine
with me..

John
Reply

#6
(25-Sep-2022, 02:06 AM)criminalzen Wrote: If I rerun the snakeoil installer it checks all and completes.. and mympd works fine without the 1.27 update

This is a lot if words to say my original problem was a broken install Tongue I you want to remove this thread that is fine
with me..
I'll keep this thread. Thanks for the detailed diagnostics, I will update the installer to include those missing libraries.

1.2.6 version of MPD works fine (via the installer). However from 1.2.7 onwards myMPD is now using dynamic linking (1.2.6 is using static), that's why libid3tag0 is required in 1.2.7. Edit: My bad, 1.2.6 is also using dynamically linked myMPD. 

This is really to overcome a problem with Ubuntu (x86_64) builds. static linking is one of the magic why Snakeoil sounds so good, but that has become a problem as there is this library (glibc) that is causing the software to crash (aka segmentation faults).

Have since learnt to fix this I have to rebuild my automation systems to use an old version of Ubuntu (16.04) and that will work. However i am unsure if that will affect sound quality. Something to ponder later when I have more time I guess.
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  upmpdcli unable to start Snoopy8 0 1 1 hour ago
Last Post: Snoopy8
  dsd output music player Tecko 3 36 26-Nov-2022, 04:15 AM
Last Post: Snoopy8
  LMS scans no music Tecko 2 34 16-Nov-2022, 08:38 AM
Last Post: agent_kith
  Possible to connect out of HDMI instead of USB? emptor 8 147 09-Sep-2022, 06:01 PM
Last Post: traver02
  No LMS Remote on Raspberry Pi Pit Stop Plato 20 454 18-Apr-2022, 06:23 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
Snakeoil Firmware - 1.2.8 (Gear Isolatio...
Last Post: Snoopy8
Today 01:50 PM
» Replies: 18
» Views: 788
upmpdcli unable to start
Last Post: Snoopy8
Today 01:33 PM
» Replies: 0
» Views: 1
Kernel Builder Updates
Last Post: agent_kith
04-Dec-2022 03:43 PM
» Replies: 18
» Views: 523
LMS not able to play MP3
Last Post: agent_kith
04-Dec-2022 08:52 AM
» Replies: 17
» Views: 140
Desktop environment
Last Post: agent_kith
04-Dec-2022 08:47 AM
» Replies: 4
» Views: 41
[split] Cannot install Roon Bridge
Last Post: agent_kith
04-Dec-2022 08:44 AM
» Replies: 1
» Views: 8
Horror Dashboard
Last Post: pommede
29-Nov-2022 04:32 PM
» Replies: 17
» Views: 256
Roonserver/Hqplayer do not install
Last Post: Tecko
27-Nov-2022 06:09 PM
» Replies: 4
» Views: 44
dsd output music player
Last Post: Snoopy8
26-Nov-2022 04:15 AM
» Replies: 3
» Views: 36
Diretta protocol
Last Post: Evach
21-Nov-2022 08:12 PM
» Replies: 2
» Views: 59

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2022 Melroy van den Berg.