"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...

john@raspberrypi:~ $ 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) ...
john@raspberrypi:~ $

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
  [SOLVEDMPD player not working lutek71 7 218 27-Sep-2024, 11:54 AM
Last Post: Snoopy8
  [SOLVEDSoftware volume control MPD with ALSA SandroN 14 5,449 14-Oct-2023, 08:51 PM
Last Post: vinaymoturi
  I dont have write permissions on /media/music after install patricia1066 5 1,040 18-Jun-2023, 04:37 AM
Last Post: patricia1066
  [SOLVEDUnable to disable myMPD mb32 5 1,390 11-Feb-2023, 08:04 AM
Last Post: Bromf
  LMS scans no music Tecko 3 1,078 01-Feb-2023, 06:24 AM
Last Post: cpcat



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
Howto setup resampling in Logitech Media...
Last Post: Coacharnold
18-Nov-2024 12:06 AM
» Replies: 7
» Views: 5799
Dropping Measurements, Hello High-End.
Last Post: agent_kith
26-Oct-2024 09:02 AM
» Replies: 12
» Views: 445
Very happy to have Sankeoil......! mpd w...
Last Post: run51
24-Oct-2024 05:35 AM
» Replies: 9
» Views: 1677
SO no soundcard detected - RPI Pi4 snake...
Last Post: run51
21-Oct-2024 10:55 PM
» Replies: 4
» Views: 105
download
Last Post: Snoopy8
19-Oct-2024 05:52 AM
» Replies: 1
» Views: 105
Full proces to instal snakeiol 100% work...
Last Post: audioluthier
11-Oct-2024 02:32 AM
» Replies: 9
» Views: 336
A network protocol designed for CAS
Last Post: hkphantomgtr
10-Oct-2024 09:48 PM
» Replies: 0
» Views: 85
CAS with "Single Core"
Last Post: hkphantomgtr
06-Oct-2024 08:32 AM
» Replies: 2
» Views: 116
MPD player not working
Last Post: Snoopy8
27-Sep-2024 11:54 AM
» Replies: 7
» Views: 218
LMS playing DFF files sampling rate
Last Post: Snoopy8
16-Sep-2024 07:45 PM
» Replies: 5
» Views: 151

[-]
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-2024. Theme © Melroy van den Berg.