Yes I do :

ls -al htdocs/media/uploaded/
drwxr-x--- 4 www-data root 4096 2008-09-16 17:57 .
drwxr-xr-x 9 www-data root 4096 2008-09-16 16:13 ..
drwxr-x--- 2 www-data root 4096 2008-09-16 17:57 images
drwxr-x--- 6 www-data root 4096 2008-09-16 16:13 .svn

I tried to chmod 777 the uploaded directory without any positive result ...

About ./ shell :
Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> from djblets.siteconfig.models import SiteConfiguration
 >>> siteconfig = SiteConfiguration.objects.get_current()

no output ...

About the way I installed reviewboard, I wrote a common procedure to 
install it on ubuntu distrib :

apt-get install libapache2-mod-python patchutils memcached libjpeg62-dev 
libfreetype6-dev python-all-dev gcc python-svn
cd /usr/share
svn checkout
cd /tmp
tar zxvf Django-1.0.tar.gz
cd Django-1.0
python install
cd /tmp
cd Imaging-1.1.6
python install
cd /usr/share/reviewboard

Change configuration :
DATABASE_NAME = 'reviewboard.sqlite'

save / exit file

./ syncdb
reply yes and add an admin account
You can now test your installation this ./ runserver and access 

create an images directory in media/uploaded :
mkdir -p htdocs/media/uploaded/images

change owner of this directory to the apache user :
chown -R www-data htdocs

create a new site configuration into /etc/apache2/sites-available/ :
<VirtualHost *>
    DocumentRoot /usr/share/reviewboard/htdocs

    # Error handlers
    ErrorDocument 500 /errordocs/500.html

    # Serve django pages
    <Location "/">
        PythonPath "['/usr/lib/python2.5/site-packages/django'] + 
['/usr/share'] + ['/usr/share/reviewboard'] + 
['/usr/share/reviewboard/djblets'] + sys.path"
        SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
        SetHandler mod_python
        PythonHandler django.core.handlers.modpython
        PythonAutoReload Off
        PythonDebug Off
        # If you run multiple mod_python sites in the same apache
        # instonce, uncomment this line:
        PythonInterpreter reviewboard

    # Serve static media without running it through mod_python
    # (overrides the above)
    <Location "/media">
        SetHandler None
    <Location "/errordocs">
        SetHandler None

    # Alias static media requests to filesystem
    Alias /media /usr/share/reviewboard/htdocs/media
    Alias /errordocs /usr/share/reviewboard/htdocs/errordocs

enable new site configuration :

reload apache configuration :
/etc/init.d/apache2 reload

fharrison wrote:
> Daniel, are you on Windows? If so how are chmoding, cygwin, colinux?
> Chmoding via cygwin won't work, you'll need to use the Windows native
> security settings; to give whatever the Apache user is read/write
> perms, do it via the folder's properties (right-click->properties-
>> 'Security' tab). Btw, I accidentally changed the security settings on
> the wrong directory "reviewboard\uploaded" instead of "reviewboard
> \htdocs\media\uploaded". That confused me for a couple of minutes. :(
> I'm a bit confused though, are you still getting the "Database
> changes" box, even after a sync? Have you tried " evolve"?
> Guillaume, are you sure you've created the images directory?
> F.

You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to