Re: HELP: Upgrade to 3.0.7 results in all reviews returning a Something broke! (Error 500)

2018-06-07 Thread Alfred von Campe


> On Jun 7, 2018, at 14:24, Alfred von Campe  wrote:
> 
> I’m not sure what is going on:  the initial “easy_install -U ReviewBoard” did 
> return an error, but after forcing the install of version 3.0.3 where I was 
> upgrading from, another easy_install -U ReviewBoard succeeded, as did the 
> rb-site upgrade.  I can add users again to review groups (which is the reason 
> I updated in the first place), but I can’t access any reviews!


Here is an error from the log file which I hope will track down the issue:

2018-06-07 18:32:56,590 - ERROR -  - 
djblets.extensions.templatetags.djblets_extensions - Unable to load CSS bundle 
"fields" for extension "Review Board Integrations" 
(rbintegrations.extension.RBIntegrationsExtension)
Traceback (most recent call last):
  File 
"/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
 line 117, in _render_bundle
return node_cls('"%s"' % extension.get_bundle_id(name)).render(context)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 140, in render
return self.render_compressed(package, package_name, 'css')
  File 
"/usr/lib/python2.7/site-packages/Djblets-1.0.6-py2.7.egg/djblets/extensions/templatetags/djblets_extensions.py",
 line 54, in render_compressed
rendered = self.render_compressed_output(*args, **kwargs)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 82, in render_compressed_output
return method(package, package.output_filename)
  File 
"/usr/lib/python2.7/site-packages/django_pipeline-1.6.14-py2.7.egg/pipeline/templatetags/pipeline.py",
 line 147, in render_css
'url': mark_safe(staticfiles_storage.url(path))
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 139, in url
hashed_name = self.hashed_name(clean_name).replace('\\', '/')
  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/contrib/staticfiles/storage.py",
 line 96, in hashed_name
(clean_name, self))
ValueError: The file 
'ext/rbintegrations.extension.RBIntegrationsExtension/css/fields.min.css' could 
not be found with .


-- 
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 
"Review Board Community" 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.


HELP: Upgrade to 3.0.7 results in all reviews returning a Something broke! (Error 500)

2018-06-07 Thread Alfred von Campe
I’m not sure what is going on:  the initial “easy_install -U ReviewBoard” did 
return an error, but after forcing the install of version 3.0.3 where I was 
upgrading from, another easy_install -U ReviewBoard succeeded, as did the 
rb-site upgrade.  I can add users again to review groups (which is the reason I 
updated in the first place), but I can’t access any reviews!

Please help!

Alfred

-- 
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 
"Review Board Community" 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: Issue with Review Groups

2018-04-27 Thread Alfred von Campe
On Apr 27, 2018, at 17:45, David Trowbridge wrote:
> 
> I can reproduce this. We'll get a fix in for the next 3.0.x release.

Great, thanks for the quick response.

Alfred

-- 
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 
"Review Board Community" 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.


Issue with Review Groups

2018-04-27 Thread Alfred von Campe
Trying to access some, but not all, of my review groups in the Web UI result in 
a "Something broke! (Error 500)” error, and I get the (slightly sanitized) 
traceback included below.  Any ideas what may be causing this?

Alfred



Traceback (most recent call last):

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/core/handlers/base.py",
 line 137, in get_response
response = response.render()

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/response.py",
 line 105, in render
self.content = self.rendered_content

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/response.py",
 line 82, in rendered_content
content = template.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 140, in render
return self._render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 134, in _render
return self.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 123, in render
return compiled_parent._render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 134, in _render
return self.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 123, in render
return compiled_parent._render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 134, in _render
return self.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 62, in render
result = block.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 62, in render
result = block.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 62, in render
result = block.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 854, in render_node
return node.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/defaulttags.py",
 line 203, in render
