[Sputnik-list] Updating Sputnik

Matthew M. Burke mmburke at gwu.edu
Tue Apr 1 12:26:59 GMT+2 2008


Yuri Takhteyev wrote:
>
> I am open to suggestions about how to best handle this.  For now, I suggest
> the following upgrade procedure:
>
> 1. Make a backup of our wiki-data directory
> 2. luarocks install sputnik
> 3. rm -rf wiki_data/_*; rm -rf wiki_data/\@* (or delete the "system" nodes
> one by one)
> 4. run Sputnik
> 5. Reapply any changes that you made to system nodes, using you backup of
> wiki-data.  E.g., if you modified _config (as you presumably did), then you
> should go and edit _config through the web interface and paste the latest
> version of your_config.  But be careful here, since your version might be
> different.
>
>   
Worked fine with one addition:  in sputnik.cgi I changed sputnik.run to 
sputnik.wsapi_run.  I wasn't 100% sure what you meant by step 4, so 
maybe that covers it.


Now I'm on to figuring out why the graphviz code won't work.

Thanks!


> I've been thinking of partly solving this problem by not saving "default"
> nodes into wiki-data until the user actually edits and saves them.  This
> would simplify the upgrade process, but it also might make the system a bit
> more magical, leaving the user wonder where those nodes are stored.
>
>   
I don't think this "lazy instantiation" would cause too much confusion.  
But I wonder how many people don't edit the system nodes.

Matt




More information about the Sputnik-list mailing list