No LMS Remote on Raspberry Pi
#1
Hi there,

I've been mucking around with various hardware platforms and am trying to use both a Raspberry Pi 3 and Raspberry Pi 4 however I cannot seem to get the LMS Web / Remote control option when using the Raspberry Pi version.

I used Raspian 32bit as the base OS (latest version).

Am I missing something?

Screenshots attached.

Thanks in advance Smile


Attached Files Thumbnail(s)
           
Reply

#2
From a web browser, can you go to this URL and see if it works?

http://[ip_address]:9000

Change [ip_address] to the IP of your Snakeoil PC
Snakeoil Operating System - Music, your way!
Reply

#3
(25-Feb-2022, 06:36 AM)agent_kith Wrote: From a web browser, can you go to this URL and see if it works?

http://[ip_address]:9000

Change [ip_address] to the IP of your Snakeoil PC

No luck - error - connection refused. Like the service is non existent.
Reply

#4
(25-Feb-2022, 11:05 AM)Pit Stop Plato Wrote: No luck - error - connection refused. Like the service is non existent.
Can you run the installer again? And C&P the entire output here.
Snakeoil Operating System - Music, your way!
Reply

#5
(25-Feb-2022, 07:03 PM)agent_kith Wrote:
(25-Feb-2022, 11:05 AM)Pit Stop Plato Wrote: No luck - error - connection refused. Like the service is non existent.
Can you run the installer again? And C&P the entire output here.

I am also facing the same issue. LMS not working on RPI4 8gb. raspbian lite installed and snakeoil 1.2.3
Reply

#6
(26-Feb-2022, 07:40 PM)vinaymoturi Wrote: I am also facing the same issue. LMS not working on RPI4 8gb. raspbian lite installed and snakeoil 1.2.3
I'm using a RPi4 8GB as well and no problems with LMS.

Not entirely sure what's happening except I'm using the normal version of Raspbian though. Can you SSH into your Pi, and run the following and C&P the results?

Code:
sudo systemctl status logitechmediaserver

Also, run and see if will install anything, again cut and paste the output so I can see what's happening.
Code:
sudo apt-get install -f -y
Snakeoil Operating System - Music, your way!
Reply

#7
Installation log:

$ sudo bash ./snakeoil-installer-1.2.0-armv7l.sh
# Begin installation of Snakeoil 1.2.0 (Gear Isolation)
  + Checking pre-requistes... OK
    * Checking program (ip)... FOUND
    * Checking program (grep)... FOUND
    * Checking program (head)... FOUND
    * Checking program (tail)... FOUND
    * Checking program (sed)... FOUND
    * Checking program (pgrep)... FOUND
    * Checking program (sha1sum)... FOUND
    * Checking program (tar)... FOUND
    * Checking program (ip)... FOUND
    * Checking program (cat)... FOUND
    * Checking program (mktemp)... FOUND
    * Checking program (cut)... FOUND
    * Checking program (xargs)... FOUND
  + System identified as: Raspbian
    * Updating repos... OK
    * Checking package: net-tools
      - Status: Already installed
    * Checking package: avahi-daemon
      - Status: Already installed
    * Checking package: icewm
      - Status: Already installed
    * Checking package: lighttpd
      - Status: Already installed
    * Checking package: php-cgi
      - Status: Already installed
    * Checking package: tightvncserver
      - Status: Already installed
    * Checking package: libio-socket-ssl-perl
      - Status: Already installed
    * Checking package: libgomp1
      - Status: Already installed
    * Checking package: cifs-utils
      - Status: Already installed
    * Checking package: nfs-common
      - Status: Already installed
    * Checking package: samba
      - Status: Already installed
    * Checking package: python3-future
      - Status: Already installed
  + Creating media folders... OK
  + Checking installer integrity... OK
  + Extracting archive... OK
    - verifying component: snakeoil-rest... OK
    - verifying component: Logitech Media Server... OK
    - verifying component: snakeoil blob... OK
  + Install Snakeoil RestAPI server... OK
  + Installing Snakeoil blob, please be patient... OK
# Prepping Your System For Snakeoil.
  + Startup script... Already installed
  + Web server... OK
  + Logitech Media Server... Already installed
  + Configuring network... ifupdown detected, interface eth0. OK
  + Configuring virtual desktop... OK
  + Configuring boot options... OK
  + Configuring samba... OK
