Use XMLRPC to upgrade wiki

Since I cannot become the web server user through 'root' or 'sudo', I am stuck with out being able to upgrade my MoinMoin wiki. I have used macros (since they run as the web server user) to do things like delete users, but running the new migration scripts from an old MoinMoin instance seems iffy at best. I do have access to cgi-bin.

What would be easy for me is to setup a parallel MoinMoin wiki, capture through XMLRPC the contents of the old wiki and store into the new one. When complete I could just do a cutover to the latest version. This would also mean that I wouldn't need to know what version the source wiki was at, which list of migration scripts to run, ...etc. The data would be stored into the new format automatically.

There is a patch to include attachments in XMLRPC, but it seems that the patch was rejected. Also, I can see how to get the contents of the old wiki, but I don't know how to save into the new one.

Thanks, -- TimCera 2006-07-03 14:24:26

One could also extent the moin script to be able to call a remote moin script command, just passing the arguments over xmlrpc (and some secret, to make it safe). -- ThomasWaldmann 2006-07-03 20:14:56


CategoryFeatureRequest

MoinMoin: FeatureRequests/UseXmlRpcForUpgrade (last edited 2007-10-29 19:06:58 by localhost)