Re: how to set logging path

2015-09-22 Thread rjluo
Is there somebody who can help me ?

在 2015年9月16日星期三 UTC+8下午3:56:15,rjluo写道:
>
> I followed the step Admin - SYSTEM INFORMATION - Log Profiling - Log 
> directory, and filled the path with "/var/www/reviewboard.X11.com/logs/" 
> , however when I clicked the "save" button, it failed with a prompt "This 
> path is not writable by the web server."
>
> Is there any suggestion for how to set the log path? Appreciated for your 
> reply, thanks
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to set logging path

2015-09-22 Thread David Trowbridge
You need to ensure that /var/www/reviewboard.X11.com/logs/ is owned by the
user that the web server runs as (for example, "httpd" or "apache").

-David

On Tue, Sep 22, 2015 at 6:33 PM, rjluo  wrote:

> Is there somebody who can help me ?
>
> 在 2015年9月16日星期三 UTC+8下午3:56:15,rjluo写道:
>>
>> I followed the step Admin - SYSTEM INFORMATION - Log Profiling - Log
>> directory, and filled the path with "/var/www/reviewboard.X11.com/logs/"
>> , however when I clicked the "save" button, it failed with a prompt "This
>> path is not writable by the web server."
>>
>> Is there any suggestion for how to set the log path? Appreciated for your
>> reply, thanks
>>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to set logging path

2015-09-16 Thread Christian Hammond
Hi,

You need to make sure that /var/www/reviewboard.X11.com/logs is owned by
the Apache user (or whatever user is used by your web server).

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - https://www.reviewboard.org
Beanbag, Inc. - https://www.beanbaginc.com

On Wed, Sep 16, 2015 at 12:56 AM, rjluo  wrote:

> I followed the step Admin - SYSTEM INFORMATION - Log Profiling - Log
> directory, and filled the path with "/var/www/reviewboard.X11.com/logs/"
> , however when I clicked the "save" button, it failed with a prompt "This
> path is not writable by the web server."
>
> Is there any suggestion for how to set the log path? Appreciated for your
> reply, thanks
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to the Google Groups
> "reviewboard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to reviewboard+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to set logging path

2015-09-16 Thread rjluo
Hi Christian,

I switched into that directory and then tried both "chown root ." and 
"chown rjluo ." command, however it doesn't work. How can I know who is 
Apache's user?

And I found something maybe related to this issue in RB's offical website 
https://reviews.reviewboard.org/r/2024/diff/1/download/11065/orig/

> if not os.access(logging_dir, os.W_OK):
> raise forms.ValidationError(
> _("This path is not writable by the web server."))

 in class LoggingSettingsForm, function clean_logging_directory

I open python shell and tried :

> import os
> os.accsss("/var/www/reviewboard.X11.com/logs/", os.W_OK)

and the return result is True.

So now i feel puzzled about this setting, how can I supposed to set this 
path correctly? Looking forward to you reply, thanks very much. 
 

在 2015年9月16日星期三 UTC+8下午3:56:15,rjluo写道:
>
> I followed the step Admin - SYSTEM INFORMATION - Log Profiling - Log 
> directory, and filled the path with "/var/www/reviewboard.X11.com/logs/" 
> , however when I clicked the "save" button, it failed with a prompt "This 
> path is not writable by the web server."
>
> Is there any suggestion for how to set the log path? Appreciated for your 
> reply, thanks
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: how to set logging path

2015-09-16 Thread rjluo
Anybody can help me?

在 2015年9月16日星期三 UTC+8下午3:56:15,rjluo写道:
>
> I followed the step Admin - SYSTEM INFORMATION - Log Profiling - Log 
> directory, and filled the path with "/var/www/reviewboard.X11.com/logs/" 
> , however when I clicked the "save" button, it failed with a prompt "This 
> path is not writable by the web server."
>
> Is there any suggestion for how to set the log path? Appreciated for your 
> reply, thanks
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.