nodelist.append(node.render(context))

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 155, in render
return self.render_template(self.template, context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/loader_tags.py",
 line 137, in render_template
output = template.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 140, in render
return self._render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 134, in _render
return self.nodelist.render(context)

  File 
"/usr/lib/python2.7/site-packages/Django-1.6.11-py2.7.egg/django/template/base.py",
 line 840, in render
bit = self.render_node(node, context)

  

Re: Restricting access to logged in users only?

2018-03-07 Thread Alfred von Campe
Doh!  I don’t know how I didn’t see that (I was literally staring at it).

Thanks for the super quick response,
Alfred

> On Mar 7, 2018, at 15:05, David Trowbridge <trowb...@gmail.com> wrote:
> 
> Under /admin/settings/authentication/, un-check "Allow anonymous read-only 
> access"
> 
> -David
> 
> On Wed, Mar 7, 2018 at 12:01 PM Alfred von Campe <alf...@von-campe.com 
> <mailto:alf...@von-campe.com>> wrote:
> Is there a way to prevent users from getting access to review requests unless 
> they are logged in?  It’s been brought to my attention that you can see 
> review requests and their associated code diffs even when you are not logged 
> in, and we are trying to prevent that.
> 
> Thanks,
> Alfred
> 
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> ---
> You received this message because you are subscribed to the Google Groups 
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard%2bunsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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 
"Review Board Community" 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.


Restricting access to logged in users only?

2018-03-07 Thread Alfred von Campe
Is there a way to prevent users from getting access to review requests unless 
they are logged in?  It’s been brought to my attention that you can see review 
requests and their associated code diffs even when you are not logged in, and 
we are trying to prevent that.

Thanks,
Alfred

-- 
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 
"Review Board Community" 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 can I debug ReviewBoard Authentication problems?

2018-02-21 Thread Alfred von Campe
Christian:

This problem was really frustrating.  Basically ReviewBoard had been down for 
two days.  I had modified the Authentication setting first to use one of the 3 
remaining good domain controllers to no avail, and after your email I listed 
all 3 DCs but still no joy.  However, restarting Apache made it work.  The 
reason I didn’t try that earlier is that I rebooted the server yesterday so I 
didn’t think restarting Apache would make a difference.

I will try to use LDAP instead of Active Domain when I set up the new server, 
which I plan to do in the next few weeks (and upgrade from 2.5.6.1 to 3.latest 
at the same time).

Thanks as always for your help,
Alfred


> On Feb 21, 2018, at 18:17, Christian Hammond <christ...@beanbaginc.com> wrote:
> 
> Hi Alfred,
> 
> The old one should not be in the cache, but you can try to restart Apache 
> just to ensure it's picking up the new settings.
> 
> You should be able to list multiple domain controllers, each separated by a 
> space. It will try each one in order.
> 
> We can do better with the errors, slightly (listing the domain controller in 
> this error at a minimum). I'll track this for 3.0.4.
> 
> Christian
> 
> On Wed, Feb 21, 2018 at 4:32 AM, Alfred von Campe <alf...@von-campe.com 
> <mailto:alf...@von-campe.com>> wrote:
> Christian:
> 
> The original domain controller configured in ReviewBoard is still down, but 
> I’ve reconfigured the ReviewBoard instance to use a different domain 
> controller, which I can see both in the Web UI as well as in the database.  
> However, the problem still occurs.  The only problem shown in the log file is:
> 
> 2018-02-21 12:27:45,084 - WARNING -  - Active Directory: Domain controller is 
> down
> 2018-02-21 12:27:45,085 - ERROR -  - Active Directory error: Could not 
> contact any domain controller servers
> 
> It’s almost as if the original domain controller is still cached somewhere - 
> is that a possibility, and if so, how do I clear the cache?  Also, to avoid 
> this problem in the future, is there a way to provide a fallback domain 
> controller so that if one is down, ReviewBoard automatically checks the next 
> one?
> 
> Alfred
> 
> 
>> On Feb 21, 2018, at 0:49, Christian Hammond <christ...@beanbaginc.com 
>> <mailto:christ...@beanbaginc.com>> wrote:
>> 
>> Hi Alfred,
>> 
>> There should be information on failures in the reviewboard.log file, if it's 
>> failing to grab data from Active Directory. Failing that, it'd be a 
>> configuration issue causing it to not look up the correct content, and we 
>> don't have logging centered around that.
>> 
>> If you do get locked out of the server due to the backend failing and 
>> session expiring, you can always use `rb-site manage /path/to/sitedir 
>> createsuperuser` to create a new local administration account.
>> 
>> Christian
>> 
>> On Tue, Feb 20, 2018 at 11:30 AM, Alfred von Campe <alf...@von-campe.com 
>> <mailto:alf...@von-campe.com>> wrote:
>> Our ReviewBoard server is configured to use Active Directory for 
>> authentication.  The Domain Controller it was configured to use for 
>> authentication had a catastrophic HW failure so users can no longer log in 
>> to ReviewBoard.  Fortunately I had an existing ReviewBoard session open in a 
>> browser tab and I configured the Authentication setting to use a different 
>> domain controller.  However, user’s still can’t log in.  I even rebooted the 
>> server hosting ReviewBoard to no avail, so hence my question as to how can I 
>> debug this issue?  For now, my existing browser session is still working 
>> (even after the server reboot), so I can check and change settings.  
>> Otherwise, I don’t know how I would go about making any changes.
>> 
>> Alfred
>> 
>> --
>> Supercharge your Review Board with Power Pack: 
>> https://www.reviewboard.org/powerpack/ 
>> <https://www.reviewboard.org/powerpack/>
>> Want us to host Review Board for you? Check out RBCommons: 
>> https://rbcommons.com/ <https://rbcommons.com/>
>> Happy user? Let us know! https://www.reviewboard.org/users/ 
>> <https://www.reviewboard.org/users/>
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "Review Board Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard+unsubscr...@googlegroups.com 
>> <mailto:reviewboard%2bunsubscr...@googlegroups.com>.
>> For more options, visit https://groups.google.com/d/optout 
>> <https://groups.google.com/d/optout>.
>> 
>

Re: How can I debug ReviewBoard Authentication problems?

2018-02-21 Thread Alfred von Campe
Christian:

The original domain controller configured in ReviewBoard is still down, but 
I’ve reconfigured the ReviewBoard instance to use a different domain 
controller, which I can see both in the Web UI as well as in the database.  
However, the problem still occurs.  The only problem shown in the log file is:

2018-02-21 12:27:45,084 - WARNING -  - Active Directory: Domain controller is 
down
2018-02-21 12:27:45,085 - ERROR -  - Active Directory error: Could not contact 
any domain controller servers

It’s almost as if the original domain controller is still cached somewhere - is 
that a possibility, and if so, how do I clear the cache?  Also, to avoid this 
problem in the future, is there a way to provide a fallback domain controller 
so that if one is down, ReviewBoard automatically checks the next one?

Alfred


> On Feb 21, 2018, at 0:49, Christian Hammond <christ...@beanbaginc.com> wrote:
> 
> Hi Alfred,
> 
> There should be information on failures in the reviewboard.log file, if it's 
> failing to grab data from Active Directory. Failing that, it'd be a 
> configuration issue causing it to not look up the correct content, and we 
> don't have logging centered around that.
> 
> If you do get locked out of the server due to the backend failing and session 
> expiring, you can always use `rb-site manage /path/to/sitedir 
> createsuperuser` to create a new local administration account.
> 
> Christian
> 
> On Tue, Feb 20, 2018 at 11:30 AM, Alfred von Campe <alf...@von-campe.com 
> <mailto:alf...@von-campe.com>> wrote:
> Our ReviewBoard server is configured to use Active Directory for 
> authentication.  The Domain Controller it was configured to use for 
> authentication had a catastrophic HW failure so users can no longer log in to 
> ReviewBoard.  Fortunately I had an existing ReviewBoard session open in a 
> browser tab and I configured the Authentication setting to use a different 
> domain controller.  However, user’s still can’t log in.  I even rebooted the 
> server hosting ReviewBoard to no avail, so hence my question as to how can I 
> debug this issue?  For now, my existing browser session is still working 
> (even after the server reboot), so I can check and change settings.  
> Otherwise, I don’t know how I would go about making any changes.
> 
> Alfred
> 
> --
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> ---
> You received this message because you are subscribed to the Google Groups 
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard%2bunsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <https://www.reviewboard.org/users/>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Review Board Community" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to reviewboard+unsubscr...@googlegroups.com 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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 
"Review Board Community" 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.


How can I debug ReviewBoard Authentication problems?

2018-02-20 Thread Alfred von Campe
Our ReviewBoard server is configured to use Active Directory for 
authentication.  The Domain Controller it was configured to use for 
authentication had a catastrophic HW failure so users can no longer log in to 
ReviewBoard.  Fortunately I had an existing ReviewBoard session open in a 
browser tab and I configured the Authentication setting to use a different 
domain controller.  However, user’s still can’t log in.  I even rebooted the 
server hosting ReviewBoard to no avail, so hence my question as to how can I 
debug this issue?  For now, my existing browser session is still working (even 
after the server reboot), so I can check and change settings.  Otherwise, I 
don’t know how I would go about making any changes.

Alfred

-- 
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 
"Review Board Community" 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.


Bulk update of repository information?

2017-06-16 Thread Alfred von Campe
When I created the repositories on our ReviewBoard server, I originally left 
the Bug Tracker information blank.  I would now like to update all repos to 
include the URL to our Jira server, and was wondering if there was a quick way 
to do it either via the command line or with MySQL commands?  I’d rather not 
update all repositories via the GUI.

Thanks,
Alfred

-- 
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: Failed to send notification to slack.com

2016-11-21 Thread Alfred von Campe
Hi David:

Right you are.  I forgot that a while ago one of the developers asked me to 
install this extension, but we never properly configured it. I’ve disabled it 
for now.

Thanks,
Alfred

> On Nov 21, 2016, at 12:19, David Trowbridge <trowb...@gmail.com> wrote:
> 
> Alfred,
> 
> It looks like the "rbslack" extension was installed and activated. You can 
> fix these errors by going to "Extensions" in the admin UI and disabling it.
> 
> -David
> 
> On Mon, Nov 21, 2016 at 6:44 AM Alfred von Campe <alf...@von-campe.com 
> <mailto:alf...@von-campe.com>> wrote:
> I was browsing through the reviewboard.log file while debugging an unrelated 
> issue when I came across a bunch of errors that all look like this:
> 
> 2016-11-21 14:07:55,959 - ERROR -  - Failed to send notification to slack.com 
> <http://slack.com/>: unknown url type:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/rbslack/extension.py", line 70, in 
> notify
> json.dumps(payload)))
>   File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
> return opener.open(url, data, timeout)
>   File "/usr/lib64/python2.7/urllib2.py", line 423, in open
> protocol = req.get_type()
>   File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
> raise ValueError, "unknown url type: %s" % self.__original
> ValueError: unknown url type:
> 
> I haven’t set up any web hooks to post to Slack, so what is generating these 
> errors in the log file?
> 
> Alfred
> 
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <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 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> -- 
> Supercharge your Review Board with Power Pack: 
> https://www.reviewboard.org/powerpack/ 
> <https://www.reviewboard.org/powerpack/>
> Want us to host Review Board for you? Check out RBCommons: 
> https://rbcommons.com/ <https://rbcommons.com/>
> Happy user? Let us know! https://www.reviewboard.org/users/ 
> <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 
> <mailto:reviewboard+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <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.


Failed to send notification to slack.com

2016-11-21 Thread Alfred von Campe
I was browsing through the reviewboard.log file while debugging an unrelated 
issue when I came across a bunch of errors that all look like this:

2016-11-21 14:07:55,959 - ERROR -  - Failed to send notification to slack.com: 
unknown url type:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/rbslack/extension.py", line 70, in 
notify
json.dumps(payload)))
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 423, in open
protocol = req.get_type()
  File "/usr/lib64/python2.7/urllib2.py", line 285, in get_type
raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type:

I haven’t set up any web hooks to post to Slack, so what is generating these 
errors in the log file?

Alfred

-- 
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: Migrating to a new server

2016-08-15 Thread Alfred von Campe
On Aug 15, 2016, at 18:03, Christian Hammond  wrote:
> 
> To check, was Apache restarted after installing the new module?

No, but it occurred to me to do that just before I saw your post, and now it’s 
working!  It appears to be a bit slower than our previous instance, but that 
may be due to the hardware (or rather VM) that it’s running on.  I haven’t 
checked the specs of the VM that was provided by our IT department, but I will 
be comparing the two systems tomorrow.

Thanks for all your help,
Alfred

-- 
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: Migrating to a new server

2016-08-15 Thread Alfred von Campe
On Aug 15, 2016, at 17:31, Christian Hammond  wrote:
> 
> What version of ldap do you have? It sounds like it may be too old. Sometimes 
> the distro-provided packages are too stale to rely upon.
> 
> I'd recommend uninstalling the RPM and instead installing using pip:

Good idea.  The repo based Python LDAP module was version 2.4.15.  Using 
easy_install (not pip), I got version 2.4.27.  However, I’m now back to the 
"ImportError: No module named ldap” error, even though the easy_Install appears 
to have been successful;

# easy_install  python-ldap
.
.
.
Adding python-ldap 2.4.27 to easy-install.pth file

Installed 
/usr/lib/python2.7/site-packages/python_ldap-2.4.27-py2.7-linux-x86_64.egg
Processing dependencies for python-ldap
Finished processing dependencies for python-ldap

I then installed pip via easy_install, and when I tried to do a “pip install 
python-ldap” it reports that the requirement is already satisfied:

# pip install python-ldap
Requirement already satisfied (use --upgrade to upgrade): python-ldap in 
/usr/lib/python2.7/site-packages/python_ldap-2.4.27-py2.7-linux-x86_64.egg
Requirement already satisfied (use --upgrade to upgrade): setuptools in 
/usr/lib/python2.7/site-packages (from python-ldap)

