CLOSED: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

micmas
Posts: 7
Joined: Fri Aug 28, 2015 1:47 pm

CLOSED: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby micmas » Mon Apr 04, 2016 2:11 am

Hallo,
since I use Amahi from Vers. 6 to 8 the Squeezeboxserver - installed by Amahi - runs without any problems. Now I make a new install from
the scratch with Fedora 23 and Amahi 9 and all other Amahi apps like Owncloud8, Greyhole, phpMyAdmin etc. running good.

But SBserver I installed it until now for four times again:
At first I did the "cpan" stuff mentioned in the Wiki.
I uninstalled squeeze, searched the HDA for all Sueeze related files and deleted them, then installed SBserver again.
Everytime starting from the dashboard it says: "The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later."

The amahi-app-installer.log still says this:
"=== app install begin @ 2016-04-04 10:39:29 +0200 ==========
Installing app id 3ts0kzc0i1 under /var/hda/platform/html/script/.. ENV=production
file /var/hda/tmp/amahi-download-cache/ef4b3c26dbdbfa35f7be62080cfc910b4ebb4f6b picked up from cache.
Your HDA services have been restarted.
Your HDA services have been restarted.
Installing dependencies and application files...
Done!
Reloading systemctl daemon
Enabling squeezeboxserver.service
squeezeboxserver.service is not a native service, redirecting to systemd-sysv-install
Executing /usr/lib/systemd/systemd-sysv-install enable squeezeboxserver
Starting squeezeboxserver.service
App: Logitech Media Server installed
======= app install end @ 2016-04-04 10:39:50 +0200 =========="

The service status says:
" squeezeboxserver.service - LSB: Startup script for the Logitech Media Server
Loaded: loaded (/etc/rc.d/init.d/squeezeboxserver)
squeezeboxserver.service - LSB: Startup script for the Logitech Media Server
Loaded: loaded (/etc/rc.d/init.d/squeezeboxserver)
Active: active (exited) since Mo 2016-04-04 10:39:48 CEST; 24min ago "

But there is one error: "/etc/rc.d/init.d/squeezeboxserver. Zeile 38 - Einstelliger (unärer) Operator erwartet"

Could you please help me to use my Squeezeboxes with Amahi 9 again.

Kind regards
from Germany
Michael

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby bigfoot65 » Mon Apr 04, 2016 2:44 am

Hello,

I am sorry to hear you are having issues.

logitech-media-server App is not LIVE for Amahi 9 on Fedora 23. It is broken and not ready for use.

Recommend you uninstall it and submit a bug report. Log in with your amahi.org credentials, then select Projects followed by Apps. Finally choose New Issue and enter the details for the problem with the app.

Also provide the URL for the following:

Code: Select all

fpaste --sysinfo
We will take a look at the app as soon as we can. Sorry but there is no estimate as to when we can work on this app or if it will work with Amahi 9.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

micmas
Posts: 7
Joined: Fri Aug 28, 2015 1:47 pm

Re: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby micmas » Mon Apr 04, 2016 4:07 am

Thank you, I've done it:
Bug #2020

Michael

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby bigfoot65 » Mon Apr 04, 2016 8:27 am

Great and thanks!

From now on, progress can be tracked from bug 2020.

I will close this thread.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

mcanderson
Posts: 2
Joined: Sun Apr 10, 2016 4:41 am

Re: CLOSED: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby mcanderson » Sun Apr 10, 2016 4:56 am

I had the same issue, but a manual install of the latest RPM from here works fine: http://downloads-origin.slimdevices.com ... y/?ver=7.9
I used logitechmediaserver-7.9.0-0.1.1460119815.noarch.rpm

Install it by running "sudo su -" on your HDA to become root, then
rpm -Uvh http://downloads-origin.slimdevices.com ... noarch.rpm

You just don't get the use of the squeeze.yourhda.local DNS name, but you can access it on http://hda:9000

However, if you want the nice DNS name, you can add this conf file at /etc/httpd/conf.d/squeezeboxserver.conf (stuff between asterisks - changing yourhda to your hda's name)
***************************************************************

<VirtualHost *:80>

ServerName squeezeboxserver
ServerAlias squeeze.yourhda.local

#DocumentRoot /var/hda/web-apps/squeezeboxserver/html

<Location "/">
Options Indexes FollowSymLinks MultiViews
<If "-s '/etc/httpd/conf.d/htpasswd'">
AuthType Basic
AuthName "User Login Required for This Area"
AuthUserFile /etc/httpd/conf.d/htpasswd
Require valid-user
</If>
<Else>
AllowOverride AuthConfig
Require all granted
</Else>
ProxyPass http://localhost:9000/ Keepalive=On
ProxyPassReverse http://localhost:9000/
</Location>

ErrorLog /var/hda/web-apps/squeezeboxserver/logs/error_log
CustomLog /var/hda/web-apps/squeezeboxserver/logs/access_log combined env=!dontlog

</VirtualHost>

***************************************************************

Then restart apache like this:
[root@localhost conf.d]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service

Finally add a DNS alias to your HDA here: http://hda/tab/network/dns_aliases

and the HDA's apache webserver will forward squeeze.yourhda.local to squeezeboxserver - just like if you installed the Amahi App.

micmas
Posts: 7
Joined: Fri Aug 28, 2015 1:47 pm

Re: CLOSED: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby micmas » Sun Apr 10, 2016 6:57 am

Thank you for your help. It works with a short completion: After installing there was an error after start of the server "Failed to start LSB"
I think, this happens if you try to run lms on 64bit system - the package has been built with 32bit assumptions.

Anyway, as root, I do this (a new symbolic link):
ln -s /usr/lib/perl5/vendor_perl/Slim /usr/lib64/perl5/vendor_perl/Slim

So it worked for me now.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: CLOSED: Trouble with Squeezeboxserver on Amahi 9 - Fedora 23

Postby bigfoot65 » Sun Apr 10, 2016 7:51 am

@mcanderson,

Please add the info you posted to the Amahi wiki. That is our primary source of tutorials and how tos.

@micmas,

Oddly enough that was part of the app install. Not sure why it did not create the symbolic link.

Tested the app and will move it LIVE shortly.

Thanks for the update @mcanderson.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 59 guests