Something broke! (Error 500) Trouble copying reviewboard 3.0.15 to another server

64 views
Skip to first unread message

Ron A

unread,
Sep 3, 2019, 2:42:52 AM9/3/19
to Review Board Community
I have a reviewboard 3.0.15 installation working on centos 7 and mysql. I install a fresh installation of Reviewboard 3.0.15 on another server, it works and I am able to login.  But when I import the mysql data into the new reviewboard installation I receive all the errors below.
Any clues? Thanks!

The website produces this error and the other errors are received from email.
"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."


Traceback (most recent call last):
..

  File "/usr/lib/python2.7/site-packages/django/contrib/staticfiles/storage.py", line 96, in hashed_name
    (clean_name, self))

ValueError: The file 'djblets/js/jquery.gravy.min.j
s' could not be found with <pipeline.storage.PipelineCachedStorage object at 0x7efc06ec7390>.


<WSGIRequest
path:/reviewboard/account/login/,
GET:<QueryDict: {u'next': [u'/reviewboard/']}>,
POST:<QueryDict: {}>,
COOKIES:{'collapsediffs': 'True',
 'csrftoken': 'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
 'rbsessionid': '9etqxl8xc5wnyl0y8wh0051z6b30p8si'},
META:{'CONTEXT_DOCUMENT_ROOT': '/www/reviewboard/htdocs',
 'CONTEXT_PREFIX': '',
 u'CSRF_COOKIE': u'Yu0qELEBn2aS0RaS93B9hPrERECnxqzg',
 u'CSRF_COOKIE_USED': True,
 'DOCUMENT_ROOT': '/www/reviewboard/htdocs',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'rbsessionid=9etqxl8xc5wnyl0y8wh0051z6b30p8si; csrftoken=Yu0qELEBn2aS0RaS93B9hPrERECnxqzg; collapsediffs=True',
 'HTTP_HOST': 'newhost,
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Firefox/68.0',
 'PATH_INFO': u'/reviewboard/account/login/',
 'PATH_TRANSLATED': '/www/reviewboard/htdocs/reviewboard.wsgi/reviewboard/account/login/',
 'QUERY_STRING': 'next=/reviewboard/',
 'REMOTE_ADDR': '192.168.16.10',
 'REMOTE_PORT': '55458',
 'REQUEST_METHOD': 'GET',
 'REQUEST_SCHEME': 'https',
 'REQUEST_URI': '/reviewboard/account/login/?next=/reviewboard/',
 'SCRIPT_FILENAME': '/www/reviewboard/htdocs/reviewboard.wsgi',
 'SCRIPT_NAME': u'',
 'SERVER_ADDR': '192.168.16.5',
 'SERVER_ADMIN': 'root@localhost',
 'SERVER_NAME': 'newhost.com',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '',
 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5 SVN/1.11.0',
 'SSL_TLS_SNI': 'newhost.com',
 'UNIQUE_ID': 'XW3-w1j3wDZ4c9vjfZWO7AAAAAE',
 'mod_wsgi.application_group': newhost.com|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.enable_sendfile': '0',
 'mod_wsgi.handler_script': '',
 'mod_wsgi.input_chunked': '0',
 'mod_wsgi.listener_host': '0.0.0.0',
 'mod_wsgi.process_group': '',
 'mod_wsgi.queue_start': '1567489987154458',
 'mod_wsgi.request_handler': 'wsgi-script',
 'mod_wsgi.script_reloading': '1',
 'mod_wsgi.version': (3, 4),
 'wsgi.errors': <mod_wsgi.Log object at 0x7efc06a1ffb0>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7efc06eab7b0>,
 'wsgi.input': <mod_wsgi.Input object at 0x7efc06ea6930>,

 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': u'https',
 'wsgi.version': (1, 0)}>

Ron T

unread,
Sep 3, 2019, 2:53:53 AM9/3/19
to Review Board Community
In addition this error is in the error log
[autoindex:error] [pid 19085] [client 10.101.0.0:55445] AH01276: Cannot serve directory /www/reviewboard/htdocs/: No matching DirectoryIndex (index.html) found, and server-generated directory index forbidden by Options directive

--
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 a topic in the Google Groups "Review Board Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/gaBZsnb24e8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/1ecbeb5d-f8b4-4392-9670-633a9ee82801%40googlegroups.com.

Christian Hammond

unread,
Sep 3, 2019, 3:46:19 PM9/3/19
to revie...@googlegroups.com
Hi Rob,

Looks like your mod_wsgi setup isn’t enabled or working correctly, or you have a default Apache vhost that’s conflicting with the Review Board one. It shouldn’t be serving any files directly from our htdocs.

Judging by the first error, you may also need to re-run `rb-site upgrade` on the Review Board site directory in order to fix media links.

Also, make sure you’re using the same SECRET_KEY in conf/settings_local.py.

Christian


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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CAKTzQdXgA19CbAJzvgiHtJHPBmumrWeO8Gx4Vyk50NK%2Bna%2BTTg%40mail.gmail.com.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board

Christian Hammond

unread,
Sep 3, 2019, 3:46:48 PM9/3/19
to revie...@googlegroups.com
Gah I’m sorry, Ron. Can I blame autocorrect?

Christian

Ron T

unread,
Sep 18, 2019, 8:34:14 PM9/18/19
to Review Board Community
Thanks Christian. I think it was a secret key problem. The default installation was working with an empty database but when the old database was imported it broke.

Reply all
Reply to author
Forward
0 new messages