So it appears that the ldap module is installed (and a “import ldap” from 
Python confirms it), but ReviewBoard can’t seem to find it:

2016-08-15 21:53:22,998 - ERROR -  - Exception thrown for user AnonymousUser at 
http://reviewboard.bose.com/account/login/

No module named ldap
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 
112, in get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/debug.py", 
line 75, in sensitive_post_parameters_wrapper
return view(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/utils/decorators.py", line 99, 
in _wrapped_view
response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/decorators/cache.py", 
line 52, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/views.py", line 
36, in login
if form.is_valid():
  File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 129, in 
is_valid
return self.is_bound and not bool(self.errors)
  File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 121, in 
errors
self.full_clean()
  File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 274, in 
full_clean
self._clean_form()
  File "/usr/lib/python2.7/site-packages/django/forms/forms.py", line 300, in 
_clean_form
self.cleaned_data = self.clean()
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/forms.py", line 
189, in clean
password=password)
  File "/usr/lib/python2.7/site-packages/django/contrib/auth/__init__.py", line 
49, in authenticate
user = backend.authenticate(**credentials)
  File "/usr/lib/python2.7/site-packages/reviewboard/accounts/backends.py", 
line 749, in authenticate
import ldap
ImportError: No module named ldap


-- 
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: Migrating to a new server

2016-08-15 Thread Alfred von Campe
On Aug 15, 2016, at 16:21, Christian Hammond  wrote:

> The Review Board log files ($sitedir/logs) should include some information. 
> Failing that, the Apache error log.
> 
> You may have to install the appropriate Python modules for Active Directory 
> again. (I wouldn't expect a crash, but there may be a regression.)

As usual, your advice was right on the money.  I checked the reviewboard.log 
file and there was a "ImportError: No module named ldap” error.  That was 
easily remedied on the CentOS 7 system with a "yum install python-ldap”.  
However, the login is still failing, this time with a "NameError: global name 
'filter_format' is not defined” error in the log file.  Any ideas what could be 
causing that?

Alfred

-- 
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: Migrating to a new server

2016-08-15 Thread Alfred von Campe
On Aug 14, 2016, at 19:55, Christian Hammond  wrote:

> This looks like a MyISAM vs. InnoDB table format issue. You'll need to either 
> make sure all your tables are converted to InnoDB (you can replace "MyISAM" 
> with "InnoDB" in the database dump when you go to load it back in), or 
> configure MySQL to use MyISAM by default (though we recommend InnoDB).
> 
> You'll need to fix things up and retry the upgrade from the backup.

Yup, that was it.  I took another database dump, used sed to change all 
instances of “MyISAM” to “InnoDB”, and re-imported the database dump.  This 
time the “rb-site upgrade” completed successfully (see log output at the end of 
this message). The web server appears to be configured properly as I can access 
the site and look at all the existing reviews.  However, when I try to log into 
the site, I get the following error:
Something broke! (Error 500)

It appears something broke when you tried to go to here. This is either a bug 
in Review Board or a server configuration error. Please report this to your 
administrator.

We are authenticating against our corporate AD servers, and this works fine on 
the existing (CentOS 6 and RB V1.7.27) ReviewBoard instance.  It’s only on the 
new instance (CentOS 7 and RB V2.5.6.1) that I get this issue.  I must have 
missed a configuration setting somewhere.  Any ideas what that might be or what 
log files I should be examining to figure out where the problem is?

Alfred





Output from “rb-site upgrade”:   

Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table accounts_trophy
Creating table attachments_fileattachmenthistory
Creating table diffviewer_rawfilediffdata
Creating table notifications_webhooktarget_repositories
Creating table notifications_webhooktarget
Creating table webapi_webapitoken
Upgrading Review Board from 1.7.27 to 2.5.6.1
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for notifications.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
There are unapplied evolutions for webapi.
Adding baseline version for new models
Evolutions in webapi baseline: webapitoken_jsonfield_null
Evolutions in notifications baseline: webhooktarget_extra_state, 
webhooktarget_extra_data_null
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Evolution successful.
---  ---

-- 
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: Migrating to a new server

2016-08-12 Thread Alfred von Campe

> On Aug 11, 2016, at 19:41, Christian Hammond  wrote:
> 
> There's a draft of a document on my computer, but nothing online yet. I need 
> to finish it.

If you want me to review/edit it as I’m doing the migration, I will be glad to. 
 Just let me know.

> The database password is stored in $sitedir/conf/settings_local.py. Sounds 
> like the database was copied but the "rb" database user wasn't recreated. 
> Once that's fixed, you should be able to perform the upgrade.

Ah, that’s where it is.  I should have known.  In any event, I thought I used 
the same password but I was off by one character.  In order to make the 
migration easier (I plan to do it multiple times until I get it right), I 
updated the password for the rb user on the new server to match the old one, so 
I can just copy the site directory as is from the older server to the new one.  
However, after I did that, I got the errors below running the rb-site upgrade 
command.  I must have missed one minor step when creating the database, but 
don’t know what.

Thanks,
Alfred



# rb-site upgrade /var/www/html/rb
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table accounts_trophy

[!] There was an error synchronizing the database. Make sure the
database is created and has the appropriate permissions, and then
continue.
[!] Details: (1005, "Can't create table 'reviewboard.#sql-41fd_f'
(errno: 150)")

Press Enter to continue
Creating tables ...
Creating table attachments_fileattachmenthistory
Creating table diffviewer_rawfilediffdata
Creating table notifications_webhooktarget_repositories

[!] There was an error synchronizing the database. Make sure the
database is created and has the appropriate permissions, and then
continue.
[!] Details: (1005, "Can't create table 'reviewboard.#sql-41fd_f'
(errno: 150)")

Press Enter to continue
Creating tables ...
Creating table notifications_webhooktarget

[!] There was an error synchronizing the database. Make sure the
database is created and has the appropriate permissions, and then
continue.
[!] Details: (1005, "Can't create table 'reviewboard.#sql-41fd_f'
(errno: 150)")

Press Enter to continue
Creating tables ...
Creating table webapi_webapitoken

[!] There was an error synchronizing the database. Make sure the
database is created and has the appropriate permissions, and then
continue.
[!] Details: (1005, "Can't create table 'reviewboard.#sql-41fd_f'
(errno: 150)")

Press Enter to continue
Creating tables ...
Upgrading Review Board from 1.7.27 to 2.5.6.1
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for notifications.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
There are unapplied evolutions for webapi.
Adding baseline version for new models
Evolutions in webapi baseline: webapitoken_jsonfield_null
Evolutions in notifications baseline: webhooktarget_extra_state, 
webhooktarget_extra_data_null
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: (1005, "Can't create table 
'reviewboard.#sql-41fd_10' (errno: 150)")



-- 
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.


Migrating to a new server

2016-08-11 Thread Alfred von Campe
I must be missing a simple step somewhere.  I’m trying to migrate a ReviewBoard 
version 1.7.27 instance running on CentOS 6 to version 2.5.6.1 on CentOS 7.  
I’ve installed ReviewBoard (via EPEL RPM) on the new server, installed MySQL 
and created the reviewboard database, loaded the SQL dump from the old server, 
copied the site directory to the new server, and am trying to run “rb-site 
upgrade”.  This fails with the following error: 
"django.db.utils.OperationalError: (1045, "Access denied for user 
'rb'@'localhost' (using password: YES)”)”, which make sense because I haven’t 
configured the password anywhere.  Where does it go?  

The documentation is great about how to set up a new site, but I can’t find 
anything about migrating from one server to another.  Is there such a document?

Alfred

-- 
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: Changing Python Version (2.6 -> 2.7) for Existing Reviewboard Installation on CentOS 6

2015-11-02 Thread Alfred von Campe
This is what I do on the CentOS 6 systems I mange:

# Install repo file and then Python itself
rpm -ivh 
http://dl.iuscommunity.org/pub/ius/stable/Redhat/6/i386/ius-release-1.0-14.ius.el6.noarch.rpm
yum install -y python27 python27-virtualenv

Alfred

> On Nov 2, 2015, at 17:31, Zachary Gallagher  
> wrote:
> 
> Rather than update the entire OS, I'd like to install python 2.7 on CentOS6. 
> Now, so far as I am aware, there's no method for installing python over the 
> system version without breaking at least yum. If not more. Maybe there's a 
> way? But I don't know what it is.
> 
> 
> So installing python 2.7 as, say, /usr/local/python27 is totally easy and I 
> have no problem doing that. But what I can't find in the documentation is 
> whether or not it's possible to change which python binaries/libraries 
> reviewboard uses without completely recompiling and installing. And since we 
> use easy_install, that seems like it would make it even more complicated.
> 
> Is there a known, working method for installing python2.7 side-by-side on a 
> CentOS 6 machine, and getting an existing reviewboard installation to 
> recognize it?
> 
> -- 
> 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: Problems attaching an image to a review

2015-02-26 Thread Alfred von Campe
David:

 Can you check the result of `rb-site manage /var/www/html/rb/ get-siteconfig 
 -- --key=site_media_url` ?
 
 My guess is that it will say /rb/htdocs/media/
 
 If so, run this:
 
 `rb-site manage /var/www/html/rb/ set-siteconfig -- --key=site_media_url 
 --value=/media/
 
 And it should fix the links.

Your guess was correct:

$ rb-site manage /var/www/html/rb/ get-siteconfig -- --key=site_media_url
/rb/htdocs/media/
$ rb-site manage /var/www/html/rb/ set-siteconfig -- --key=site_media_url 
--value=/media/
Setting 'site_media_url' to /media/
$ rb-site manage /var/www/html/rb/ get-siteconfig -- --key=site_media_url
/media/

After I made the change I initially still had the problem, but after restarting 
Apache it’s working fine.  Thanks so much for your help.

Alfred

-- 
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: Problems attaching an image to a review

2015-02-25 Thread Alfred von Campe
Does anyone have any idea what could be causing the problem described below?

Alfred


 On Feb 24, 2015, at 10:05, Alfred von Campe alf...@von-campe.com wrote:
 
 We are using ReviewBoard 1.7.27 on CentOS 6 (I would love to update to 2.X 
 but that’s still not easy on CentOS 6 as far as I know).  Reviews re working 
 fine, but today a user tried to add a screenshot to a review, and while the 
 file got uploaded (I can see it under htdocs/media/uploaded/files/… on the 
 server), if you try to access it from the review itself I get the error “The 
 page you were looking for does not exist”.  If I hover over the link the URL 
 appears to be correct 
 (http://hepdsw-rb.bose.com/rb/htdocs/media/uploaded/files/2015/02/24/a3fb3cfe-ba87-455a-95a7-9da7db284e77__Screen_Shot_2015-02-23_at_1.58.12_PM.png
  
 http://hepdsw-rb.bose.com/rb/htdocs/media/uploaded/files/2015/02/24/a3fb3cfe-ba87-455a-95a7-9da7db284e77__Screen_Shot_2015-02-23_at_1.58.12_PM.png),
  but that URL returns a 404 error.
 
 There must be something misconfigured, but I can’t figure out what it is.  
 This may be the first time someone has tried to upload a file since we moved 
 ReviewBoard to the new server many months ago.  Any suggestions as to what 
 log files I should be looking at to figure out why this isn’t working?  
 Remember that reviews themselves are working fine; it’s only the attached 
 files that are not working.
 
 Thanks,
 Alfred

-- 
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: Problems attaching an image to a review

2015-02-25 Thread Alfred von Campe
On Feb 25, 2015, at 16:30, David Trowbridge trowb...@gmail.com wrote:
 
 What does the web server configuration look like?

VirtualHost *:80
ServerName hepdsw-rb.bose.com
DocumentRoot /var/www/html/rb/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias / /var/www/html/rb/htdocs/reviewboard.wsgi/

Directory /var/www/html/rb/htdocs
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
/Directory

# Prevent the server from processing or allowing the rendering of
# certain file types.
Location /media/uploaded
SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 
.phps .asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp 
.sh .rb

IfModule mod_php5.c
php_flag engine off
/IfModule
/Location

Location /static
SetHandler None
/Location

# Alias static media requests to filesystem
Alias /media /var/www/html/rb/htdocs/media
Alias /static /var/www/html/rb/htdocs/static
Alias /errordocs /var/www/html/rb/htdocs/errordocs
Alias /favicon.ico 
/var/www/html/rb/htdocs/static/rb/images/favicon.png
/VirtualHost



-- 
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.


Problems attaching an image to a review

2015-02-24 Thread Alfred von Campe
We are using ReviewBoard 1.7.27 on CentOS 6 (I would love to update to 2.X but 
that’s still not easy on CentOS 6 as far as I know).  Reviews re working fine, 
but today a user tried to add a screenshot to a review, and while the file got 
uploaded (I can see it under htdocs/media/uploaded/files/… on the server), if 
you try to access it from the review itself I get the error “The page you were 
looking for does not exist”.  If I hover over the link the URL appears to be 
correct 
(http://hepdsw-rb.bose.com/rb/htdocs/media/uploaded/files/2015/02/24/a3fb3cfe-ba87-455a-95a7-9da7db284e77__Screen_Shot_2015-02-23_at_1.58.12_PM.png
 
http://hepdsw-rb.bose.com/rb/htdocs/media/uploaded/files/2015/02/24/a3fb3cfe-ba87-455a-95a7-9da7db284e77__Screen_Shot_2015-02-23_at_1.58.12_PM.png),
 but that URL returns a 404 error.

There must be something misconfigured, but I can’t figure out what it is.  This 
may be the first time someone has tried to upload a file since we moved 
ReviewBoard to the new server many months ago.  Any suggestions as to what log 
files I should be looking at to figure out why this isn’t working?  Remember 
that reviews themselves are working fine; it’s only the attached files that are 
not working.

Thanks,
Alfred

-- 
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.


Subversion access via https:// and plaintext passwords

2015-02-20 Thread Alfred von Campe
We have been using ReviewBoard with our Subversion repos using svn+ssh:// 
access, and while functional, it’s been a little slow.  Performance with 
https:// access to our Subversion servers is noticeably faster, but when I 
configure the Repository in ReviewBoard and specify the username and password 
to use, I noticed that the password is stored in plain text in the database.  
The database itself is not easily accessible by users, but the nightly database 
dumps could be read by others, so I am concerned about a possible exposure of 
automated build user account password.

We are still using ReviewBoard 1.7.27 as it is hosted on a CentOS 6 server, so 
upgrading to 2.X is not trivial.  Is it common practice for ReviewBoard users 
to store repository passwords in the database in plain text?

Alfred


-- 
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: Subversion access via https:// and plaintext passwords

2015-02-20 Thread Alfred von Campe
Christian:

 If you upgrade to the 2.0 releases, all passwords will be encrypted. I know 
 it's not trivial, and maybe we can backport that to a 1.7 release, but as 
 we're about to start on the 2.5 betas, we're unlikely to continue making 
 major changes to 1.7 from here on out. We'll see what we can do though.

Thanks for the lightning-quick response.  So am I correct in assuming that 
prior to ReviewBoard 2.X everyone stored their passwords in plain text?  That 
is, unless they accessed their repos with ssh keys and no password was required.

Alfred


-- 
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: Review Board 2.0.11 is released!

2014-10-28 Thread Alfred von Campe
Stephen:

 Review Board 2.0.11 packages for Fedora 21 and EPEL 7 are now on their
 way to their respective testing repositories.

Any update on Review Board 2.X packages for RHEL 6?  I know that you were
working on it a few months ago.

Alfred

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Review Board 2.0.11 is released!

2014-10-28 Thread Alfred von Campe
On Oct 28, 2014, at 15:15, Stephen Gallagher step...@gallagherhome.com wrote:

 No progress has been made on that, I'm afraid. It's a bigger undertaking
 than it seems and I've frankly been swamped with other work
 (particularly the Fedora 21 release). I'd love to have someone help with
 this…

I don’t know what kind of help you would need and if I could be of any
assistance, but maybe if you send a plea to this list with specific items
you need help with, you may get some volunteers.

 Of course, if you have a RHEL subscription, you have access to RHEL 7 as
 well; perhaps you could just start up a RHEL 7 VM?

I actually use CentOS and am not ready to move to CentOS 7 yet as some of
our applications don’t work o it.  However, I could ask our IT department
if they can provide a RHEL 7 VM dedicated to ReviewBoard.

 There's also the Review Board Docker image[1] that should run on Docker
 in RHEL 6.

Hmm, that’s an interesting option.  I’ve read a little about Docker but
have not used it.  I was under the impression that you have to run the
same OS version on the host and the Docker images, but maybe that’s not
the case.

Alfred

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Can't download attachments

2014-09-03 Thread Alfred von Campe
Bump!  Just refreshing this thread to see if anyone has any ideas why I still 
can't download attachments.

Alfred



 On Aug 26, 2014, at 20:22, Christian Hammond christ...@beanbaginc.com wrote:
 
 Can you try changing the media URL to have a '/' as a suffix? So: 
 /rb/htdocs/media/, instead of /rb/htdocs/media.
 
 I did this, restarted the web server, and tried to download the attachment 
 again.  It still failed, but the access_log file shows that it's trying to 
 download it from the correct directory:
 
   /rb/htdocs/media/uploaded/files/2014/07/29/...
 
 So clearly something changed for the better, yet I still can't download 
 attachments.  Any suggestions for next steps on how to debug this?  I 
 verified that the file it's trying to download does exist on the web server's 
 file system by cutting and pasting the path shown in the access_log file and 
 appending it to the web server root directory (/var/www/html).
 
 Some more data: in /etc/http/conf.d/rb.conf the DocumentRoot is defined as 
 /var/www/html/rb/htdocs.  Should the media URL be relative to this?  
 Everything else appears to be working fine...


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Can't download attachments

2014-08-28 Thread Alfred von Campe
On Aug 26, 2014, at 20:22, Christian Hammond christ...@beanbaginc.com wrote:

 Can you try changing the media URL to have a '/' as a suffix? So: 
 /rb/htdocs/media/, instead of /rb/htdocs/media.

I did that and reported back that it still wasn't working (although it appears 
that the web server is accessing the right directory now).  More details in my 
previous post.  Any suggestions on how to proceed debugging this issue?

Thanks,
Alfred

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Can't download attachments

2014-08-26 Thread Alfred von Campe
On Aug 25, 2014, at 10:25, I wrote:

 I've successfully migrated a ReviewBoard instance from version 1.6 running on 
 CentOS 5 to version 1.7.25 running on CentOS 6.  Well, almost successfully: 
 we can't download attachments from the new instance.  The apache logs show 
 that it is looking for the files in /rb/htdocs/uploaded/files/... whereas the 
 files are in /rb/htdocs/media/uploaded/files/...  The Media URL is configured 
 as /rb/htdocs/media in the General System Settings page.  What am I missing?

Does anybody have any ideas why the attachments are trying to be downloaded 
from the wrong place?

Alfred


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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.


Can't change Server field

2014-07-08 Thread Alfred von Campe
I recently had to migrate a ReviewBoard instance from one server to another.  I 
have the new instance running, and everything seems to be OK except that emails 
sent by the new instance contain URLs that point to the old server.  When I log 
into the Admin interface and try to change the Server field in GENERAL 
SETTINGS, it says The settings have been saved, but when the page refreshes 
the old server name is back in the Server field.  What am I doing wrong?

Alfred

P.S.  I haven't been following this list for a few months, so sorry if this has 
been asked and answered before, but are there plans to make RB 2.X available 
via EPEL for CentOS 6?

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Can't change Server field

2014-07-08 Thread Alfred von Campe
On Jul 8, 2014, at 15:12, Christian Hammond christ...@beanbaginc.com wrote:

 Which version of Review Board is this? I remember an old bug about this, but 
 it has since been fixed.

The latest available via the EPEL repo: 1.7.25

Alfred


-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://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: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-27 Thread Alfred von Campe
On Aug 23, 2013, at 16:29, David Trowbridge trowb...@gmail.com wrote:

 Let's try this--after creating the new site, but before loading the database 
 dump, delete the new database that rb-site created.

This seems to have worked.  Because I had tried to install ReviewBoard 1.6.6 
via easy_install, my server was in a state where I couldn't run the rb-site 
command anymore.  I think I have successfullyr epaired this after lots of 
manual deletion and re-installation.

But now I have another problem.  During this upgrade, the paths to the RB site 
have changed slightly, and after the installation I get a message about a 
missing htdocs/media/uploaded directory using he old path.  So I guess that 
somewhere in the database the old path is stored.  Remember, you guys suggested 
that I delete the new database before importing the old one.  How do I fix this?

Also, I guess I have to copy the contents of 
htdocs/media/uploaded/{images,files} from the old server to the new so that all 
the uploaded files and images from the old server are available on the new 
server.  And I also have to copy the secret key into settings_local.py.  
Anything else that needs to be done to migrate the data to the new server?  I 
think I am getting close.

Thanks,
Alfred

-- 
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: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-27 Thread Alfred von Campe
On Aug 27, 2013, at 11:07, I wrote:

 But now I have another problem.  During this upgrade, the paths to the RB 
 site have changed slightly, and after the installation I get a message about 
 a missing htdocs/media/uploaded directory using he old path.  So I guess that 
 somewhere in the database the old path is stored.  Remember, you guys 
 suggested that I delete the new database before importing the old one.  How 
 do I fix this?

OK, I figured this out myself.  I searched for the old path in the MySQL dump 
file and changed all instances to the new path.  So far, so good.  The only 
problem I have is that I can't log in to the new ReviewBoard server.  Even the 
local account doesn't work.  How do I debug authentication failures?  The local 
account was created with the following command:

rb-site install --console --noinput --domain-name=$RB_DOMAIN --site-root=/ 
--db-type=mysql --db-name=reviewboard --db-host=localhost --db-user=rb 
--db-pass=$RB_PASSWORD \
--cache-type=memcached --web-server-type=apache --python-loader=wsgi 
--admin-user=admin --admin-password=$RB_PASSWORD --admin-email=$RB_EMAIL 
--cache-info=localhost:11211 $RB_SITE

 Also, I guess I have to copy the contents of 
 htdocs/media/uploaded/{images,files} from the old server to the new so that 
 all the uploaded files and images from the old server are available on the 
 new server.  And I also have to copy the secret key into settings_local.py.  
 Anything else that needs to be done to migrate the data to the new server?  I 
 think I am getting close.

I ended up adding the following lines to my script to copy all the relevant 
data from the old instance to the new:

rsync -av $RB_SITE_OLD/htdocs/media/uploaded/. 
$RB_SITE/htdocs/media/uploaded/.
cp -pr $RB_SITE_OLD/data/.ssh $RB_SITE/data
sed -i.orig s/SECRET_KEY = '.*'/$(grep SECRET_KEY 
$RB_SITE_OLD/conf/settings_local.py)/ $RB_SITE/conf/settings_local.py

Is there anything else I may have missed?

Alfred

-- 
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.


Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-23 Thread Alfred von Campe
I'm trying to upgrade a REviewBoard instance from 1.6.6 to 1.7.13.  I've 
created a dump of the existing database and am running the following script on 
the new server:

#!/bin/sh

RB_SITE=/var/www/html/rb
RB_USER=admin
RB_EMAIL=
RB_DOMAIN=
RB_PASSWORD=

# Delete and create empty rb database
echo drop database reviewboard; create database reviewboard; use reviewboard; 
grant all privileges on revieboard.* to 'rb'@'localhost' identified by 
'$RB_PASSWORD' with grant option; | mysql -u rb -p$RB_PASSWORD

# Delete existing ReviewBoard site directory so it can be recreated
/bin/rm -fr $RB_SITE

# Create the new ReviewBoard site 
rb-site install --console --noinput --domain-name=$RB_DOMAIN --site-root=/ 
--db-type=mysql --db-name=reviewboard --db-host=localhost --db-user=rb 
--db-pass=$RB_PASSWORD --cache-type=memcached --web-server-type=apache 
--python-loader=wsgi --admin-user=admin --admin-password=$RB_PASSWORD 
--admin-email=$RB_EMAIL --cache-info=localhost:11211 $RB_SITE

# Import tables from old database
echo
echo Importing tables from old database (please wait...)
mysql -u rb -p$RB_PASSWORD  $(dirname $RB_SITE)/rb_dump.sql

# Upgrade ReviewBoard site (trying twice)
rb-site upgrade $RB_SITE
rb-site upgrade $RB_SITE
rb-site manage  $RB_SITE list-evolutions


The full log is attached, but the gist is that the rb-site upgrade fails with 
the following error:

Error: Error applying evolution: (1050, Table 
'reviews_reviewrequest_depends_on' already exists)

If I run rb-site upgrade again I get the following error:

 Error: Error applying evolution: (1051, Unknown table 'auth_message')

The log also contains the about of the rb-site manage list-evolutions command.

I would appreciate any information on how I can make this migration work.

Thanks,
Alfred

-- 
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.


rb.log
Description: Binary data


Re: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-23 Thread Alfred von Campe
On Aug 23, 2013, at 16:14, David Trowbridge trowb...@gmail.com wrote:

 What's happening is that rb-site install is creating a bunch of tables, and 
 then you're importing in the database dump but it's ending up with a mix of 
 old and new.
 
 I'd recommend installing 1.6.6 on the new server, importing the database 
 dump, and then upgrading in-place.

Hmm, easier said than done, I think.  I neglected to mention that the old 
server is running CentOS 5.9 with ReviewBoard installed via easy_install, and 
the new server is running CentOS 6.4 with ReviewBoard installed from the peel 
repo.  So how do Install 1.6.X on the new server?  I guess I would have to:

  o Uninstall ReviewBoard 1.7.X via yum remove (yum remove ReviewBoard 
pythin-django-evolution python-django-peipeline python-djblets)
  o Install ReviewBoard 1.6.X via easy_install (what is the exact command I 
need so that 1.6.6 gets installed?)
  o Install ReviewBoard 1.7.X via yum

I am unsure how to install 1.6.X, so the exact easy_install command would be 
appreciated.  Also, I worry that mixing easy_install and yum installations of 
ReviewBoard on the same server may cause some issues down the road.  Has anyone 
done this?  My other option would be to do this on a test server, and then 
export the 1.7.X database to the production server so that I don't mix the two 
installation methods on the production server.

Alfred

-- 
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: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-23 Thread Alfred von Campe
On Aug 23, 2013, at 16:29, David Trowbridge trowb...@gmail.com wrote:

 Let's try this--after creating the new site, but before loading the database 
 dump, delete the new database that rb-site created.

Sigh, I started playing with installing ReviewBoard 1.6 with easy install, and 
seems to have broken rb-site:

Traceback (most recent call last):
  File /usr/bin/rb-site, line 5, in module
from pkg_resources import load_entry_point
  File /usr/lib/python2.6/site-packages/pkg_resources.py, line 2659, in 
module
parse_requirements(__requires__), Environment()
  File /usr/lib/python2.6/site-packages/pkg_resources.py, line 546, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: paramiko=1.9.0

Even after re-installing ReviewBoard and python-paramiko I keep getting this 
error.

I will try again on Monday as I need to lave work soon.

Thanks for a great product and support,
Alfred


-- 
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: Instructions for upgrading and migrating to new server?

2013-04-25 Thread Alfred von Campe
On Apr 24, 2013, at 10:55, I wrote:

 We are running ReviewBoard 1.6.6 installed via easy-install on an old CentOS 
 5.9 server with apache-modpython, and I would like to migrate this to a new 
 server running CentOS 6.4 and apache-wsgi and the latest ReviewBoard version 
 installed via yum from epel-testing repo.

Am I asking for something unusual here?  Has anyone migrated a RB instance from 
one server to another while upgrading RB at the same time?  I don't quite 
understand how all the moving parts fit together, and want to ensure a smooth 
transition.

 Are the steps to do this documented anywhere?  Will the following steps work 
 (we are using MySQL)?
 
  0. Ensure nobody is using the old server during the migration
  1. Dump old database
  2. Tar up site directory from old server (contains .ssh and .subversion 
 directories with needed config data)
  3. Install ReviewBoard via yum
  4. Create reviewboard database and user
  5. Create new site with rb-site install (need to get new apache config file)
  6. Update apache configuration file with conf file generated in previous step
  7. Delete reviewboard database and load database from old server (after 
 re-creating database and user)
  8. Delete new site and replace with tar file from old server (possible 
 preserving apache conf file)
  9. Run rb-site upgrade
 
 Did I miss something or am I adding any unnecessary steps?
 
 Also, how do I install and configure memcached on additional CentOS 6.4 
 servers?  What is the recommended amount of memory to allocate to memcached 
 for ReviewBoard?

I'm also interested in installing additional memcached servers, which I haven't 
done before (only automatically as part of the RB installation).

Thanks,
ALfred

-- 
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.




Instructions for upgrading and migrating to new server?

2013-04-24 Thread Alfred von Campe
We are running ReviewBoard 1.6.6 installed via easy-install on an old CentOS 
5.9 server with apache-modpython, and I would like to migrate this to a new 
server running CentOS 6.4 and apache-wsgi and the latest ReviewBoard version 
installed via yum from epel-testing repo.

Are the steps to do this documented anywhere?  Will the following steps work 
(we are using MySQL)?

  0. Ensure nobody is using the old server during the migration
  1. Dump old database
  2. Tar up site directory from old server (contains .ssh and .subversion 
directories with needed config data)
  3. Install ReviewBoard via yum
  4. Create reviewboard database and user
  5. Create new site with rb-site install (need to get new apache config file)
  6. Update apache configuration file with conf file generated in previous step
  7. Delete reviewboard database and load database from old server (after 
re-creating database and user)
  8. Delete new site and replace with tar file from old server (possible 
preserving apache conf file)
  9. Run rb-site upgrade

Did I miss something or am I adding any unnecessary steps?

Also, how do I install and configure memcached on additional CentOS 6.4 
servers?  What is the recommended amount of memory to allocate to memcached for 
ReviewBoard?

Alfred

-- 
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: ReviewBoard 1.7.6 for EPEL 6

2013-04-18 Thread Alfred von Campe
On Apr 14, 2013, at 18:06, Stephen Gallagher wrote:

 After much blood, sweat and tears, I have finally managed to land
 ReviewBoard 1.7.6 in the EPEL 6 add-on repository for Red Hat Enterprise
 Linux 6 (and its clones). The update should filter out to the
 [epel-testing] mirrors in the next 24-48 hours. Please test carefully
 and provide feedback if anything is amiss.

Thanks for making this available.  It can't wait to try it out, but
I've waited 4 days, and I still don't see the new version:

# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: base epel extras google-chrome rpmforge updates
Cleaning up Everything

# rm -fr /var/cache/yum/*

# yum --disablerepo=\* --enablerepo=epel info ReviewBoard
Loaded plugins: fastestmirror, refresh-packagekit, security
epel/metalink   
 | 7.4 kB 00:00 
epel
 | 4.2 kB 00:00 
epel/primary_db 
 | 4.2 MB 00:02 
Available Packages
Name: ReviewBoard
Arch: noarch
Version : 1.6.16
Release : 1.el6
Size: 1.2 M
Repo: epel
Summary : Web-based code review tool
URL : http://www.review-board.org
License : MIT
Description : Review Board is a powerful web-based code review tool that offers
: developers an easy way to handle code reviews. It scales well 
from small
: projects to large companies and offers a variety of tools to take 
much
: of the stress and time out of the code review process.

# cat /etc/yum.repos.d/epel.repo 
[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
...

Can you verify that it made it to the mirrors?

Alfred

-- 
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.




Is there a way to rename a user?

2012-09-12 Thread Alfred von Campe
We are using RB 1.6.6 and LDAP for authentication.  We recently had a 
contractor become a permanent employee and because of this his userid changed.  
So he is in the database twice now, once with the old userid and once with the 
new one.  I can't delete the old userid as it will delete all the objects and 
relate items associated with the userid.

So, is there a way to rename a userid and have the all the existing objects 
owned by the old userid owned by the new userid?

Alfred

-- 
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


Re: Is there a way to rename a user?

2012-09-12 Thread Alfred von Campe
On Sep 12, 2012, at 17:32, Christian Hammond wrote:

 An admin should be able to go into the database and just rename the username 
 for that user.

I'm the admin, but my SQL is a bit rusty and I'm also not very familiar with 
the schema.  I may be able to figure it out, but any examples/hints would be 
much appreciated.

Alfred

-- 
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


Re: Is there a way to rename a user?

2012-09-12 Thread Alfred von Campe
On Sep 12, 2012, at 18:10, Christian Hammond wrote:

 You don't need to touch SQL. Just go into the Review Board admin UI, then 
 click Users, find the username, and rename it there.

Doh!  I didn't try that.  But I just did and it tells me User with this 
Username already exisits.  Which makes sense, because it does.  I guess what I 
am really trying to do is to merge these two accounts which belong to the same 
person.

Alfred

-- 
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

Re: Is there a way to rename a user?

2012-09-12 Thread Alfred von Campe
On Sep 12, 2012, at 21:00, Christian Hammond wrote:

 So the new one has review requests associated with it now? Otherwise, I'd say 
 just delete the new one and update the old.

Yes, the new one has reviews and comments, etc. associated with it (actually 
more than the old user does).

 If there are review requests (or reviews/comments/etc.) associated, we'll 
 need to update them. That can be done through a script, but it'd need to be 
 fine-tuned for what's associated with that user.
 
 If you hit delete on the new user, it'll give you a confirmation that will 
 show all objects associated. Having that list would help draft such a script.

I can send you this information tomorrow if you tell me  what format you prefer 
it in.  I would also prefer not to post such details on this list.

Alfred

-- 
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

Re: Problem creating a review after upgrading to 1.6.6 on CentOS 5.8 (patch file too large?)

2012-05-07 Thread Alfred von Campe
On May 7, 2012, at 16:56, Christian Hammond wrote:

 Memory and how much of it that memcached can use is crucial. We cache a 
 *lot*, since fetching files from the repository, patching them, and 
 generating diffs is all very expensive. So the more that memcached can hold 
 at once, the faster things will feel all around.
 
 After that, you'll get some gains from database optimization and from 
 increased CPU performance (for the diff generation).

That's good to know.

 How big is your userbase, and what are your current specs? I know of servers 
 with thousands of users that stand up under constant use. Usually it's just a 
 configuration issue, or lack of memory for caching, that causes the most 
 problems.

A few dozen users and about 15 repos.  It's on an older IBM xServer 335 with a 
3.06GHz Intel Xeon CPU and 2GB or memory with 128MB configured for memcached.  
I've only recently enabled memcached, so I'm not 100% certain it is configured 
properly.  Is there a way to query it to see what it has cached?

Alfred

-- 
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

Re: Review Board 1.6.6 released

2012-04-26 Thread Alfred von Campe
On Apr 25, 2012, at 5:50, Christian Hammond wrote:

 Review Board 1.6.6 is out, and adds support for getting GitHub API tokens for 
 private repos.

I'm running ReviewBoard 1.5.4 on Centos 5.8, and would like to upgrade to 
something more recent (i.e., 1.6.6). However, I've only upgraded once before 
and it didn't go so well (Christian, you helped me out back then -- thanks 
again!), so I have been reluctant to upgrade.  What are the recommended steps 
to take before an upgrade in case you have to back out other than backing up 
your database?

Also, when I initially configured RB it was for a very small project and I 
didn't configure memcached.  Now the server is being used for a lot of projects 
and performance is beginning to suffer.  How do I configure RB to use memcached 
after the fact (I've already done a yum install memcached and a easy_install 
python_memcached).  Finally, what does it take to move a site to a different 
server should I decided to take that route?

Alfred

-- 
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

Re: Help debugging a hang in RB 1.5

2011-02-08 Thread Alfred von Campe
 Can you tell me more about your setup (server-side)? In particular:
 
 * OS/distro
 * Review Board version
 * Memory
 * CPU
 * Python version

Sure, here is our server data:
  CentOS 5.5
  ReviewBoard 1.5
  Memory 2GB
  3.06GHz Intel Xeon
  Python 2.4.3

 Strange. When this happens, can you check the process list and see what's 
 using your CPU?

I let it run all night and it's still hung.  However, nothing is using the 
CPU (top doesn't show anything and the load average is 0.00, 0.00, 0.00).

 If I had some source file and diff that I could use to test against, that 
 would greatly help. I realize that may be difficult, though.

I may be able to arrange that.  Do you need just the source file/diffs that it 
is stuck on or the files that precede it as well?

Alfred


-- 
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


Help debugging a hang in RB 1.5

2011-02-07 Thread Alfred von Campe
We are experiencing a strange hang when viewing one particular review.  When we 
click on the View DIff we get a new web page and the Files Changed: section 
lists all the files that have changed in this particular request.  There are 20 
files, and the information for the first 6 is updated in a few seconds.  But 
then it hangs on the 7th file until we navigate away from the page (my last 
attempt was about 20 minutes ago and I still have 14 spinning circles on the 
screen).

I know I should upgrade to the 1.5.3 release from earlier today, but before I 
do that I want to try to debug this issue.  The problem is, I don't know where 
to even start.  BTW, when the user that stumbled across this issue reported it 
to me last week, I was able to load this particular review, but today it is 
hanging for me as well.  Always on the same file.  Funny thing is that there is 
only a very minor change to this file.  (I've tried multiple browsers in case 
that matters).

Alfred

-- 
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


Re: Help debugging a hang in RB 1.5

2011-02-07 Thread Alfred von Campe
 Yes, and if you use sqlite especially, you're certain to hit this.
 
 Alfred, what are you using for a database?

We are using MySQL.  

   2. complex diffs being slow to generate diffs, this is a feature of
 the batteries includes difflib in python.
 
 So actually, we don't use difflib. We used to, but it's far too limited and 
 slow. We have our own implementation of the Myers Diff algorithm. It's 
 possible the same problems still apply, though.

The strange part is that I got this particular review request to work for me at 
least twice over the weekend (in two different browsers), but now it's hanging 
for me as well as for the user who originally reported it.  And the particular 
file in question is a Makefile with one very minor one-line change in it!  I 
just tried to access it again and it is hanging.  I will leave it running 
overnight to see what happens.

Alfred

-- 
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

Minor issue adding a new Subversion repository in ReviewBoard 1.5

2010-11-04 Thread Alfred von Campe
Did something change in the way Subversion repositories that are accessed via 
ssh are handled in RB 1.5?  Our setup is as follows:

  1. Our web server runs on a Linux server as our build account (not apache)
  2. The build account is configured to allow password-less ssh access to any 
other Linux system
  3. We access our Subversion repositories via svn+ssh:// exclusively

In a prior version of RB (1.0.9?) I was able to add a new Subversion repository 
without having to supply a username and password in the Add repository admin 
screen.  Today I tried to add another Subversion repository for the first time 
since upgrading to RB 1.5, and unless I specify the username and password for 
our build account, it won't let me add a repository.  Furthermore, RB had me 
create a /.ssh directory owned by the user running the web server.  Is this 
expected behavior or an unwanted side effect?  Could I have something 
misconfigured?

Alfred

-- 
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


Re: Question about AD integration and users/groups

2009-10-16 Thread Alfred von Campe
On Oct 16, 2009, at 3:55, Christian Hammond wrote:

 Is it literally /logs? Whatever directory you specify must exist  
 and be writable by the web server. It will also likely take a  
 server restart for logging to kick in.


Well, the rb-site script created a logs directory at the same level  
as conf, htdocs, and tmp.  In the Admin interface, under Settings/ 
Logging, I have checked the Enable logging checkbox and restarted  
the server.  I left the Log directory text box blank assuming it  
would pick the default logs directory, but maybe that is not the  
case.  The directory is definitely writable by the apache user, but I  
am unsure what I need to put in the text box to make this work.  Is  
the path relative to the RB site or the apache  DocumentRoot or  
something else?

Alfred



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about AD integration and users/groups

2009-10-15 Thread Alfred von Campe

On Oct 14, 2009, at 18:49, Christian Hammond wrote:

 We use Django's e-mail functionality which unfortunately doesn't  
 give us any sort of debugging information.

 What mail server are you using? And is it on the same host? Do you  
 have anything like DKIM turned on?

Sorry for not replying sooner but it was a busy day.  The email  
notifications just started working today so I am all set for now.  I  
would still like to know how to enable logging to debug any problems  
in the future, but despite checking the option, I have nothing in  
the /logs directory.  But at least I have everything working now and  
we can start deploying RB to the group soon.

Thanks,
Alfred



--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: I'm evaluating reviewboard at LinkedIn with Subversion

2009-10-14 Thread Alfred von Campe

On Oct 13, 2009, at 17:00, Christian Hammond wrote:

 The 1.0.x releases don't support svn+ssh, but the 1.1 in- 
 development releases do. I would not suggest using 1.1 in  
 production yet though, as there will be bugs.

I'm still in the process of setting up our ReviewBoard server, but  
I've created a couple of test reviews and we are using svn+ssh and it  
appears to be working.

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about AD integration and users/groups

2009-10-14 Thread Alfred von Campe

On Oct 14, 2009, at 9:45, Thilo-Alexander Ginkel wrote:

 That's actually the standard behavior. Did you maintain an SMTP server
 in the settings?

It was set to the same host name as the RB server itself and the  
Send e-mails... checkbox was disabled.  I changed it to use our  
internal SMTP server and enabled the check box, but I am getting the  
following error now:

Traceback (most recent call last):

   File /usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/ 
core/handlers/base.py, line 92, in get_response
 response = callback(request, *callback_args, **callback_kwargs)

   File /usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/ 
views/decorators/cache.py, line 44, in _wrapped_view_func
 response = view_func(request, *args, **kwargs)

   File /usr/lib/python2.4/site-packages/Djblets-0.5.4-py2.4.egg/ 
djblets/webapi/decorators.py, line 59, in _checklogin
 response = view_func(request, *args, **kwargs)

   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0.4-py2.4.egg/ 
reviewboard/webapi/json.py, line 520, in review_request_publish
 review_request.publish(request.user)

   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0.4-py2.4.egg/ 
reviewboard/reviews/models.py, line 458, in publish
 mail_review_request(user, self, changes)

   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0.4-py2.4.egg/ 
reviewboard/reviews/email.py, line 184, in mail_review_request
 extra_context)

   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0.4-py2.4.egg/ 
reviewboard/reviews/email.py, line 114, in send_review_mail
 message.send()

   File /usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/ 
core/mail.py, line 266, in send
 return self.get_connection(fail_silently).send_messages([self])

   File /usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/ 
core/mail.py, line 166, in send_messages
 new_conn_created = self.open()

   File /usr/lib/python2.4/site-packages/Django-1.1-py2.4.egg/django/ 
core/mail.py, line 137, in open
 self.connection.login(self.username, self.password)

   File /usr/lib/python2.4/smtplib.py, line 583, in login
 raise SMTPException(No suitable authentication method found.)

SMTPException: No suitable authentication method found.

I have looked but can't figure out where I am supposed to set an  
authentication method.  As far as I know, our internal SMTP server  
doesn't even require a username and password, but I did supply one on  
the email configuration page just in case.

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about AD integration and users/groups

2009-10-14 Thread Alfred von Campe

On Oct 14, 2009, at 13:23, Thilo-Alexander Ginkel wrote:

 Did you try without setting the credentials?

I tried to, but it won't let me.  That is, I clear the Username and  
Password fields in the E-Mail Settings screen and click on Save.  But  
when the screen refreshes, the fields are filled in again.  Even  
after I stop and restart Apache.  Can I manually clear these settings  
from the database?  If so, how?  And how to I enable logging?  I  
can't get that to work either.

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about AD integration and users/groups

2009-10-14 Thread Alfred von Campe
On Oct 14, 2009, at 17:56, Christian Hammond wrote:

 It's possible that your browser is filling in these fields, and  
 that they're not actually being saved in the database. It's really  
 annoying. I've been meaning to look into whether or not the browser  
 can be told not to provide auto-filled username/password on  
 specific fields.

Good point, maybe it is the browser.  I'll try a different browser  
tomorrow to verify this, but in the mean time let's assume that the  
fields are indeed blank.  I'm still not getting any email  
notifications; how can I debug what's going on under the covers?  I  
assume that there might be something in the RB logs to pint me in the  
right direction, but I have not had any success turning logging on.

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: Question about running post-review

2009-10-13 Thread Alfred von Campe

On Oct 12, 2009, at 11:42, Alfred von Campe wrote:

The error I posted yesterday is suddenly gone today; that is, I ran  
post-review again in the same sandbox and the review posted without  
errors.  I have not changed a thing on the server.  Furthermore, when  
I went into the web interface and clicked on View Diff for the  
first time, I got a similar stack trace containing ClientError not  
defined.  However, the second time I clicked on View Diff it  
displayed properly.  So it looks like I'm all set to announce this to  
the developers, although it appears to be a little fragile still.  I  
don't like it when things fix themselves and I don't understand  
what the underlying problem was (or is) as it will probably come back  
to bite me in the future.  Now if I can just get LDAP or AD  
integration to work...

Alfred


--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.review-board.org/donate/
Happy user? Let us know at http://www.review-board.org/users/
-~--~~~~--~~--~--~---
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: Question about running post-review

2009-10-13 Thread Alfred von Campe

Hi Christian:

 Also, when you saw ClientError from post-review, that was output  
 from the server. So it's the same problem. I'd recommend restarting  
 Apache just in case it is an issue with one or two threads not  
 having imported it successfully.

I thought I had restarted Apache, but perhaps I did not.  I haven't  
seen the error again, so you are probably right.

 I should also mention that the upcoming 1.1 release does a much  
 better job of dependency checking. It's impossible to create a  
 repository entry without first having all the necessary  
 dependencies correctly installed. However, there's nothing we can  
 do about the above problem except to say to restart Apache.

Any idea on the schedule for 1.1?  Is it one day, one week, one  
month, one quarter?

Alfred



--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.review-board.org/donate/
Happy user? Let us know at http://www.review-board.org/users/
-~--~~~~--~~--~--~---
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
-~--~~~~--~~--~--~---



Question about AD integration and users/groups

2009-10-13 Thread Alfred von Campe

I've gotten the AD integration to work.  It was a lot easier than I  
expected and users can log in to ReviewBoard with their regular  
usernames and passwords.  This is great, but I've run into a few issues:

   1. I can not add a user to a review group unless that user has  
logged in to RB at least once.
   2. To add a user to a review, one must know that user's ID (in our  
company it's first initial, last initial, id #: ab12345), and most  
people can barely remember their own IDs
   3. I haven't found a way to use existing AD groups for either RB  
Groups or ReviewGroups.

Is there a way around any of these issues?

Alfred


--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.review-board.org/donate/
Happy user? Let us know at http://www.review-board.org/users/
-~--~~~~--~~--~--~---
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: Question about running post-review

2009-10-12 Thread Alfred von Campe

On Oct 12, 2009, at 11:27, David Trowbridge wrote:

 If you run post-review with --debug, it'll spit out a bunch of output
 which should hopefully tell you the real error.

I must be going bling; I didn't see that option in the output of  
post-review -h but it's right there at the bottom.  Here's the  
(slightly edited) output which is not very helpful to me but  
hopefully will be to someone on this list:

   $ post-review -d
svn info
repository info: Path: svn+ssh://svn.XXX.com/svn/projectX,  
Base path: /trunk, Supports changesets: False
svn propget reviewboard:url /scratch/Sandbox/projectX/trunk
svn diff --diff-cmd=diff
svn info Scripts/install.sh
svn info Scripts/install.sh
svn info Scripts/install.sh
svn info Scripts/install.sh
Looking for 'rb.XXX.com /rb/' cookie in /home/avc/.post-review- 
cookies.txt
Loaded valid cookie -- no login required
Attempting to create review request for None
HTTP GETting /api/json/repositories/
HTTP GETting /api/json/repositories/1/info/
repository info: Path: svn+ssh://svn.XXX.com/svn/projectX,  
Base path: /trunk, Supports changesets: False
HTTP POSTing to http://rb.XXX.com/rb/api/json/reviewrequests/ 
new/: {'repository_path': 'svn+ssh://svn.XXX.com/svn/projectX'}
Review request created
Uploading diff, size: 3187
HTTP POSTing to http://rb.XXX.com/rb/api/json/reviewrequests/6/ 
diff/new/: {'basedir': '/trunk'}
   Error uploading diff: One or more fields had errors (105)
{'fields': {'path': [global name 'ClientError' is not  
defined]}, 'stat': 'fail', 'err': {'msg': 'One or more fields had  
errors', 'co
   Your review request still exists, but the diff is not attached.

Any ideas what can be causing my post-review error?

Alfred


--~--~-~--~~~---~--~~
Want to help the Review Board project? Donate today at 
http://www.review-board.org/donate/
Happy user? Let us know at http://www.review-board.org/users/
-~--~~~~--~~--~--~---
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
-~--~~~~--~~--~--~---



Question about running post-review

2009-10-08 Thread Alfred von Campe

I'm still in the process of setting up out ReviewBoard server  
(struggling with LDAP/AD integration at the moment), but I'm looking  
slightly ahead. It appears that post-review is the recommended way to  
create a review (we're using Subversion if that matters), and I can  
see that post-review has been installed into /usr/bin/post-review.   
However, the server I installed ReviewBoard on is not a server that  
allows users to log in, and besides, the user's sandboxes are not on  
that server anyway.  So how is a user supposed to run post-review on  
his or her system?  I'm dealing with a few dozen developers on a few  
dozen Linux systems; am I supposed to install ReviewBoard on each  
user's desktop?

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Can't get ReviewBoard configured on CentOS 5.3

2009-07-24 Thread Alfred von Campe

I reluctantly used easy_install to get ReviewBoard 1.0 installed on  
my CentOS 5.3 server (I would have preferred to use an RPM based  
install, but that is not available).  I actually started to install  
when 1.0rc2 was the latest but had problems back then as well.  At  
the moment I don't know exactly what versions of all the components  
that are installed, only that easy_install finally completed  
installing all dependencies.  Side question #1: how can I tell  
everything that has been installed by easy_install?  Side question  
#2: how can I uninstall everything installed by easy_install so I can  
start from scratch again?

Anyway, now that everything is installed, I get the following error  
when I try to configure ReviewBoard:

# rb-site install /local/www/html/rb
Traceback (most recent call last):
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/ 
reviewboard/cmdline/rbsite.py, line 753, in next_page
 func()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/ 
reviewboard/cmdline/rbsite.py, line 918, in call_func
 func()
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/ 
reviewboard/cmdline/rbsite.py, line 310, in sync_database
 self.run_manage_command(syncdb, [--noinput])
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/ 
reviewboard/cmdline/rbsite.py, line 347, in run_manage_command
 fix_django_evolution_issues(reviewboard.settings)
   File /usr/lib/python2.4/site-packages/ReviewBoard-1.0-py2.4.egg/ 
reviewboard/admin/migration.py, line 13, in fix_django_evolution_issues
 import django.db.models.fields as model_fields
   File /usr/lib/python2.4/site-packages/Django-1.0.2_final- 
py2.4.egg/django/db/__init__.py, line 16, in ?
 backend = __import__('%s%s.base' % (_import_path,  
settings.DATABASE_ENGINE), {}, {}, [''])
   File /usr/lib/python2.4/site-packages/Django-1.0.2_final- 
py2.4.egg/django/db/backends/mysql/base.py, line 22, in ?
 raise ImproperlyConfigured(MySQLdb-1.2.1p2 or newer is  
required; you have %s % Database.__version__)
django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer  
is required; you have 1.2.1

I just recently joined this group and have searched through the  
archives for the string MySQLdb-1.2.1p2 or newer is required and  
nothing showed up.  However, a Google search did find an email thread  
in this group from last month, but it did not really have a good  
solution: one was to install a new driver and the other to install  
and use a separate Python installation.  I don't know how to do the  
former and don't want to do the latter.

What is the best way to install/configure/run ReviewBoard on a CentOS  
5.3 (or Red Hat Enterprise Linux 5) server?

Alfred


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---