Re: What is the safest way to alter siteconfig_siteconfiguration settings?

2013-04-06 Thread Steve
That worked perfectly!  Very nice tool to have.  Thanks Chris!

--Steve


On Saturday, April 6, 2013 12:40:04 PM UTC-7, Christian Hammond wrote:
>
> Hi Steve,
>
> 1.7.6 has a couple new management commands you can use.
>
> Try:
>
>   $ rb-site manage /path/to/site set-siteconfig -- --key=site_media_root 
> --value=/var/www/reviewboard-testcases/htdocs/media
>
> Christian
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




Re: What is the safest way to alter siteconfig_siteconfiguration settings?

2013-04-06 Thread Christian Hammond
Hi Steve,

1.7.6 has a couple new management commands you can use.

Try:

  $ rb-site manage /path/to/site set-siteconfig -- --key=site_media_root
--value=/var/www/reviewboard-testcases/htdocs/media

Christian

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.




What is the safest way to alter siteconfig_siteconfiguration settings?

2013-04-06 Thread Steve
Somehow when I upgraded our 2 reviewboard servers to 1.7.6 one of them 
ended up with an incorrect path in the siteconfig_siteconfiguration table 
(mysql).   This string is correct:

"search_index_file": "/var/www/reviewboard-testcases/data",  

But this one is not:

 "site_media_root":"/var/www/reviewboard/htdocs/media",

My httpd conf files has these settings:

# Alias static media requests to filesystem 

  

  SetHandler None

Alias /media "/var/www/reviewboard-testcases/htdocs/media"
Alias /static "/var/www/reviewboard-testcases/htdocs/static"
Alias /errordocs "/var/www/reviewboard-testcases/htdocs/errordocs"
Alias /favicon.ico 
"/var/www/reviewboard-testcases/htdocs/static/rb/images/favicon.png"

I'm not real comfortable with mysql - is there a way I can fix that path in 
the database without manually editing the table? 

Thanks

--Steve

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
--- 
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/groups/opt_out.