[Opensim-users] Matching, mapping user UUIDs between servers
Rick Anderson
rianders at docs.rutgers.edu
Tue May 28 01:10:25 UTC 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://opensimulator.org/pipermail/opensim-users/attachments/20130527/24e0c37e/attachment.html>
More information about the Opensim-users
mailing list