[Opensim-users] Matching, mapping user UUIDs between servers
Edmund Edgar
ed at avatarclassroom.com
Tue May 28 01:40:31 UTC 2013
Hi Rick.
I haven't worked with avatar data before, but you may also need to find
files with the name 7bf01a6a-b906-42a3-a6ab-8bc20e840a4d_whatever in the
filename and rename them 6f500ef7-fafe-4909-94d6-057fb4e3cada/_whatever.
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.
https://github.com/sloodle/sloodle_development_tools/blob/master/opensim_sync/fixuuid.sh
When we need to rebuild the IAR, we do:
tar zcvf /tmp/sloodle.iar archive.xml inventory/* assets/*
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.
HTH, let us know how you get on.
On 28 May 2013 10:10, Rick Anderson <rianders at docs.rutgers.edu> wrote:
>
>
> I tried doing this manually:
> Get UUID from old system, get UUID from new system
> save oar from original server "general1.oar"
> move oar to new server
> $mkdir tmp
> $cd tmp
> $tar xvzf ../general1.oar
>
> $ grep -rl 7bf01a6a-b906-42a3-a6ab-8bc20e840a4d . | wc
>
> 2052 8815 183917
>
> $ find . -iname "*.xml" -exec sed -i
> 's/7bf01a6a-b906-42a3-a6ab-8bc20e840a4d/6f500ef7-fafe-4909-94d6-057fb4e3cada/g'
> {} +
>
> $ find . -iname "*.txt" -exec sed -i
> 's/7bf01a6a-b906-42a3-a6ab-8bc20e840a4d/6f500ef7-fafe-4909-94d6-057fb4e3cada/g'
> {} +
>
> $ grep -rl 7bf01a6a-b906-42a3-a6ab-8bc20e840a4d . | wc
>
> 0 0 0
> $tar cvzf ../general1u.oar archive.xml .
>
> 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?
>
> --Rick
>
>
>
> On Mon, May 27, 2013 at 6:33 PM, Rick Anderson <rianders at docs.rutgers.edu>wrote:
>
>>
>> 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.
>>
>> Is there a way to migrate that creator/owner user to a new system and
>> keep their UUID?
>>
>> 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?
>>
>> Is there a third better way? Maybe, if the own Hypergrids there is there
>> a record of them as user to refer to?
>>
>> Thanks,
>> --Rick
>>
>> --
>> Rick Anderson
>> Director of Virtual Worlds
>> Division of Continuing Studies (DoCS)
>> Rutgers University
>> (732) 586-3265
>>
>
>
>
> --
> Rick Anderson
> Director of Virtual Worlds
> Division of Continuing Studies (DoCS)
> Rutgers University
> (732) 586-3265
>
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users
>
--
Edmund Edgar
Avatar Classroom
Your classroom, on the web, in a virtual world.
ed at avatarclassroom.com
+81 090 3912 3380
Skype: edmundedgar
Second Life: Edmund Earp
Linked In: edmundedgar
Twitter: @edmundedgar
http://www.avatarclassroom.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20130528/97b9899a/attachment.html>
More information about the Opensim-users
mailing list