We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


"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
  Music Library and SSD Huey 2 344 11-May-2025, 05:01 AM
Last Post: Huey
  [SOLVEDupmpdcli unable to start Snoopy8 7 2,190 09-May-2025, 08:16 PM
Last Post: Amph
  [SOLVEDHow to delete MPD music file database in Snakeoil? hkphantomgtr 4 483 29-Apr-2025, 02:46 PM
Last Post: hkphantomgtr
  [SOLVEDMusic Players missing justme 2 532 31-Jan-2025, 01:07 PM
Last Post: justme
  [SOLVEDMPD player not working lutek71 7 1,305 27-Sep-2024, 11:54 AM
Last Post: Snoopy8



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
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 1626
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1216
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 7458
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 739
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 534
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4157
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 4516
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 12834
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 3527
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 953

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