[SOLVED] [split] LMS Trouble in 18.04 Bionic and Blind Testing U7
|
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
25-Sep-2019, 03:44 AM
(This post was last modified: 25-Sep-2019, 03:59 AM by patricia1066.)
I upgraded to 1.1.7 fw and to Ubuntu 18.04.3 LTS effectively in putty. then updated using the webservice.
Since booting up LMS service has not started.
patricia@t520:~$ service logitechmediaserver start
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
Authentication is required to start 'logitechmediaserver.service'.
Multiple identities can be used for authentication:
1. www-data
2. patricia,,, (patricia)
Choose identity to authenticate as (1-2):
Invalid response `patricia'.
==== AUTHENTICATION CANCELED ===
Failed to start logitechmediaserver.service: Access denied
See system logs and 'systemctl status logitechmediaserver.service' for details.
patricia@t520:~$
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
Perhaps I can use this wiki to upload latest LMS to Snakeoil. Any changes required by Snakeoil?
http://wiki.slimdevices.com/index.php/Debian_Package
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
(25-Sep-2019, 05:51 AM)patricia1066 Wrote: Perhaps I can use this wiki to upload latest LMS to Snakeoil. Any changes required by Snakeoil?
http://wiki.slimdevices.com/index.php/Debian_Package You can update LMS manually, but remeber to run:
Code: sudo service disable logitechmediaserver
This will disable LMS from auto starting. Deferring the start/stop role to Snakeoil instead. If you select LMS as the music server, Snakeoil will automatically start LMS.
This will conserve your system resources should you want to experiment with another player, e.g. MPD. In this instance, Snakeoil will shutdown LMS and start MPD.
PS: The reason why you can't start LMS in your earlier post is because you didn't use "sudo". Also starting (or restarting) the service manually is unnecessary as it's best to leave this to Snakeoil.
Snakeoil Operating System - Music, your way!
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
(25-Sep-2019, 08:42 AM)agent_kith Wrote: (25-Sep-2019, 05:51 AM)patricia1066 Wrote: Perhaps I can use this wiki to upload latest LMS to Snakeoil. Any changes required by Snakeoil?
http://wiki.slimdevices.com/index.php/Debian_Package You can update LMS manually, but remeber to run:
Code: sudo service disable logitechmediaserver
This will disable LMS from auto starting. Deferring the start/stop role to Snakeoil instead. If you select LMS as the music server, Snakeoil will automatically start LMS.
This will conserve your system resources should you want to experiment with another player, e.g. MPD. In this instance, Snakeoil will shutdown LMS and start MPD.
PS: The reason why you can't start LMS in your earlier post is because you didn't use "sudo". Also starting (or restarting) the service manually is unnecessary as it's best to leave this to Snakeoil.
LMS is correctly installed, so I hope I can get it to start by tweaking it. It wont start through Snakeoil at the moment - see the screenshot. The LMS service starts without comment in putty, but fail s to open either by producing a LMS link on the Music Player tab of Snakeoil, or by opening on the a browser when I type in the correct IP address. LMS is correctly installed.
Code: [font][font][font]patricia@t520:~$ sudo apt-cache policy logitechmediaserver
logitechmediaserver:
Installed: 7.9.0~1475786002
Candidate: 7.9.0~1475786002
Version table:
*** 7.9.0~1475786002 100
100 /var/lib/dpkg/status
Package: logitechmediaserver
Status: install ok installed[/font][/font][/font]
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
26-Sep-2019, 02:31 AM
(This post was last modified: 26-Sep-2019, 03:03 AM by patricia1066.)
I reinstalled LMS from the nightlies wget and dpkg -i. Its working now, I haven't yet disabled service as the webGUI is working fine. Listening to the Bossa Nova now
I read elsewhere that others have had problems getting LMS to work when upgrading to Ubuntu 18.04. There was straightforward advice to check systemctl and reinstall when it failed to start, despite startup script appearing to execute.
Code:
patricia@t520:~$ sudo systemctl daemon-reload
patricia@t520:~$ sudo systemctl enable logitechmediaserver.service
logitechmediaserver.service is not a native service, redirecting to systemd-sysv -install.
Executing: /lib/systemd/systemd-sysv-install enable logitechmediaserver
patricia@t520:~$ sudo service logitechmediaserver start
patricia@t520:~$ sudo systemctl start logitechmediaserver.service
patricia@t520:~$ sudo systemctl status logitechmediaserver.servicelogitechmediaserver.service - LSB: Startup script for the Logitech Media Server
Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
Active: active (running) since Wed 2019-09-25 14:25:14 BST; 4h 16min ago
Docs: man:systemd-sysv-generator(8)
CGroup: /system.slice/logitechmediaserver.service
├─5185 sleep 5
└─8565 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeezSep 25 14:25:14 t520 systemd[1]: Starting LSB: Startup script for the Logitech Media Server...
Sep 25 14:25:14 t520 logitechmediaserver[8556]: Making sure that Logitech Media Server is not running first: start-stop-daemon: warning: failed to kill 8304: No such process
Sep 25 14:25:14 t520 logitechmediaserver[8556]: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Sep 25 14:25:14 t520 logitechmediaserver[8556]: Starting Logitech Media Server.
Sep 25 14:25:14 t520 systemd[1]: Started LSB: Startup script for the Logitech Media Server.
Code: patricia@t520:~$ sudo service disable logitechmediaserver
[sudo] password for patricia:
disable: unrecognized service
patricia@t520:~$ sudo systemctl enable logitechmediaserver.service
logitechmediaserver.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable logitechmediaserver
I spoke too soon. I restarted and now LMS wont run either as a Snakeoil service or when I manually put IP:9000 into a browser window.
Back to where I started yesterday I'm afraid.
I would like to have LMS, and I will remove MPD via the webGUI. Is there a better version to
Code: [color=#000000]logitechmediaserver_7.9.2~1568726655_amd64.deb[/color]
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Hi Pat,
Gonna split this up into it's own dedicated thread for better SEO. I'm almost certain Bionic is still using systemctl. So you don't have to run "service". To get this working, SSH into your machine, and run:
Code: sudo systemctl disable logitechmediaserver
Make sure your LMS have all the necessary dependicies by running the following:
next, reboot the Snakeoil PC.
Now login to the Snakeoil webApp. You should still see LogitechMediaServer as one of the media players. Make sure this option is selected. If you are only using LMS as a server, uncheck the client box. Now hit Save.
Wait for the players to load. And you should see at the top that the LMS is loaded (it'll show you a PID), or errored out (red error text).
If these steps don't work, click on the red error text and let me know what it says.
Snakeoil Operating System - Music, your way!
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
(26-Sep-2019, 07:44 AM)agent_kith Wrote: Hi Pat,
Gonna split this up into it's own dedicated thread for better SEO. I'm almost certain Bionic is still using systemctl. So you don't have to run "service". To get this working, SSH into your machine, and run:
Code: sudo systemctl disable logitechmediaserver
Make sure your LMS have all the necessary dependicies by running the following:
next, reboot the Snakeoil PC.
Now login to the Snakeoil webApp. You should still see LogitechMediaServer as one of the media players. Make sure this option is selected. If you are only using LMS as a server, uncheck the client box. Now hit Save.
Wait for the players to load. And you should see at the top that the LMS is loaded (it'll show you a PID), or errored out (red error text).
If these steps don't work, click on the red error text and let me know what it says. I followed the steps, code and uninstalling squeezelite players and LMS did start up independent of Snakeoil. The Player page has shown "working" symbol after two restarts. Yet LMS is actually playing to a SB3 and a valid LMS link has been provided by the webGUI. No PID though or red error yet. Its still working, It says its waiting for a client although all the squeezelite players have been uninstalled.
Next step is to reinstall a client player and choose it, I'll update this which you will read in the early hours of a UK day!
By the way, thanks for such quick and on point assistance.
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
27-Sep-2019, 06:41 AM
(This post was last modified: 27-Sep-2019, 06:43 AM by patricia1066.)
I tried with and without the client player; still the spinning wheel every time. This is the LMS log since I started it up this evening.
Code: [19-09-26 23:29:04.1001] main::init (387) Starting Logitech Media Server (v7.9.2, 1568726655, Tue Sep 17 15:48:36 CEST 2019) perl 5.026001 - x86_64-linux-gnu-thread-multi
2019-09-26 23:31:38 squeezeboxserver_safe stopped.
2019-09-26 23:31:39 squeezeboxserver_safe started.
[19-09-26 23:31:41.8401] main::init (387) Starting Logitech Media Server (v7.9.2, 1568726655, Tue Sep 17 15:48:36 CEST 2019) perl 5.026001 - x86_64-linux-gnu-thread-multi
[19-09-26 23:31:44.5889] Slim::Web::JSONRPC::requestMethod (486) 00:04:20:12:91:e4: request not dispatchable!
2019-09-26 23:31:52 squeezeboxserver_safe stopped.
2019-09-26 23:31:52 squeezeboxserver_safe started.
[19-09-26 23:31:55.4344] main::init (387) Starting Logitech Media Server (v7.9.2, 1568726655, Tue Sep 17 15:48:36 CEST 2019) perl 5.026001 - x86_64-linux-gnu-thread-multi
[19-09-26 23:31:58.5898] Slim::Web::JSONRPC::requestMethod (486) 00:04:20:12:91:e4: request not dispatchable
Posts: 2,783
Threads: 178
Joined: Feb 2016
Reputation:
482
Location: Perth, WA
Probably a good idea for me to do a team viewer session with you, so I can remotely log in and see what's going on. Will email you shortly with details.
Snakeoil Operating System - Music, your way!
Posts: 88
Threads: 9
Joined: Aug 2019
Reputation:
22
Location: London
28-Sep-2019, 10:47 PM
(This post was last modified: 28-Sep-2019, 10:49 PM by patricia1066.)
Thanks Agent Kith, you set me up with version 1.0 and the file sharing kernel; updating to Ubuntu 18.04 breaks this. Thanks for showing me how easy it is to install a .deb for LMS nightly. Literally drag and drop into the browser window. Follow up with
Code: sudo service disable logitechmediaserver
Later I added users to the audio group as advised in the squeezebox Debian article I linked to; changed the workgroup in /etc/samba/smb.conf;
Its all working well with full audio codecs in place for LMS. If anything else was needed to set it up can you comment here please.
|
Possibly Related Threads… |
Thread |
Author |
Replies |
Views |
Last Post |
|
[split] Cannot install Roon Bridge |
kees1000 |
3 |
1,386 |
27-May-2023, 07:27 PM
Last Post: pikachullk
|
|
[SOLVED] [split] Cannot update to RPi Snakeoil Firmware Gear Isolation U10 |
uglymusic |
10 |
2,240 |
15-Feb-2023, 03:32 PM
Last Post: uglymusic
|
|
[split] MPD v23 crashes after updating to Gear Isolation U10 |
sammywong |
8 |
1,790 |
01-Jan-2023, 10:36 AM
Last Post: agent_kith
|
|
[SOLVED] [split] Missing HPET clocksource option |
hkphantomgtr |
10 |
2,782 |
03-Jun-2022, 11:30 AM
Last Post: hkphantomgtr
|
|
[SOLVED] [split] Cannot Activate Snakeoil in 1.2.x (Gear Isolation) |
hkphantomgtr |
11 |
2,980 |
08-May-2022, 06:00 PM
Last Post: hkphantomgtr
|
Users browsing this thread: |
3 Guest(s)
|
|
Welcome
|
You have to register before you can post on our site.
|
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.
|
|
|