Re: post upgrade, screenshot uploading doesn't work
How can I configure reviewboard so that the /var/www/reviewboard/ htdocs directory is used instead of the /usr/lib/python/site-packages/ reviewboard/htdocs? I have the new ReviewBoard Alpha installed and when I ran the install I indicated /var/www/reviewboard as the site directory. (My apache conf file is also using /var/www/reviewboard/ htdocs.) What conf setting am I missing? On Feb 2, 1:22 pm, David Trowbridge trowb...@gmail.com wrote: The old install procedure meant a lot of people ended up putting data in their site-packages. rb-site doesn't do that anymore. -David On Mon, Feb 2, 2009 at 1:16 PM, Łukasz Jernaś lukasz.jer...@gmail.com wrote: On Mon, Feb 2, 2009 at 9:12 PM, mary ciaom...@gmail.com wrote: Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. IMHO this shouldn't be accepted as a solution (if I get it right), rather a crude hack - the site-packages is usually located in /usr which is often mounted read-only... Regards, -- Łukasz Jernaś just ignore the smoke and smile - apc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post upgrade, screenshot uploading doesn't work
You should use the settings found in the Apache config file in /var/www/reviewboard/conf/. Just duplicate what's in there and put it in your Apache config in place of what you have now. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 10:08 AM, mary ciaom...@gmail.com wrote: How can I configure reviewboard so that the /var/www/reviewboard/ htdocs directory is used instead of the /usr/lib/python/site-packages/ reviewboard/htdocs? I have the new ReviewBoard Alpha installed and when I ran the install I indicated /var/www/reviewboard as the site directory. (My apache conf file is also using /var/www/reviewboard/ htdocs.) What conf setting am I missing? On Feb 2, 1:22 pm, David Trowbridge trowb...@gmail.com wrote: The old install procedure meant a lot of people ended up putting data in their site-packages. rb-site doesn't do that anymore. -David On Mon, Feb 2, 2009 at 1:16 PM, Łukasz Jernaś lukasz.jer...@gmail.com wrote: On Mon, Feb 2, 2009 at 9:12 PM, mary ciaom...@gmail.com wrote: Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. IMHO this shouldn't be accepted as a solution (if I get it right), rather a crude hack - the site-packages is usually located in /usr which is often mounted read-only... Regards, -- Łukasz Jernaś just ignore the smoke and smile - apc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post upgrade, screenshot uploading doesn't work
Great thanks, that helps. My PythonPath in my apache conf file is set to the python site- packages directory instead of to /var/www/reviewboard, so that must be it! On Feb 3, 2:06 pm, Christian Hammond chip...@chipx86.com wrote: You should use the settings found in the Apache config file in /var/www/reviewboard/conf/. Just duplicate what's in there and put it in your Apache config in place of what you have now. Christian -- Christian Hammond - chip...@chipx86.com VMware, Inc. On Tue, Feb 3, 2009 at 10:08 AM, mary ciaom...@gmail.com wrote: How can I configure reviewboard so that the /var/www/reviewboard/ htdocs directory is used instead of the /usr/lib/python/site-packages/ reviewboard/htdocs? I have the new ReviewBoard Alpha installed and when I ran the install I indicated /var/www/reviewboard as the site directory. (My apache conf file is also using /var/www/reviewboard/ htdocs.) What conf setting am I missing? On Feb 2, 1:22 pm, David Trowbridge trowb...@gmail.com wrote: The old install procedure meant a lot of people ended up putting data in their site-packages. rb-site doesn't do that anymore. -David On Mon, Feb 2, 2009 at 1:16 PM, Łukasz Jernaś lukasz.jer...@gmail.com wrote: On Mon, Feb 2, 2009 at 9:12 PM, mary ciaom...@gmail.com wrote: Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. IMHO this shouldn't be accepted as a solution (if I get it right), rather a crude hack - the site-packages is usually located in /usr which is often mounted read-only... Regards, -- Łukasz Jernaś just ignore the smoke and smile - apc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post upgrade, screenshot uploading doesn't work
Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. On Feb 2, 11:57 am, mary ciaom...@gmail.com wrote: Hi, I recently migrated/upgraded from a source tree install to the easy_install ReviewBoard install. Since the install uploading of screenshots no longer works. You can upload the image without error, but the image is not displayed. The httpd error_log indicates that the uploaded file does not exist and in fact, I cannot file the image file in the media/uploaded/images directory. I copied all the contents of the media/uploaded/images directory to the new media/uploaded/images directory after my migration/upgrade. The file permissions are all correct (owned by apache user) and this was working just fine prior to the upgrade. Any ideas? Thanks, Mary --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post upgrade, screenshot uploading doesn't work
On Mon, Feb 2, 2009 at 9:12 PM, mary ciaom...@gmail.com wrote: Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. IMHO this shouldn't be accepted as a solution (if I get it right), rather a crude hack - the site-packages is usually located in /usr which is often mounted read-only... Regards, -- Łukasz Jernaś just ignore the smoke and smile - apc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: post upgrade, screenshot uploading doesn't work
The old install procedure meant a lot of people ended up putting data in their site-packages. rb-site doesn't do that anymore. -David On Mon, Feb 2, 2009 at 1:16 PM, Łukasz Jernaś lukasz.jer...@gmail.com wrote: On Mon, Feb 2, 2009 at 9:12 PM, mary ciaom...@gmail.com wrote: Issue resolved. For reasons still a bit unclear to me, the apache directory /var/www/ reviewboard/htdocs directory was not being used as I expected. Instead the python/site-pakages/reviewboard/htdocs directory was active. I created a symlink from www area to python area, copied my old images over, and it's all working now. IMHO this shouldn't be accepted as a solution (if I get it right), rather a crude hack - the site-packages is usually located in /usr which is often mounted read-only... Regards, -- Łukasz Jernaś just ignore the smoke and smile - apc --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups reviewboard group. To post to this group, send email to reviewboard@googlegroups.com 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 -~--~~~~--~~--~--~---