Bug 10519 - ReadyNas Clean Install instructions
: ReadyNas Clean Install instructions
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Web Interface
: 7.3.1
: Infrant ReadyNAS Other
: -- major (vote)
: 8.0.0
Assigned To: Mickey Gee
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-31 15:11 UTC by Walker LaRon
Modified: 2016-11-27 21:02 UTC (History)
4 users (show)

See Also:
Category: Bug


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Walker LaRon 2008-12-31 15:11:38 UTC
Hello All,

I have had 4 or 5 instances of where a customer performs a clean install of SqueezeCenter 7.3.1, and after the second "CleanSqueezeCenter" step, the customers are still not able to pull up the SqueezeCenter GUI from another machine via the ip address (e.g xxx.xxx.xxx.xxx:9000)

This is even after going to Streaming Media, and making sure that SqueezeCenter is checked and running.

However, as soon as the customer clicks the "Setup" button, they are able to connect.

Prior to 7.3, this seemed to work without the need to click this setup button.

Is this something that has changed with SC 7.3?

Please see the steps below:

To perform a clean install of SqueezeCenter on your ReadyNAS, try the following:

--Prepare by Gathering Necessary Files--

Download the following files from the ReadyNAS & Squeezebox download pages:

  1. CleanSqueezeCenter- found here: http://www.readynas.com/?page_id=94
  2. Radiator (ReadyNAS firmware)- latest version found here: http://www.readynas.com/?page_id=102 (ex. RAIDiator-4.1.4)
  3. Squeezecenter for ReadyNAS- found here: http://www.slimdevices.com/su_downloads.html
     * Be sure to get the correct version of SqueezeCenter for your ReadyNAS. We have 2 versions: one for the ReadyNAS Pro specifically, and one for all other versions of ReadyNAS. 
  4. Place those files in a folder on your desktop. 

Run RaidAR, then click on Setup and login to the ReadyNAS Admin page.

--Update ReadyNAS Firmware--

On the Admin page, go to System > Update > Local tab.

  1. Click on Browse and browse to the folder you stored the files in earlier.
  2. Select the Radiator firmware file and click "Upload and verify image..." (ex. RAIDiator-4.1.4.)
  3. Once the file uploads, click on "Perform System Update".
  4. Once the update is finished, go to the Shutdown tab and select "Shutdown and reboot your device", then click Apply. 

Once your ReadyNAS restarts, log into the Admin page again and move on to the next step.

--Run CleanSqueezeCenter--

On the Admin page, go to System > Update > Local tab

  1. Click on Browse and browse to the folder you stored the files in earlier.
  2. Select the CleanSqueezeCenter file and click "Upload and verify image..."
  3. Once the upload is finished, click on "Perform System Update".
  4. You will be prompted to restart the ReadyNAS and directed to the Shutdown tab, select "Shutdown and reboot your device", then click Apply. 

Once your ReadyNAS restarts, log into the Admin page again and move on to the next step.

--Remove Previous Version of SqueezeCenter (or Slimserver) and Install New Version--

On the Admin page, go to Services > Streaming Services.

  1. Check the box next to SqueezeCenter, then click on Remove in the same section.
  2. Now, go to System > Update > Local tab.
  3. Click on Browse and browse to the folder you stored the files in earlier.
  4. Select the Squeezecenter 7.2.1 file and click on "Upload and verify image..."
  5. Once the upload is finished, click on "Perform System Update".
  6. Once the update is finished, go to the Shutdown tab and select "Shutdown and reboot your device", then click Apply. 

Once your ReadyNAS restarts, log into the Admin page again and move on to the next step.

--Run CleanSqueezeCenter (one last time)--

On the Admin page, go to System > Update > Local tab.

  1. Click on Browse and browse to the folder you stored the files in earlier.
  2. Select the CleanSqueezeCenter file and click "Upload and verify image..."
  3. Once the upload is finished, click on "Perform System Update".
  4. You will be prompted to restart the ReadyNAS and directed to the Shutdown tab, select "Shutdown and reboot your device", then click Apply. 

Once the system restarts, you should be able to connect to and access SqueezeCenter on your ReadyNAS.
Comment 1 Spies Steven 2009-01-08 15:08:36 UTC
I'm not exactly sure where the bug is here.  It sounds to me like our SC install script is somewhat incompatible with the SC that the ReadyNAS folks install.

Perhaps there is a way to include this CleanSqueezeCenter functionality into our installer?

Michael or Matt, do either of you have any thoughts?
Comment 2 Michael Herger 2009-01-08 22:13:11 UTC
Does anybody know what _exactly_ the cleanup script does? Maybe Sam could give us some insight?
Comment 3 Spies Steven 2009-02-10 14:18:47 UTC
(In reply to comment #2)
> Does anybody know what _exactly_ the cleanup script does?

From Justin:

Our Clean_SqueezeCenter_DB addon just does this:

start-stop-daemon -S -q -b -x /usr/sbin/mysqld -- \
 --basedir=/usr --datadir=/var/lib/mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/run/mysqld/mysqld.sock
for i in `seq 1 10`; do
 if mysql -s -u slimserver -e 'show databases' &>/dev/null; then
   break
 else
   sleep .5
 fi
done
mysql -s -uslimserver -e 'DROP DATABASE slimserver' || bye "Unsuccessful dropping SqueezeCenter database."
mysql -s -uslimserver -e 'CREATE DATABASE slimserver' || bye "Unsuccessful created new SqueezeCenter database."

I just wanted to put this here so I don't lose it :o)
Comment 4 Chris Owens 2009-03-16 09:45:53 UTC
We are now planning to make a 7.3.3 release.  Please review your bugs (all marked open against 7.3.3) to see if they can be fixed in the next few weeks, or if they should be retargeted for 7.4 or future.

Thanks!
Comment 5 Chris Owens 2009-03-30 17:31:46 UTC
Since there's now a planned 7.3.3 release, bugs which won't make the cut-off are being moved to the next target out.  If you feel that this bug needs to be addressed more (or less) urgently than the 7.4 release, please cc chris@slimdevices.com and leave a comment in the bug to that effect so we can review it.

Thanks.
Comment 6 Chris Owens 2009-03-31 08:54:10 UTC
For some reason Bugzilla did not change the target when I did this yesterday.  Or maybe it was me.  In either case, I'm trying it again.
Comment 7 Spies Steven 2009-07-30 17:26:48 UTC
Michael, is it possible to include this clean install functionality from comment 3 directly into SqueezeCenter?  Any other ideas?
Comment 8 Michael Herger 2009-07-31 08:20:58 UTC
> Michael, is it possible to include this clean install functionality from
> comment 3 directly into SqueezeCenter?  Any other ideas?

How would you see this integrated? In SC itself obviously won't help when SC doesn't start ;-). In the installer - I wouldn't want the installer to wipe my DB on every updated. A full scan on the ReadyNAS takes hours.

BTW: me personally I've never see these update issues on the ReadyNAS. And I thought I was updating often (running nightlies).
Comment 9 SVN Bot 2009-09-30 05:55:44 UTC
 == Auto-comment from SVN commit #28695 to the slim repo by michael ==
 == https://svn.slimdevices.com/slim?view=revision&revision=28695 ==

Bug: 10519
Description: bump DB version number we check before dropping database
Comment 10 Chris Owens 2010-02-16 16:18:45 UTC
We should talk to the ReadyNAS team and see if anything can be done.