Project

General

Profile

Bug #1580

Logitech Media Server

Added by Eno about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Apps
Target version:
Start date:
11/25/2014
Due date:
% Done:

0%


Description

The app reported a failed install; log as follows:

======= app install begin @ 2014-11-25 21:19:16 +0000 ==========
Installing app id 3ts0kzc0i1 under /var/hda/platform/html/script/.. ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Downloading application files....
NOTE: file /var/hda/tmp/amahi-download-cache/d54f1293abb339d67c69ed96bbd4c879d5e77275 written in cache
/var/hda/platform/html/lib/system_utils.rb:66:in `run_script': run_script had to KILL this script. it was taking too long. sorry. (RuntimeError)
from /var/hda/platform/html/app/models/app.rb:241:in `block in install_bg'
from /var/hda/platform/html/app/models/app.rb:240:in `chdir'
from /var/hda/platform/html/app/models/app.rb:240:in `install_bg'
from /var/hda/platform/html/script/install-app:86:in `install_or_uninstall'
from /var/hda/platform/html/script/install-app:107:in `main'
from /var/hda/platform/html/script/install-app:119:in `<main>'
NOTE: file /var/hda/tmp/amahi-download-cache/77429df6e0917b391048cc2a36bfb904b8724c3e written in cache
Done!
Installing dependencies and application files...
Enabling and starting squeezeboxserver service...
Point your web browser to http://localhost.localdomain:9000/ to configure Logitech Media Server.
Done!
usermod: user 'squeezeboxserver?' does not exist
Reloading systemctl daemon
Enabling squeezeboxserver.service
Starting squeezeboxserver.service

The install appears almost successful infact.

- WebUI available via port 9000.
- Music Streaming and Syncing works.

However due to the fail message the following isn't available:

- Server status in Amahi WebUI.
- App isn't listed as installed.

History

#1 Updated by bigfoot65 about 5 years ago

  • Category set to Apps
  • Status changed from New to Feedback
  • Assignee set to Eno
  • Priority changed from Low to Normal
  • Target version set to amahi-7-3

What Amahi version are you using?

BTW, this app is not LIVE and likely why it's not working. If you are using Amahi 7 and would like to help with resolving/testing it, please let us know.

For future, recommend you check the app status at the bottom right side of the amahi.org apps store before installing applications. Any application not LIVE will likely have bugs or no work at all.

#2 Updated by Eno about 5 years ago

Hi,

I have installed from the amahi 7 express CD. Settings list the platform as 7.4.0-1

I am happy to help with testing, hence my posting here (or was this the wrong location?) sadly my skills with linux are limited to investigation only at the moment.

I was aware of the application status, and took the risk anyway. I posted this in the hope it would be of use to whoever if anyone is maintaining the app install script.

UPDATE: Clicking install again has added the server to watchlist and apps menu, all seems functional.

#3 Updated by bigfoot65 about 5 years ago

So you are saying the app works now? Please provide details on what you did after failure and to get it successfully installed.

#4 Updated by Eno about 5 years ago

I clicked the install button again since it had registered a failed install. I would guess this ran the script again, it still raised the "usermod: user 'squeezeboxserver?' does not exist" error but upon completion is now installed properly as a service being monitored and linked from apps list.

Sorry this isn't more descriptive of a fix.

I would therefore assume it was simply a pause required in the script to wait for the service to start properly before trying to register it?

#5 Updated by bigfoot65 about 5 years ago

It must have been a connectivity issue with downloading the applicable files. I did not change anything in the script.

I will do some additional investigation on the usermod error and see if we can make this one more solid. It should never fail to install.

#6 Updated by bigfoot65 almost 5 years ago

  • Status changed from Feedback to Closed

Corrected usermod error. Remove it from script as it was not needed.

Also available in: Atom