Re: rb-site install - Review Board is taking a nap
Anyone have any further suggestions on how to debug 'ReviewBoard is taking a nap' after a fresh install? Maybe there are some diagnostics I can run on my reviewboard site instance using rb-site manage or shell? I've tried validate and test, results are below (there was a problem running test) Thanks, Daniel % rb-site manage /full/path/to/my/site/ validate 0 errors found % rb-site manage /full/path/to/my/site/ test Creating test database 'default'... Creating table django_admin_log Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_user_permissions Creating table auth_user_groups Creating table auth_user Creating table auth_message Creating table django_content_type Creating table django_site Creating table django_session Creating table siteconfig_siteconfiguration Creating table accounts_reviewrequestvisit Creating table accounts_profile_starred_review_requests Creating table accounts_profile_starred_groups Creating table accounts_profile Creating table changedescs_changedescription Creating table diffviewer_filediff Creating table diffviewer_diffset Creating table diffviewer_diffsethistory Creating table reviews_group_users Creating table reviews_group Creating table reviews_defaultreviewer_repository Creating table reviews_defaultreviewer_people Creating table reviews_defaultreviewer_groups Creating table reviews_defaultreviewer Creating table reviews_screenshot Creating table reviews_reviewrequest_changedescs Creating table reviews_reviewrequest_target_people Creating table reviews_reviewrequest_inactive_screenshots Creating table reviews_reviewrequest_screenshots Creating table reviews_reviewrequest_target_groups Creating table reviews_reviewrequest Creating table reviews_reviewrequestdraft_target_people Creating table reviews_reviewrequestdraft_inactive_screenshots Creating table reviews_reviewrequestdraft_screenshots Creating table reviews_reviewrequestdraft_target_groups Creating table reviews_reviewrequestdraft Creating table reviews_comment Creating table reviews_screenshotcomment Creating table reviews_review_comments Creating table reviews_review_screenshot_comments Creating table reviews_review Creating table scmtools_tool Creating table scmtools_repository Creating table django_project_version Creating table django_evolution Installing baseline version Evolutions in diffviewer baseline: add_parent_diffs, filediff_filenames_1024_chars, diffset_basedir, filediff_status Evolutions in reviews baseline: change_descriptions, last_review_timestamp, shipit_count, default_reviewer_repositories Evolutions in scmtools baseline: bugzilla_url_charfield, repository_raw_file_url, repository_visible, repository_path_length_255 Installing custom SQL for accounts.Profile model Installing custom SQL for reviews.Group model Installing custom SQL for reviews.ReviewRequest model Installing index for admin.LogEntry model Installing index for auth.Permission model Installing index for auth.Group_permissions model Installing index for auth.User_user_permissions model Installing index for auth.User_groups model Installing index for auth.Message model Installing index for siteconfig.SiteConfiguration model Installing index for accounts.ReviewRequestVisit model Installing index for accounts.Profile_starred_review_requests model Installing index for accounts.Profile_starred_groups model Installing index for diffviewer.FileDiff model Installing index for diffviewer.DiffSet model Installing index for reviews.Group_users model Installing index for reviews.DefaultReviewer_repository model Installing index for reviews.DefaultReviewer_people model Installing index for reviews.DefaultReviewer_groups model Installing index for reviews.ReviewRequest_changedescs model Installing index for reviews.ReviewRequest_target_people model Installing index for reviews.ReviewRequest_inactive_screenshots model Installing index for reviews.ReviewRequest_screenshots model Installing index for reviews.ReviewRequest_target_groups model Installing index for reviews.ReviewRequest model Installing index for reviews.ReviewRequestDraft_target_people model Installing index for reviews.ReviewRequestDraft_inactive_screenshots model Installing index for reviews.ReviewRequestDraft_screenshots model Installing index for reviews.ReviewRequestDraft_target_groups model Installing index for reviews.ReviewRequestDraft model Installing index for reviews.Comment model Installing index for reviews.ScreenshotComment model Installing index for reviews.Review_comments model Installing index for reviews.Review_screenshot_comments model Installing index for reviews.Review model Installing index for scmtools.Repository model Installing index for django_evolution.Evolution model No fixtures found. No fixtures found. Traceback (most recent call last): File /usr/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.5rc1', 'console_scripts', 'rb- site')() File
Re: rb-site install - Review Board is taking a nap
Hi Daniel, I've been on vacation, so I'm just now reading this. The test command won't work on an installed site. It requires a development checkout. I'd recommend editing your site's conf/settings_local.py and setting DEBUG to True (note the capital 'T'). Then restart your web server and see what kind of error you're getting. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Jul 14, 2010 at 8:24 AM, Daniel da.s...@gmail.com wrote: Anyone have any further suggestions on how to debug 'ReviewBoard is taking a nap' after a fresh install? Maybe there are some diagnostics I can run on my reviewboard site instance using rb-site manage or shell? I've tried validate and test, results are below (there was a problem running test) Thanks, Daniel % rb-site manage /full/path/to/my/site/ validate 0 errors found % rb-site manage /full/path/to/my/site/ test Creating test database 'default'... Creating table django_admin_log Creating table auth_permission Creating table auth_group_permissions Creating table auth_group Creating table auth_user_user_permissions Creating table auth_user_groups Creating table auth_user Creating table auth_message Creating table django_content_type Creating table django_site Creating table django_session Creating table siteconfig_siteconfiguration Creating table accounts_reviewrequestvisit Creating table accounts_profile_starred_review_requests Creating table accounts_profile_starred_groups Creating table accounts_profile Creating table changedescs_changedescription Creating table diffviewer_filediff Creating table diffviewer_diffset Creating table diffviewer_diffsethistory Creating table reviews_group_users Creating table reviews_group Creating table reviews_defaultreviewer_repository Creating table reviews_defaultreviewer_people Creating table reviews_defaultreviewer_groups Creating table reviews_defaultreviewer Creating table reviews_screenshot Creating table reviews_reviewrequest_changedescs Creating table reviews_reviewrequest_target_people Creating table reviews_reviewrequest_inactive_screenshots Creating table reviews_reviewrequest_screenshots Creating table reviews_reviewrequest_target_groups Creating table reviews_reviewrequest Creating table reviews_reviewrequestdraft_target_people Creating table reviews_reviewrequestdraft_inactive_screenshots Creating table reviews_reviewrequestdraft_screenshots Creating table reviews_reviewrequestdraft_target_groups Creating table reviews_reviewrequestdraft Creating table reviews_comment Creating table reviews_screenshotcomment Creating table reviews_review_comments Creating table reviews_review_screenshot_comments Creating table reviews_review Creating table scmtools_tool Creating table scmtools_repository Creating table django_project_version Creating table django_evolution Installing baseline version Evolutions in diffviewer baseline: add_parent_diffs, filediff_filenames_1024_chars, diffset_basedir, filediff_status Evolutions in reviews baseline: change_descriptions, last_review_timestamp, shipit_count, default_reviewer_repositories Evolutions in scmtools baseline: bugzilla_url_charfield, repository_raw_file_url, repository_visible, repository_path_length_255 Installing custom SQL for accounts.Profile model Installing custom SQL for reviews.Group model Installing custom SQL for reviews.ReviewRequest model Installing index for admin.LogEntry model Installing index for auth.Permission model Installing index for auth.Group_permissions model Installing index for auth.User_user_permissions model Installing index for auth.User_groups model Installing index for auth.Message model Installing index for siteconfig.SiteConfiguration model Installing index for accounts.ReviewRequestVisit model Installing index for accounts.Profile_starred_review_requests model Installing index for accounts.Profile_starred_groups model Installing index for diffviewer.FileDiff model Installing index for diffviewer.DiffSet model Installing index for reviews.Group_users model Installing index for reviews.DefaultReviewer_repository model Installing index for reviews.DefaultReviewer_people model Installing index for reviews.DefaultReviewer_groups model Installing index for reviews.ReviewRequest_changedescs model Installing index for reviews.ReviewRequest_target_people model Installing index for reviews.ReviewRequest_inactive_screenshots model Installing index for reviews.ReviewRequest_screenshots model Installing index for reviews.ReviewRequest_target_groups model Installing index for reviews.ReviewRequest model Installing index for reviews.ReviewRequestDraft_target_people model Installing index for reviews.ReviewRequestDraft_inactive_screenshots model Installing index for reviews.ReviewRequestDraft_screenshots model Installing index for reviews.ReviewRequestDraft_target_groups
Re: rb-site install - Review Board is taking a nap
I'm just installed rc 1.5 and I'm getting the same message. I tried the following so far * enable debug but get the same screen no log files created in project-root/logs * changed permissions of project/media/uploaded I'm running centos 5.4, python 2.6, mod_wsgi, mod_python, sqlite3, and memcached. I tried with both mod_wsgi and mod_python (however version 2.4 was being invoked so I need to try and recompile the apache module against python 2.6). Any suggestions what else I can try? Thanks in advance, Daniel -- 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: rb-site install - Review Board is taking a nap
Glad you got it working, Eric! I've updated the docs to make this more clear, and they'll appear on the website during the docs refresh in a couple hours. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.review-board.org VMware, Inc. - http://www.vmware.com On Thu, Jun 25, 2009 at 11:18 AM, Eric P eric.maill...@gmail.com wrote: I actually ran rb-site w/o those params. I just wanted to convey that info (should've done it another way). I gave web server ownership to the 'db' directory (running sqlite3) and its content, and that did the trick. Thanks! That step should probably be added to the docs for those who use sqlite. Somewhere here: http://www.review-board.org/docs/manual/dev/admin/sites/creating-sites/#changing-permissions Thanks again for everyone's help. My ulterior motive here is to convince the boss to use Review Board over Crucible. The path looks clear now (yay!) Eric P On Thu, Jun 25, 2009 at 12:45 PM, Jeff Androsj...@bigredtj.com wrote: I've yet to do an install like that, and someone else may correct me, but normally that message means that the apache user does not have write access to bothr the sqlite file and the folder that contains it. Try tracking that down and changing the permissions/owner. --Jeff 2009/6/25 Eric P eric.maill...@gmail.com Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\ndefault=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P -- Jeff O|||O --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
rb-site install - Review Board is taking a nap
Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\ndefault=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
I've yet to do an install like that, and someone else may correct me, but normally that message means that the apache user does not have write access to bothr the sqlite file and the folder that contains it. Try tracking that down and changing the permissions/owner. --Jeff 2009/6/25 Eric P eric.maill...@gmail.com Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\ndefault=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P -- Jeff O|||O --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
I actually ran rb-site w/o those params. I just wanted to convey that info (should've done it another way). I gave web server ownership to the 'db' directory (running sqlite3) and its content, and that did the trick. Thanks! That step should probably be added to the docs for those who use sqlite. Somewhere here: http://www.review-board.org/docs/manual/dev/admin/sites/creating-sites/#changing-permissions Thanks again for everyone's help. My ulterior motive here is to convince the boss to use Review Board over Crucible. The path looks clear now (yay!) Eric P On Thu, Jun 25, 2009 at 12:45 PM, Jeff Androsj...@bigredtj.com wrote: I've yet to do an install like that, and someone else may correct me, but normally that message means that the apache user does not have write access to bothr the sqlite file and the folder that contains it. Try tracking that down and changing the permissions/owner. --Jeff 2009/6/25 Eric P eric.maill...@gmail.com Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P -- Jeff O|||O --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
Not sure about what you are seeing in the logs because I did not look at my logs. But I was getting that error when SELinux was enabled. Try turning off SELinux. On Jun 25, 12:34 pm, Eric P eric.maill...@gmail.com wrote: Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P --~--~-~--~~~---~--~~ 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: rb-site install - Review Board is taking a nap
Yep, I did that as well while I was trying to get this all working. Thanks, Eric On Thu, Jun 25, 2009 at 1:18 PM, grimbeavertbrez...@gmail.com wrote: Not sure about what you are seeing in the logs because I did not look at my logs. But I was getting that error when SELinux was enabled. Try turning off SELinux. On Jun 25, 12:34 pm, Eric P eric.maill...@gmail.com wrote: Hi (me again), I have all my dependency issues sorted, and I've installed my first Review Board site per the documentation. When I go to visit the site, I see the 'Review Board is taking a nap' dialog box. In my Apache error_log, I see some errors: [error] [client 127.0.0.1] mod_python (pid=3617, interpreter='reviewboard_reviews_mysite_com', phase='PythonHandler', handler='django.core.handlers.modpython'): Application error ... [error] [client 127.0.0.1] Traceback (most recent call last): [Thu Jun 25 09:51:56 2009] [error] [client 127.0.0.1] File /usr/lib/python2.6/site-packages/mod_python/importer.py, line 1537, in HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent) ... [error] [client 127.0.0.1] OperationalError: attempt to write a readonly database FYI. Here are the params I used to set up the site. rb-site install reviews.mysite.com \ --domain-name=reviews.mysite.com \ --site-root=/ \ --media-url=/media \ --db-type=sqlite3 \ --cache-type=memcached \ --cache-info=memcached://localhost:11211/ \ --web-server-type=apache \ --python-loader=modpython I'm not sure what to make of those errors. It looks like there are a couple issues. Anyway, thanks for reading. Eric P --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---