Support/KitsuneKBForSuMoMo1Q2011/UserIdMigration: Difference between revisions
No edit summary |
|||
| Line 2: | Line 2: | ||
The following are informal userid migration notes ONLY. As always bugzilla will have the real details! | The following are informal userid migration notes ONLY. As always bugzilla will have the real details! | ||
== Notes on SuMoMo | == Notes on SuMoMo tikiwiki to SuMoMo Kitsune KB userid migration == | ||
from james: | from james: | ||
Revision as of 22:23, 21 December 2010
The following are informal userid migration notes ONLY. As always bugzilla will have the real details!
Notes on SuMoMo tikiwiki to SuMoMo Kitsune KB userid migration
from james:
To create a Kitsune/Django user out of a Tiki user, you'll just need to INSERT...SELECT a few columns from the old users_users table into the new auth_user table.
users_users -> auth_user
login username
hash password
email email
For the symlink issue I mentioned: When you set up kitsune, none of the kitsune directory will actually be in the document root. You'll want to do an apache Alias to two places:
- kitsune/media --> /media/ (probably)
- kitsune/vendor/django/django/contrib/admin/media --> /admin-media/
from paul:
Not too important, but if you want to keep more data, you can also salvage the registration and last login dates:
FROM_UNIXTIME(lastLogin) -> last_login
FROM_UNIXTIME(registrationDate) date_joined
Within that, you'll want to symlink kitsune/media/uploads to an NFS mount shared by the web servers. (kitsune/media/uploads doesn't exist in version control) The directory should be totally writable by the web server user, as all user-uploaded content will go in there.