CDB cat dog-egories:
      

March 29, 2005

Note: CogDogBlog has a new WordPress powered home at http://cogdogblog.com/. All entries from this version have been moved there, so as a guide dog service try finding this article in its new home by title search.

Moving UseMod Wikis Lock, Stock, and Barrel

You can have your wiki and move it too. Several times this past year (and well this past week) I have had reason to move an entire UseMod wiki to another server. It is easy and tricky at the same time, and I think I have it all figured out now.

One need was to have copies of the wiki as backups and to run locally from my laptop (I run all my web apps on my personal unix G4 powerbook). This was useful for example, when we presented at the League For Innovation conference in New York City that wanted $700 bucks for an internet connection in the presentation rooms. Zppppppf to that! I just ran the same wiki on our server from my laptop, and as a bonus, I could work on the wiki on the plane flight over.

The other need is moving a wiki to another server. You can pretty much make a copy of the entire wiki directory, and place it elsewhere. The things to watch out for are:

* Update the config file to reflect the file path to the wiki directory.
* Make sure permissions are writable on the wiki directory. There may also be issues of thepage sub directory does not have writable permissions. Permissions will make and break you in unix.
* The latest lesson is to completely delete the users and temp directories. This is the area I am most fuzzy. Until I did this, I was unable to set preferences correctly from the wiki (perl errors on lock files). Deleting these two directories and what they contained cleaned the problems-- maybe it was only the temp that needed cleansing. A downside might be that the profiles, accounts, might by munged so users might have to reset their names. We don;t have many users besides myself so far so it may be a bigger issue than I imagine. You may need also to delete any *.lk files in the pages directory. Again, I am not sure.

So I barely know how these really work and what these files do, but I muck around until something good happens. But you can move a wiki and keep it too, and that is a good thing.

blogged March 29, 2005 03:42 PM :: category [ wikis ]
Comments About "Moving UseMod Wikis Lock, Stock, and Barrel"
RSS Feed for comments on this entry
RSS Feed for all CDB comments
Spammers Have Force Our Hands...
spamroach.jpg
Note: Those nasty blog-spamming roaches have forced us to take action to prevent their spread- all entries made to this blog will remain open for comments for 30 days after the original posting date. After that, it is old news anyhow, correct?

If you really need to make contact with the chief dog around here, please submit a request via our feedback center