Upgrading SL
|
Neard Harbinger
Linuxed Gadgeteer
Join date: 30 Sep 2005
Posts: 29
|
10-11-2006 18:18
Ok, this may sound like a newbie question, but considering that the built-in upgrade system (or lack thereof) doesn't work on Linux...
How are you supposed to do an upgrade without losing *everything*? I mean, without trashing the settings and all?
|
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
|
10-11-2006 18:46
copy the SecondLife subdir in the old SL dir into the new SL dir.
|
Scottux Tuck
Registered User
Join date: 10 Oct 2006
Posts: 1
|
Upgrade crashes
10-11-2006 18:47
My in-game upgrade isn't working either.
|
Neard Harbinger
Linuxed Gadgeteer
Join date: 30 Sep 2005
Posts: 29
|
10-11-2006 19:02
The whole "Secondlife" dir? It wont' mess up the upgrade, huh?
|
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
|
10-11-2006 19:11
I just tried it, it seemed to work fine.. copying the cache across is probably not that useful though! The main things to copy are the user_settings dir, and possibly your avatar name directory in the SecondLife subdir.
Any method of copying across config files will possibly lead to breakage while we are still in alpha and the config file format is changing. Take care!
|
Velox Severine
Network Slave
Join date: 19 May 2005
Posts: 73
|
10-11-2006 19:29
What I do is have all my secondlife files in /opt/secondlife. I move all old releases to the folder "archive" and have a symbolic link (secondlife -> secondlife-ver). I also have my copy of user_settings in /opt/secondlife, then I just go in the new secondlife folder, rm -rf user_settings and then symbollically link to the user_settings in /opt/secondlife.
_____________________
--BEGIN SIGNATURE STRING-- IkkgY2FtZSwgSSBzYXcsIEkgY29ucXVlcmVkLiIgLS1KdWxpdXMgQ2Flc2Fy --END SIGNATURE STRING--
|
Valen Leinhardt
Registered User
Join date: 14 Jul 2006
Posts: 42
|
10-12-2006 13:03
Yeah, copying the SecondLife subdirectory always worked for me. Though I got tired of doing that and symlinked it eventually. 
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
10-12-2006 14:24
From: Scottux Tuck My in-game upgrade isn't working either. We don`t have one yet.
|
Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
|
10-12-2006 14:29
From: Neard Harbinger Ok, this may sound like a newbie question, but considering that the built-in upgrade system (or lack thereof) doesn't work on Linux...
How are you supposed to do an upgrade without losing *everything*? I mean, without trashing the settings and all? Here's what I do: #!/bin/ bash # Note the extra space between '/' and 'b' above. Remove to make it work. # The forum *fails* to process my post if I write it correctly!
new_version=$1 old_version=`readlink main`
if [ "${new_version}" == "" ] ; then echo "Syntax: $0 <new_directory>" exit 1 fi
if [ ! -d "${new_version}" ] ; then echo "${new_version} can't be found, or isn't a directory" exit 1 fi
if [ ! -d "${old_version}" ] ; then echo "Old version not found, aborting" exit 1 fi
echo "Upgrading..." rm -rf "${new_version}/SecondLife/user_settings/" cp -rdp "${old_version}/SecondLife/user_settings" "${new_version}/SecondLife/" mv "${old_version}" "${old_version}.old" ln -sf "${new_version}" main echo "Done."
Run like this: ./upgrade.sh SecondLife_i686_1_12_2_7
|
Tofu Linden
Linden Lab Employee
Join date: 29 Aug 2006
Posts: 471
|
10-13-2006 02:47
Historically, and for the forseeable future, it's safe to replace the 'SecondLife' directory in a freshly-unpacked SL with one from the previous version (or symlink it).
In a future alpha version, even that won't be necessary.
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
What Does It Buy Me?
10-13-2006 08:04
From: Tofu Linden Historically, and for the forseeable future, it's safe to replace the 'SecondLife' directory in a freshly-unpacked SL with one from the previous version (or symlink it). In a future alpha version, even that won't be necessary. More information, please? I have Second Life unpacked into /home/llauren/SecondLife_i686_1_12_2_7/ with the previous installation in /home/llauren/SecondLife_i686_1_12_1_9/ -- so what would I do [pretending that I hadn`t already been using 1.12.2.7] to make this simlink, and what would it buy me [besides some disk space]? If I like the results, I just might add the simlink-creation command to my autoinstall script.  [P.S.: I know how to make simlinks, but there are so many things named Second Life in the directory tree that I want to make sure I get the right one.]
|
Theora Aquitaine
Registered User
Join date: 12 Feb 2006
Posts: 266
|
10-14-2006 01:46
From: Llauren Mandelbrot More information, please? I have Second Life unpacked into /home/llauren/SecondLife_i686_1_12_2_7/ with the previous installation in /home/llauren/SecondLife_i686_1_12_1_9/ -- so what would I do [pretending that I hadn`t already been using 1.12.2.7] to make this simlink, and what would it buy me [besides some disk space]? If I like the results, I just might add the simlink-creation command to my autoinstall script.  [P.S.: I know how to make simlinks, but there are so many things named Second Life in the directory tree that I want to make sure I get the right one.] I would do: cp -r $HOME/SecondLife_i686_1_12_1_9/SecondLife $/HOME/.slconfig rm -rf $HOME/SecondLife_i686_1_12_2_7/SecondLife ln -s $HOME/.slconfig $HOME/SecondLife_i686_1_12_1_9/SecondLife You can also rm -rf the old SecondLife_i686_1_12_1_9 directory once you know the new one works OK The only advantage is you don't need to keep reselecting your prefs with each update, also it is quicker to make a symlink than to copy a directory.
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
10-14-2006 12:21
Thank you, Theora.
|
Kazunori Takakura
Registered User
Join date: 30 Apr 2006
Posts: 10
|
10-15-2006 16:41
I am just happy enough that Linden cares enough (and is wise enough) to not leave all us Linux peeps out in the dark.. 
|
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
|
Softlinking Back to the Previous Settings Directory.
10-16-2006 20:49
Well, I tried it when I downloaded the manditory Band-Aid (R) for the permissions bug. At first Second Life worked much better than it did before the patch, but after being on-line for a very few hours, I started crashing frequently, especially immediately after playing with the IM window. Did I do something wrong, or are there new problems?
|