Changes

From Amahi Wiki
Jump to: navigation, search
2,430 bytes added ,  03:54, 23 June 2020
no edit summary
{{NeedsUpdate}}<br />'''NOTE:''' This guidance does not apply to Amahi 9 (Fedora 23) or newer. == App Fix for Fedora 12 to 14 Squeezebox Server Upgrade ==
[[Category:Apps]]
Sometimes the Upgrade from Fedora 12 to Fedora 14 causes the [http://www.amahi.org/apps/logitech-media-server Logitech Media Server] (formerly Squeezebox Server to fail, causing an ) may not work correctly. If it shows the error message ": The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later." '''The following steps resolve the issue:''' [[Open_Terminal_as_root|Open terminal]] on the HDA enter the following commands and accept all defaults ('''DO NOT''' copy and paste): cpan '''NOTE:''' At the cpan prompt type <code>force install CGI::Cookie</code> and followed by <code>quit</code> when finished. Start squeezeboxserver: service squeezeboxserver start '''NOTE:''' If you still receive the message above, a restart of the HDA may be required.  == Playing AAC files on 64-bit installs ==Squeezebox server plays AAC files natively, but uses a 32-bit library. On 64-bit machines you may get an error message on your squeezebox saying Problem: Can't open file for: [song title] A simple fix for this problem is to install the 32-bit glib package. [[Open_Terminal_as_root|Open terminal]] on your HDA and enter the following: yum install glib.i686Your AAC files should play on successful installation. (source: [[http://forums.amahi.org/viewtopic.php?f=14&t=2734|this forum post]])
When logging in ==Squeezebox and locally mounted shares==If you access your media files using [https://wiki.amahi.org/index.php/Mount_Shares_Locally locally mounted shares] (eg if you are a [https://wiki.amahi.org/index.php/Greyhole Greyhole] user), you will need to change the permissions of your squeezebox server user. The squeezebox service is run by a GUI session special user <i>squeezeboxserver</i> who doesnt have access to the following boot error message may be shown:local shares by default.
Starting Squeezebox Server: The following CPAN modules were found but cannot work with Squeezebox ServerTo fix, open terminal and type:CGI::Cookie (loaded <not found>, need 1.27) sudo usermod -a -G users squeezeboxserver
To fix this problem You may need to restart your squeezebox server. Now when you have several options:want to add directories to your squeezebox using the web interface all your shares should be accessible.
1. Install the latest version of the module(s) using CPAN: sudo cpan Some::Module
2== unblock-us DNS issue with mysqueezebox.com Workaround (Fedora 19) ==The unblock-us.com domain name servers do not resolve mysqueezebox.com subdomains properly (eg content.mysqueezebox.com, update.mysqueezebox.com). Update This breaks the moduleMySB network connection for squeezeboxes connected to the server and means they can's package using apt-get, yum, etct play pandora or other apps.
3Workaround:Amahi 7 uses dnsmasq for the domain name service, which has an option to use an alternative DNS for particular domains (see "using special servers" from the documentation [http://www.thekelleys.org. Run the uk/dnsmasq/docs/setup.tarhtml|this here]).gz version We can specify that the Amahi DNS uses the Google or OpenDNS servers instead of Squeezebox Server which includes all required CPAN modulesunblock-us.com for MySB requests.
The following steps resolve the issue:step 1. choose DNS server - I used GoogleDNS (8.8.8.8) but this should work with OpenDNS as well 208.67.222.222
In (optional step 1a. You may wish to make a copy of the dnsmasq.conf file before editing. Type in terminal on the HDA do the following: sudo cp /etc/dnsmasq.conf /etc/dnsmasq.conf.old}
Type 'yum install perl-CPAN' and accept all the promptsstep 2. add a custom setting to your dnsmasq.conf file using terminal:
Type 'cpan' and accept all defaults (configuring cpan takes a while) sudo vi /etc/dnsmasq.conf
At Page down to the cpan prompt type 'force install CGI:very end of the file, then press "i" to insert new text:Cookie'
Leave cpan by typing 'quit'<code>server=/mysqueezebox.com/8.8.8.8</code>
Type Press esc to exit editing mode, then :w to write to the file, :q to save it and you'/etc/initre done! I restarted the DNS server using the Amahi control panel as well.d/squeezeboxserver start' You can test by directing your browser to start squeezeserverupdate.mysqueezebox.com - it should show a directory.
12,424

edits