If I ssh to the RB server and do the following (some steps I found on this
list):
$ sudo -s
$ sudo -u www-data -s
$ DEBUG_RBSSH=1 rbssh <svn.server.ip>
I get the following error:
Traceback (most recent call last):
File "/usr/local/bin/rbssh", line 9, in <module>
load_entry_point('ReviewBoard==2.0.17', 'console_scripts', 'rbssh')()
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.17-py2.7.egg/reviewboard/cmdline/rbssh.py"
, line 271, in main
filemode='w')
File "/usr/lib/python2.7/logging/__init__.py", line 1532, in basicConfig
hdlr = FileHandler(filename, mode)
File "/usr/lib/python2.7/logging/__init__.py", line 903, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/lib/python2.7/logging/__init__.py", line 928, in _open
stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: u'/home/myserver/rbssh-1281.log'
Without debug I get:
Traceback (most recent call last):
File "/usr/local/bin/rbssh", line 9, in <module>
load_entry_point('ReviewBoard==2.0.17', 'console_scripts', 'rbssh')()
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.17-py2.7.egg/reviewboard/cmdline/rbssh.py",
line 294, in main
client = SSHClient(namespace=options.local_site_name)
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.17-py2.7.egg/reviewboard/ssh/client.py",
line 62, in __init__
self._load_storage()
File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.17-py2.7.egg/reviewboard/ssh/client.py",
line 76, in _load_storage
self.DEFAULT_STORAGE)
File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/conf/__init__.py",
line 54, in __getattr__
self._setup(name)
File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.11-py2.7.egg/django/conf/__init__.py",
line 47, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting
RBSSH_STORAGE_BACKEND, but settings are not configured. You must either
define the environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() before accessing settings.
But normal SSH works without any problems and logs in with the correct user
without asking for a password.
ssh svn.server.ip
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.