Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-05-12 Thread DLD-UK


I only recently came back to this. Following Ronnie's instructions
(thank you for that Ronnie) I got a little further but still no joy.

The results I got were different. Whether this is because I'm still
using Ubuntu 20.10 or because when I went to install LMS 8.2 it was a
different revision, I don't know. As the results were different I
decided to remove LMS and start from scratch. But I guess that removing
LMS does not remove the account etc. as the new install did not create a
new account as shown in Ronnie's install.

I am further along in that I can connect to LMS from a browser but then
I get stuck at the mysqueezebox login prompt. It seems to be trying to
run a wizard but entering my login details does nothing.

For some reason mysqueezebox.com appeared to think my password was wrong
and it took a number of password reset requests before I got a new
password. I can login to mysqueezebox.com from another browser window so
clearly the new password is working.

But still no joy. Does this mean I need a different account and password
for each server?

I find it very strange that I need to enter a mysqueezebox.com login
before it will run a local wizard. What is the point of that?

Anyone got any idea as to what I do now and how I debug this?



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-30 Thread DLD-UK


Man in a van wrote: 
> Well I just came back to this thread about 15 minutes ago and picked up
> a sd card I had discarded as not working
> 
> I popped it into the rpi 4b to check out the perl version,  I ran
> ifconfig to get the IP Address but it was not installed (and neither was
> the ethernet cable :o:rolleyes:)
> 
> Connected to the network, added net-tools and alsa-utils, rebooted and
> the installed LMS version 8.2 over the top of 8.1.2.
> 
> I noticed this line
> 
> > 
Code:

  >   > Unpacking logitechmediaserver (8.2.0~1619728313) over 
(8.1.2~1619728303) ...
  > Setting up logitechmediaserver (8.2.0~1619728313) ...
  > Installing new version of config file /etc/default/logitechmediaserver ...
  > Installing new version of config file /etc/squeezeboxserver/convert.conf ...
  > Created symlink 
/etc/systemd/system/multi-user.target.wants/logitechmediaserver.service  
/lib/systemd/system/logitechmediaserver.service.

> > 
> 
> which ran a bell from my earlier hacking.
> 
> Connect a Squeezebox Radio, installed Radio Paradise and it worked.
> 
> Rebooted and it still works
> 
> Waddayaknow !!
> 
> ronnie

I'm not sure I understand your post. Are you saying that installing LMS
8.2 works?



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-30 Thread DLD-UK


Thanks guys for your help.

Does this mean that LMS wants a specific version of Perl? I really don't
know how to interpret it. At least it looks like I wasn't doing anything
stupid!



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


Thank you.

I'm in the UK.



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


Man in a van wrote: 
> @DLD-UK
> 
> Start from the beginning
> 
> Which ubuntu did you install on the pi and is  it headless or a desktop
> version?
> 
> and please provide the link to the download image 
> 
> ronnie

The ubuntu version is 20.10 server headless. It was downloaded by the
Raspberry Pi imager software so I can't provide a link. It is running
fine. In fact I am impressed with how well it runs on the Pi which is a
Pi 4 with 8GB.

I tried the LTS version which is what I really wanted but that would not
boot from the SSD. I don't know why but I guess it is just not as up to
date as 20.10.

MiniDLNA was also a dream to install. My only problem is getting LMS to
install. I have followed all the instructions I have found on the
Internet and done an uninstall between each attempt.

With all of the instructions I have followed I end up with the same
result. LMS appears to be installed but dies as soon as it is started.

I thought the most likely issue was the version of Perl and I'm sure I'm
missing some Perl libraries. I could not find which version of Perl LMS
8.1.1 wants? I updated Perl to the latest version and tried again but it
still failed

I've been running LMS 8.1.1 on Windows for a while and never had an
issue so I don't have a clue how to work out why it is failing on
Ubuntu.



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


Man in a van wrote: 
> As you did not reply to my question, maybe this will help (or maybe not
> :))
> 
> https://forums.slimdevices.com/showthread.php?112185-Logitech-Media-Server-on-Ubuntu-20-04
> 
> ronnie

