[Moin-user] Question about upgrading

R.Bauer rb.proj at gmail.com
Fri Jul 1 08:22:05 EDT 2011

Am 23.06.2011 21:09, schrieb Raul Cuza:
> Can someone who is more familiar than me with how moin works please
> explain why changing the last access/modified time on the files is
> necessary? I'm curious as to what the logic in the code is that
> prevented Chris's migration from working in the first place. If you feel
> the urge to answer 'Use the code, Luke' please guide me in the right
> direction. I haven't looked under the hood of moin yet, so I don't have
> a map yet of how it is laid out. Thank you.


the answer is simple. It is just an alternative to stop / start your
deploying process.
If it is wsgi daemon mode with reload mechanism the restart of the
delpoyment process is done when the deployment script changes its
timestamp. An easy approach is to touch the file.

Read the section Application Reloading


>> -----Original Message-----
>> From: Chris Freemesser [mailto:chris at cvs.rochester.edu]
>> Sent: Thursday, June 23, 2011 2:44 PM
>> To: Raul Cuza
>> Cc: moin-user at lists.sourceforge.net
>> Subject: Re: [Moin-user] Question about upgrading
>> On 6/23/11 2:09 PM, Raul Cuza wrote:
>>> Hola Chris,
>>> If you use `touch filename` instead of `vi filename` do you get the
>>> same results? You can use `stat filename` to see what changes before
>>> and after using the vi. I suspect `touch` will make the same change.
>> Thanks for the reply.  I already figured out that 'touch' does the
> same thing as
>> 'vi'...it allows the file to be read.  Another reader e-mailed me with
> a few
>> suggestions.
>> I originally tried "find . -exec touch {} \;", which changed the
> timestamp on
>> the files, but did NOT fix the problem.  Just a minute or two ago, I
> tried "find .
>> -name 00* -exec touch {} \;", and a quick check of a few pages would
> seem
>> to indicate that it might have done the trick.  The magic of Unix, I
> guess. :)
>> Chris
>> _____________________________________________
>> Chris Freemesser, University of Rochester Department of Brain &
> Cognitive
>> Sciences / Center for Visual Science Meliora Hall, Room 244
>> E-Mail: chris at cvs.rochester.edu
>> Phone:  (585)275-0786
>> _____________________________________________
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Data protection magic?
> Nope - It's vRanger. Get your free trial download today.
> http://p.sf.net/sfu/quest-sfdev2dev

More information about the Moin-user mailing list