# Cleaning up tmp files... OK
# Installation complete.
# Restarting Snakeoil RestAPI server.
# Please wait at least 1 minute before trying the WebApp



sudo systemctl status logitechmediaserver
● logitechmediaserver.service - LSB: Startup script for the Logitech Media Server
     Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
     Active: active (running) since Mon 2022-02-28 09:54:05 ACDT; 4min 20s ago
       Docs: manConfusedystemd-sysv-generator(8)
    Process: 28344 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 1597)
        CPU: 33.733s
     CGroup: /system.slice/logitechmediaserver.service
             ├─28351 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeeze>
             └─28638 sleep 5

Feb 28 09:54:05 snakeoilpi systemd[1]: Starting LSB: Startup script for the Logitech Media Server...
Feb 28 09:54:05 snakeoilpi logitechmediaserver[28344]: Making sure that Logitech Media Server is not running first:
Feb 28 09:54:05 snakeoilpi logitechmediaserver[28348]: start-stop-daemon: warning: failed to kill 27023: No such process
Feb 28 09:54:05 snakeoilpi logitechmediaserver[28348]: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Feb 28 09:54:05 snakeoilpi logitechmediaserver[28344]: Starting Logitech Media Server.
Feb 28 09:54:05 snakeoilpi systemd[1]: Started LSB: Startup script for the Logitech Media Server.



sudo apt-get install -f -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Reply

#8
(28-Feb-2022, 07:28 AM)Pit Stop Plato Wrote: sudo systemctl status logitechmediaserver
● logitechmediaserver.service - LSB: Startup script for the Logitech Media Server
     Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
     Active: active (running) since Mon 2022-02-28 09:54:05 ACDT; 4min 20s ago
       Docs: manConfusedystemd-sysv-generator(8)
    Process: 28344 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 1597)
        CPU: 33.733s
     CGroup: /system.slice/logitechmediaserver.service
             ├─28351 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeeze>
             └─28638 sleep 5
This is so weird. 

Can you run 
Code:
sudo systemctl restart logitechmediaserver
And see if it still fails?

And then re-run to see if you get the same status as what you posted?
Code:
sudo systemctl status logitechmediaserver

Perhaps uninstall logitechmedia server by running the follow command, and re-run the snakeoil installer.
Code:
sudo apt purge logitechmediaserver -y


I'm going off to work now but so will check back later in a few hours.
Snakeoil Operating System - Music, your way!
Reply

#9
sudo systemctl restart logitechmediaserver

- no output or error

sudo systemctl status logitechmediaserver
● logitechmediaserver.service - LSB: Startup script for the Logitech Media Server
     Loaded: loaded (/etc/init.d/logitechmediaserver; generated)
     Active: active (running) since Mon 2022-02-28 10:25:48 ACDT; 8s ago
       Docs: manConfusedystemd-sysv-generator(8)
    Process: 30099 ExecStart=/etc/init.d/logitechmediaserver start (code=exited, status=0/SUCCESS)
      Tasks: 2 (limit: 1597)
        CPU: 1.576s
     CGroup: /system.slice/logitechmediaserver.service
             ├─30106 /bin/bash /usr/sbin/squeezeboxserver_safe /usr/sbin/squeezeboxserver --prefsdir /var/lib/squeezeboxserver/prefs --logdir /var/log/squeezeboxserver/ --cachedir /var/lib/squeeze>
             └─30115 sleep 5

Feb 28 10:25:48 snakeoilpi systemd[1]: Starting LSB: Startup script for the Logitech Media Server...
Feb 28 10:25:48 snakeoilpi logitechmediaserver[30099]: Making sure that Logitech Media Server is not running first:
Feb 28 10:25:48 snakeoilpi logitechmediaserver[30103]: start-stop-daemon: warning: failed to kill 28351: No such process
Feb 28 10:25:48 snakeoilpi logitechmediaserver[30103]: No process in pidfile '/var/run/logitechmediaserver.pid' found running; none killed.
Feb 28 10:25:48 snakeoilpi logitechmediaserver[30099]: Starting Logitech Media Server.
Feb 28 10:25:48 snakeoilpi systemd[1]: Started LSB: Startup script for the Logitech Media Server.

