(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..
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
I you want to remove this thread that is fine
with me..
John