<div dir="ltr">Hi Rick.<div><br></div><div>I haven't worked with avatar data before, but you may also need to find files with the name <span style="font-size:13px;font-family:arial,sans-serif">7bf01a6a-b906-42a3-a6ab-</span><span style="font-size:13px;font-family:arial,sans-serif">8bc20e840a4d_whatever in the filename and rename them </span><span style="font-size:13px;font-family:arial,sans-serif">6f500ef7-fafe-</span><span style="font-size:13px;font-family:arial,sans-serif">4909-94d6-057fb4e3cada/_</span><span style="font-family:arial,sans-serif;font-size:13px">whatever.</span></div>
<div><span style="font-size:13px;font-family:arial,sans-serif"><br></span></div><div style><span style="font-size:13px;font-family:arial,sans-serif">For reference, this is the script I use horse around with LSL script UUIDs - we run this after we generate IAR files from the scripts we have in Git to make sure they're all consistent. There's both a sed command and a mv command involved.</span></div>
<div><a href="https://github.com/sloodle/sloodle_development_tools/blob/master/opensim_sync/fixuuid.sh">https://github.com/sloodle/sloodle_development_tools/blob/master/opensim_sync/fixuuid.sh</a><span style="font-size:13px;font-family:arial,sans-serif"><br>
</span></div><div><br></div><div style>When we need to rebuild the IAR, we do:</div><div style>tar zcvf /tmp/sloodle.iar archive.xml inventory/* assets/*</div><div style><br></div><div style>I think it would be the same with OARs. Beyond that I don't think there should be any particular voodoo involved in rebuilding it.</div>
<div style><br></div><div style>HTH, let us know how you get on.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 28 May 2013 10:10, Rick Anderson <span dir="ltr"><<a href="mailto:rianders@docs.rutgers.edu" target="_blank">rianders@docs.rutgers.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div><br></div><div>I tried doing this manually:</div><div><div>Get UUID from old system, get UUID from new system<br>
save oar from original server "general1.oar"</div><div>

move oar to new server</div><div>$mkdir tmp</div><div>$cd tmp</div><div>$tar xvzf ../general1.oar</div><br clear="all"><div><div style="font-family:arial,sans-serif;font-size:13px">$ grep -rl 7bf01a6a-b906-42a3-a6ab-8bc20e840a4d . | wc                                                </div>


<div style="font-family:arial,sans-serif;font-size:13px">   2052    8815  183917                                                                                                                           </div><div style="font-family:arial,sans-serif;font-size:13px">


$ find .  -iname "*.xml" -exec  sed -i  's/7bf01a6a-b906-42a3-a6ab-8bc20e840a4d/6f500ef7-fafe-4909-94d6-057fb4e3cada/g' {} +                                                                                                                           </div>


<div style="font-family:arial,sans-serif;font-size:13px">$ find .  -iname "*.txt" -exec  sed -i  's/7bf01a6a-b906-42a3-a6ab-8bc20e840a4d/6f500ef7-fafe-4909-94d6-057fb4e3cada/g' {} +                                                                                                                           </div>


<div style="font-family:arial,sans-serif;font-size:13px">$ grep -rl 7bf01a6a-b906-42a3-a6ab-8bc20e840a4d . | wc                                                </div><div style="font-family:arial,sans-serif;font-size:13px">


      0       0       0       </div></div><div style="font-size:13px;font-family:arial,sans-serif">$tar cvzf ../general1u.oar  archive.xml .  </div><div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">


It turns out that archive.xml has to be first in the archive. But even with that fix the updated OAR file won't find all it's contents. Does the OAR file have to signed or ordered even more than that to repack and use?</div>
<span class="HOEnZb"><font color="#888888">

<div style="font-size:13px;font-family:arial,sans-serif"><br></div><div style="font-size:13px;font-family:arial,sans-serif">--Rick</div><div style="font-size:13px;font-family:arial,sans-serif"><br></div></font></span></div>
</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, May 27, 2013 at 6:33 PM, Rick Anderson <span dir="ltr"><<a href="mailto:rianders@docs.rutgers.edu" target="_blank">rianders@docs.rutgers.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><br></div>I've been moving and creating some new servers by migrating the OAR data. Even, if the OAR backup has the correct user permissions it's for my old grid and not the new one.<div><br></div>



<div>Is there a way to migrate that creator/owner user to a new system and keep their UUID?</div><div><br></div><div>Or should I look up the UUID for the new version of the user and use script to update the UUID in the OAR files before importing the UUID?</div>



<div><br></div><div>Is there a third better way? Maybe, if the own Hypergrids there is there a record of them as user to refer to?</div><div><br></div><div>Thanks,</div><div>--Rick<span><font color="#888888"><br clear="all">


<div><br></div>-- <br>Rick Anderson<br>
Director of Virtual Worlds<br>Division of Continuing Studies (DoCS)<br>Rutgers University<br><a href="tel:%28732%29%20586-3265" value="+17325863265" target="_blank">(732) 586-3265</a>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Rick Anderson<br>Director of Virtual Worlds<br>Division of Continuing Studies (DoCS)<br>Rutgers University<br><a href="tel:%28732%29%20586-3265" value="+17325863265" target="_blank">(732) 586-3265</a>
</div>
</div></div><br>_______________________________________________<br>
Opensim-users mailing list<br>
<a href="mailto:Opensim-users@lists.berlios.de">Opensim-users@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-users" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Edmund Edgar<br>
Avatar Classroom<br>Your classroom, on the web, in a virtual world.<br><br><a href="mailto:ed@avatarclassroom.com" target="_blank">ed@avatarclassroom.com</a><br>+81 090 3912 3380<br>Skype: edmundedgar<br>Second Life: Edmund Earp<br>
Linked In: edmundedgar<br>Twitter: @edmundedgar<br><a href="http://www.avatarclassroom.com" target="_blank">http://www.avatarclassroom.com</a>
</div></div>