sudo apt purge logitechmediaserver -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  logitechmediaserver*
0 upgraded, 0 newly installed, 1 to remove and 8 not upgraded.
After this operation, 167 MB disk space will be freed.
(Reading database ... 108441 files and directories currently installed.)
Removing logitechmediaserver (8.0.1~1606059084) ...
(Reading database ... 104281 files and directories currently installed.)
Purging configuration files for logitechmediaserver (8.0.1~1606059084) ...
Removing user `squeezeboxserver' ...
Warning: group `nogroup' has no more members.
Done.

Reinstall:


 sudo bash ./snakeoil-installer-1.2.0-armv7l.sh
# Begin installation of Snakeoil 1.2.0 (Gear Isolation)
  + Checking pre-requistes... OK
    * Checking program (ip)... FOUND
    * Checking program (grep)... FOUND
    * Checking program (head)... FOUND
    * Checking program (tail)... FOUND
    * Checking program (sed)... FOUND
    * Checking program (pgrep)... FOUND
    * Checking program (sha1sum)... FOUND
    * Checking program (tar)... FOUND
    * Checking program (ip)... FOUND
    * Checking program (cat)... FOUND
    * Checking program (mktemp)... FOUND
    * Checking program (cut)... FOUND
    * Checking program (xargs)... FOUND
  + System identified as: Raspbian
    * Updating repos... OK
    * Checking package: net-tools
      - Status: Already installed
    * Checking package: avahi-daemon
      - Status: Already installed
    * Checking package: icewm
      - Status: Already installed
    * Checking package: lighttpd
      - Status: Already installed
    * Checking package: php-cgi
      - Status: Already installed
    * Checking package: tightvncserver
      - Status: Already installed
    * Checking package: libio-socket-ssl-perl
      - Status: Already installed
    * Checking package: libgomp1
      - Status: Already installed
    * Checking package: cifs-utils
      - Status: Already installed
    * Checking package: nfs-common
      - Status: Already installed
    * Checking package: samba
      - Status: Already installed
    * Checking package: python3-future
      - Status: Already installed
  + Creating media folders... OK
  + Checking installer integrity... OK
  + Extracting archive... OK
    - verifying component: snakeoil-rest... OK
    - verifying component: Logitech Media Server... OK
    - verifying component: snakeoil blob... OK
  + Install Snakeoil RestAPI server... OK
  + Installing Snakeoil blob, please be patient... OK
# Prepping Your System For Snakeoil.
  + Startup script... Already installed
  + Web server... OK
  + Logitech Media Server... OK
  + Configuring network... ifupdown detected, interface eth0. OK
  + Configuring virtual desktop... OK
  + Configuring boot options... OK
  + Configuring samba... OK
# Cleaning up tmp files... OK
# Installation complete.
# Restarting Snakeoil RestAPI server.
# Please wait at least 1 minute before trying the WebApp

Tried again - no luck.
Reply

#10
(28-Feb-2022, 08:08 AM)Pit Stop Plato Wrote: Tried again - no luck.
Something ain't right obviously, but can't be certain what/why.. :/

Can you run the following in a SSH session?
Code:
sudo tail -n 100 /var/log/squeezeboxserver/server.log
You should get 100 lines of output (hopefully that'll be enough). Send me that output so I can see what it's not starting.

Also, can you run the following and tell me what it says?

Code:
lsb_release -a
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  Problem to install Upmdpcli on Raspberry Pi 4 kees1000 6 1,683 16-Jul-2023, 06:54 PM
Last Post: agent_kith
  Raspberry pi 3 b Max2502874 4 1,077 25-May-2023, 04:08 PM
Last Post: Max2502874
  "remote button" under mpd in music player software,fails with "unable to connect: criminalzen 5 1,635 25-Sep-2022, 08:04 AM
Last Post: agent_kith
  [split] Snakeoil Installer - 1.2.0 (Gear Isolation) LMS Not Working On Raspberry Pi 3B vinaymoturi 0 594 24-Feb-2022, 02:32 PM
Last Post: vinaymoturi
  Problem with installing Snakeoil on Raspberry szczemirek 8 2,421 06-Aug-2021, 04:39 PM
Last Post: Bromf



Users browsing this thread:
6 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: 5800
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: 1678
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: 155

[-]
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.