Sorry, I didn't reply because I didn't understand your post. I went to
the link and didn't find anything about LMS and Ubuntu is working fine.
What was I missing?

I got LMS from the standard LMS download site.

I have read the link you posted now but I am still looking for a
definitive guide to installing LMS on Ubuntu. Everything I find is so
confusing and I've removed everything a number of times and started
again, without success.

One of the most confusing things is that all the instructions talk about
Logitechmediaserver and Squeezebox server. That makes it very difficult
to know what to search for.

It is not clear to me whether the postings I find on the Internet are
referring to the latest versions or old versions.

I'm sure I am missing some Perl libraries but which? Why are they not
installed as part of LMS?

One poster on the Internet I've followed said that he got everything to
work except for a firewall issue. I disabled the firewall to ensure it
wasn't that. Still no joy.

So, I am completely lost! I assume LMS has a way of posting more debug
information to tell me why it keeps dying, but I don't know how to get
that info?



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


paul- wrote: 
> There must be more information in the log than just "Logitech Media
> Server died".   Likely a perl or perl library issue.   Make sure you
> have installed "libio-socket-ssl-perl" at a minimum.
> 
> What version of ubuntu, and what perl version is it using (perl -v) ?

I upgraded to Perl v5.30.3. Not sure why a fresh install of Ubuntu
followed by all updates had a older version but so be it.

However, it still doesn't work. What libraries do I need to install. 

The only errors I am getting in the log is that the server died and is
restarting. That is just continuous.

Is there somewhere else I should be looking?



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


v2k wrote: 
> I just did this but still can't remember much :)
> 
> My issue was that LMS was seen as running but I couldn't connect to it.
> It turned out that a bunch of perl libraries was missing. If you stop
> the service (sudo service logitechmediaserver stop) and then run it
> manually (squeezeboxserver) it ought to tell you what's missing.
> 
> How did you have to change the filenames? As far as I know Linux
> filenames are quite forgiving.

It took me a while to figure out what was going on but the copying of
files from my SSD backup from Windows to the Ubuntu SSD would only copy
some files. I'm not sure of all the issues but I think the & in a folder
name was causing some of the problems. I got no copy errors, but the
file copying just stopped.

Bulk Rename Utility is the most wonderful software for sorting such
things out.



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-29 Thread DLD-UK


paul- wrote: 
> There must be more information in the log than just "Logitech Media
> Server died".   Likely a perl or perl library issue.   Make sure you
> have installed "libio-socket-ssl-perl" at a minimum.
> 
> What version of ubuntu, and what perl version is it using (perl -v) ?

Ubuntu is 20.10 (I couldn't get the LTS version to boot from the SSD)
Perl is v5.30.3



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] Need Help getting LMS to run on Ubuntu on Pi 4

2021-04-28 Thread DLD-UK


I've been searching the internet for instructions on how to get LMS to
run on a Pi 4 using Ubuntu.

It is a long time since I've used the command line on Linux but the Pi
is a headless machine so I am back into that world. It's a big
learning/re-learning curve!!

It took a while to get Ubuntu to boot off of the SSD in an Argon One M2
case. I also had to rename all my music files to match Linux naming
conventions.

I chose Ubuntu as I also need to run a DLNA server as well. I understand
that there is a way of getting LMS to act as a DLNA server but I
couldn't work out whether or not that was a good idea. Besides, I need
to build a Ubuntu PVR so I had to learn it anyway.

I've tried to follow the instructions I've found on installing LMS on
the Pi/Ubuntu. It appears to install without errors but then nothing
works. Looking in the log file all I get is endless messages saying
"Logitech Media Server died". What I can't find out is why?

Clearly I have done something totally wrong but I have no idea what? I
also have no idea what steps to take to find out?

Looking for a DLNA server I decided to install MiniDLNA. I have no idea
whether that is a good choice(?) but it installed an ran without any
problems.

Any help much appreciated.



DLD-UK's Profile: http://forums.slimdevices.com/member.php?userid=46157
View this thread: http://forums.slimdevices.com/showthread.php?t=114477

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix