Tweak

InsaneJournal

Tweak says, "I'm insane? Since when?"

Username: 
Password:    
Remember Me
  • Create Account
  • IJ Login
  • OpenID Login
Search by : 
  • View
    • Create Account
    • IJ Login
    • OpenID Login
  • Journal
    • Post
    • Edit Entries
    • Customize Journal
    • Comment Settings
    • Recent Comments
    • Manage Tags
  • Account
    • Manage Account
    • Viewing Options
    • Manage Profile
    • Manage Notifications
    • Manage Pictures
    • Manage Schools
    • Account Status
  • Friends
    • Edit Friends
    • Edit Custom Groups
    • Friends Filter
    • Nudge Friends
    • Invite
    • Create RSS Feed
  • Asylums
    • Post
    • Asylum Invitations
    • Manage Asylums
    • Create Asylum
  • Site
    • Support
    • Upgrade Account
    • FAQs
    • Search By Location
    • Search By Interest
    • Search Randomly

~didja just pitch up from mars? ([info]sherlock) wrote,
@ 2007-12-07 16:27:00

Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:! tutorials

LJ-Migrate Tutorial

 

LJ-Migrate for Communities - How To




Tested in Windows XP, should be compatible with Vista, NT
(be sure to take a moment to thank the creator)

Migrating with mac instead?
(http://www.greatestjournal.com/users/alter_writes/53118.html)

You can also migrate with LJ-Sec
(http://karma-apple.insanejournal.com/9019.html)


STEP BY STEP INSTRUCTIONS

1) Download/install python - you'll have to reboot
http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi

(What is python and will it fuck up my computer? short answer no.)


2) Download/unzip LJ-migrate - I just threw mine on the Desktop
http://antennapedia.com/misc/ljmigrate.zip


3) Delete ljmigrate.cfg
4) Copy ljmigrate.cfg.windows and rename it to ljmigrate.cfg
5) Open ljmigrate.cfg in notepad
6) Edit like so (MAKE SURE TO REMOVE # IN FRONT OF THE COMMUNITIES):




7) Notes:
-- All migrated entries will be posted by you
-- Comments will not migrate
-- Entries will not be backdated

8) Run the command line (start --> run --> type cmd.exe into the dialogue)





9) Type dir c:\py*
10) It will show you the name of a directory (in green). Change directories by typing c:\[dir name]\python (also green). You should get some info.



11) WRITE DOWN THIS DIRECTORY NAME (LOWERCASE). Mine is c:\python25\python
12) hit ctrl-Z and enter. This will get you out of the program.

13) Take a deep breath.

14) Go to the desktop and right click on 'my computer' --> properties --> advanced
15) Click 'environment variables', click 'path' under user variables



16)Go to the end of the "Variable Value" line and type ;c:\Python25 (or whatever the name of your directory was).



17) Open command prompt again and type python - if this is working, you should get this:



18) Hit ctrl-z and hit enter.
19) Go open your ljmigrate folder (wherever you put it). Get the full name of the location of the folder.



20) Go into your command prompt and type cd [full name of location]

For me, I typed cd C:\Documents and Settings\Cupcake\Desktop\ljmigrate

21) type python ljmigrate.py --communities-only

22) Voila. Should work.

NOTE Since GJ is having editing problems, you may get 'error Database not available" warnings. Sucks. Keep trying.

Errors - what do I do!?



A) Keep an eye on your command window. I cannot stress this enough. Shit goes wrong - you need to be paying attention.

B) Two different kinds of errors can occur, a time-out error and a password error (i.e. a glitch, since the likelihood that your password has changed while you've been glued to the screen is slim).

Two kinds of errors (Green is what you want to see, red is bad)





Do not close the window if these errors occur. Hit ctrl-pause/break



C) Once you've stopped the program, note the number of the last successful transfer

D) Go to the ljmigrate folder.

E) In order to restart the program from where it left off, you need to delete all the folders after the one that worked last. Your computer will log them in the right order, your job is just to find last transferred entry and delete everything after that. DO NOT delete the metadata folder

F) So if you see this error:




You'll want to delete the x-ed out folders:





G) Wait until the offending server is back up (try reloading the main page on whichever one is hiccuping)

H) Try again (python ljmigrate.py --communities-only)


(Post a new comment)


Home | Site Map | Manage Account | TOS | Privacy | Support | FAQs