Le 20/11/2011 16:21, Thomas Waldmann a écrit :
> Also, it is a good idea to run the "moin" command as same user as
> usually is used to run the moin process. So, in case your wsgi process
> is being run as www-data user, you maybe should also use that user to
> run the moin command, just to avoid permission issues.
I thought this should not be an issue since I was running the script as 
root, but interestingly running it as the apache user did modify its 
behavior. Instead of an unexpected message referencing the default 
config, it actually asked for the wikiconfig module this time. So it was 
then just a matter of using the --config-dir flag for both of my wikis.

For the record, I used the following command line:
su -c "moin --config-dir=/PATH/TO/WIKI maint cleancache" www-data

This fixed the issue, my wikis are back to normal. Thanks for your help!

Regards.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to