Re: RB server upgrade from 1.6.1 to 1.7.4
Hi Christian, I would like to thank you for your response about upgrade. I went through with your comments and i was able to bring my server to 1.7.4. Also also want to bring to your notice regarding below warning i got after while upgrading my site. /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. How to resolve this? Do i need to build it libgmp again as message shows, will it make RB server report more issues. Thanks, -Chuck On Fri, Feb 1, 2013 at 6:58 PM, chuck j cjerry2...@gmail.com wrote: Thanks Christian for the response. Good to hear that upgrade is possible from 1.6.1 to 1.7.4 RB version, apart from the database backup do we need to take care of any thing else which will disturb our production setup and in case of any issue we should be able to go back to our original state, if you point us action item it would be really great. Few queries though 1. How does upgrade takes place, does it replace files by files ( I mean python scripts etc ) apart from db. 2. The Release note of 1.7.2 its been mentioned about below However, this requires that p4python is specially compiled with OpenSSL support, and that the system has development headers for OpenSSL 1.0.1. P4PythonInstaller doesn’t do this, so users who need this feature will currently have to compile p4python manually, providing the path to the SSL directory using --ssl Do we have any tech note for the above steps which end user needs to perform. Cheers, Chuck On Thu, Jan 31, 2013 at 2:50 PM, Christian Hammond chip...@chipx86.comwrote: Hi Chuck, I always recommend backing up your database first, but you should be able to upgrade from 1.6.1 to 1.7.4 without any real problems. There is a bug that some people hit a while back in older versions that introduced some stale upgrade data in the database. I meant to get a final fix out in 1.7.4, but it slipped. If your 'rb-site upgrade' complains about fields that already exist or something, e-mail and I'll give you the solution. Otherwise, you shouldn't have any problems. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Jan 31, 2013 at 2:47 PM, chuck j cjerry2...@gmail.com wrote: Dear All, There has been lots of improvement done on RB server from version 1.6.1 till date, hence i would like to know if the upgrade from 1.6.1 to latest version is supported? If not then how should I bring my RB server 1.6.1 to latest state without loosing the existing data from my existing database. We need to upgrade because 1.7.2 has SSL feature implement and we have planned to upgrade perforce server to 2012.2. Please help. Appreciated your response and help Cheers, Chuck. -- 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: RB server upgrade from 1.6.1 to 1.7.4
While sent an email to you, I face one issue. When i clicked to any of the old review request i see error message: 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. What is this weird messagehas upgrade went fine? Thanks, - Chuck On Wed, Feb 6, 2013 at 1:40 PM, chuck j cjerry2...@gmail.com wrote: Hi Christian, I would like to thank you for your response about upgrade. I went through with your comments and i was able to bring my server to 1.7.4. Also also want to bring to your notice regarding below warning i got after while upgrading my site. /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. How to resolve this? Do i need to build it libgmp again as message shows, will it make RB server report more issues. Thanks, -Chuck On Fri, Feb 1, 2013 at 6:58 PM, chuck j cjerry2...@gmail.com wrote: Thanks Christian for the response. Good to hear that upgrade is possible from 1.6.1 to 1.7.4 RB version, apart from the database backup do we need to take care of any thing else which will disturb our production setup and in case of any issue we should be able to go back to our original state, if you point us action item it would be really great. Few queries though 1. How does upgrade takes place, does it replace files by files ( I mean python scripts etc ) apart from db. 2. The Release note of 1.7.2 its been mentioned about below However, this requires that p4python is specially compiled with OpenSSL support, and that the system has development headers for OpenSSL 1.0.1. P4PythonInstaller doesn’t do this, so users who need this feature will currently have to compile p4python manually, providing the path to the SSL directory using --ssl Do we have any tech note for the above steps which end user needs to perform. Cheers, Chuck On Thu, Jan 31, 2013 at 2:50 PM, Christian Hammond chip...@chipx86.comwrote: Hi Chuck, I always recommend backing up your database first, but you should be able to upgrade from 1.6.1 to 1.7.4 without any real problems. There is a bug that some people hit a while back in older versions that introduced some stale upgrade data in the database. I meant to get a final fix out in 1.7.4, but it slipped. If your 'rb-site upgrade' complains about fields that already exist or something, e-mail and I'll give you the solution. Otherwise, you shouldn't have any problems. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Jan 31, 2013 at 2:47 PM, chuck j cjerry2...@gmail.com wrote: Dear All, There has been lots of improvement done on RB server from version 1.6.1 till date, hence i would like to know if the upgrade from 1.6.1 to latest version is supported? If not then how should I bring my RB server 1.6.1 to latest state without loosing the existing data from my existing database. We need to upgrade because 1.7.2 has SSL feature implement and we have planned to upgrade perforce server to 2012.2. Please help. Appreciated your response and help Cheers, Chuck. -- 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: RB server upgrade from 1.6.1 to 1.7.4
Hi Chuck, Sorry for failing to respond to the previous e-mail. Missed it. I haven't seen that particular warning before. It'll probably have a log entry any time pycrypto is imported. What distro/version are you using? Sounds like maybe it's an older one? You may need to hand-upgrade libgmp, I'm not sure. From your previous e-mail: Doing a site backup never hurts, but generally isn't important. Review Board won't delete any files. At most, it'd add some new directories and tell you to change permissions, but I don't think we've done that since 1.5. We have provided instructions on other sorts of manual updates that need to be made, though. We don't have any documentation right now on p4python's SSL support. This is only needed if you're using SSL-backed Perforce repositories. It's unfortunately not something we can automate well right now, but essentially, you'd have to install OpenSSL 1.0.1 on your distro and install its development package (I don't know if newer versions work -- hopefully other 1.0.x releases do). You'd then need to manually compile/install p4python. Yes, it's a pain, but it's something Perforce will need to make easier for us. From the e-mail you just posted while I was replying to this, you'd need to check the reviewboard.log file and see what error it's reporting before I can say what happened. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 12:10 AM, chuck j cjerry2...@gmail.com wrote: Hi Christian, I would like to thank you for your response about upgrade. I went through with your comments and i was able to bring my server to 1.7.4. Also also want to bring to your notice regarding below warning i got after while upgrading my site. /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. How to resolve this? Do i need to build it libgmp again as message shows, will it make RB server report more issues. Thanks, -Chuck On Fri, Feb 1, 2013 at 6:58 PM, chuck j cjerry2...@gmail.com wrote: Thanks Christian for the response. Good to hear that upgrade is possible from 1.6.1 to 1.7.4 RB version, apart from the database backup do we need to take care of any thing else which will disturb our production setup and in case of any issue we should be able to go back to our original state, if you point us action item it would be really great. Few queries though 1. How does upgrade takes place, does it replace files by files ( I mean python scripts etc ) apart from db. 2. The Release note of 1.7.2 its been mentioned about below However, this requires that p4python is specially compiled with OpenSSL support, and that the system has development headers for OpenSSL 1.0.1. P4PythonInstaller doesn’t do this, so users who need this feature will currently have to compile p4python manually, providing the path to the SSL directory using --ssl Do we have any tech note for the above steps which end user needs to perform. Cheers, Chuck On Thu, Jan 31, 2013 at 2:50 PM, Christian Hammond chip...@chipx86.com wrote: Hi Chuck, I always recommend backing up your database first, but you should be able to upgrade from 1.6.1 to 1.7.4 without any real problems. There is a bug that some people hit a while back in older versions that introduced some stale upgrade data in the database. I meant to get a final fix out in 1.7.4, but it slipped. If your 'rb-site upgrade' complains about fields that already exist or something, e-mail and I'll give you the solution. Otherwise, you shouldn't have any problems. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Jan 31, 2013 at 2:47 PM, chuck j cjerry2...@gmail.com wrote: Dear All, There has been lots of improvement done on RB server from version 1.6.1 till date, hence i would like to know if the upgrade from 1.6.1 to latest version is supported? If not then how should I bring my RB server 1.6.1 to latest state without loosing the existing data from my existing database. We need to upgrade because 1.7.2 has SSL feature implement and we have planned to upgrade perforce server to 2012.2. Please help. Appreciated your response and help Cheers, Chuck. -- 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
Re: RB server upgrade from 1.6.1 to 1.7.4
Here are the logs its seems it searching for lessc executable. Environment: Request Method: GET Request URL: http://scrrb1.na.software.com/svrrb/dashboard/?view=to-me Django Version: 1.4.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.markup', 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.staticfiles', 'djblets.datagrid', 'djblets.extensions', 'djblets.feedview', 'djblets.gravatars', 'djblets.log', 'djblets.pipeline', 'djblets.siteconfig', 'djblets.util', 'djblets.webapi', 'pipeline', 'reviewboard.accounts', 'reviewboard.admin', 'reviewboard.attachments', 'reviewboard.changedescs', 'reviewboard.diffviewer', 'reviewboard.extensions', 'reviewboard.hostingsvcs', 'reviewboard.notifications', 'reviewboard.reviews', 'reviewboard.reviews.ui', 'reviewboard.scmtools', 'reviewboard.site', 'reviewboard.ssh', 'reviewboard.webapi', 'django_evolution'] Installed Middleware: ['django.middleware.gzip.GZipMiddleware', 'reviewboard.admin.middleware.InitReviewBoardMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'djblets.siteconfig.middleware.SettingsMiddleware', 'reviewboard.admin.middleware.LoadSettingsMiddleware', 'djblets.extensions.middleware.ExtensionsMiddleware', 'djblets.log.middleware.LoggingMiddleware', 'reviewboard.accounts.middleware.TimezoneMiddleware', 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware', 'reviewboard.admin.middleware.X509AuthMiddleware', 'reviewboard.site.middleware.LocalSiteMiddleware'] Template error: In template /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/templates/base.html, error at line 39 /usr/bin/env: lessc: No such file or directory 29 : }, 30 : {% if not user.is_anonymous %} 31 : gUserName = {{user.username}}, 32 : gUserFullName = {{user|user_displayname}}, 33 : {% endif %} 34 : gUserAuthenticated = {{user.is_authenticated|lower}}; 35 : {% block jsconsts %}{% endblock %} 36 : /script 37 : link rel=shortcut icon type=image/x-icon href={% static rb/images/favicon.ico %} / 38 : link rel=apple-touch-icon-precomposed type=image/png href={% static rb/images/apple-home-icon.png %} / 39 : {% compressed_css common %} 40 : {% block css %}{% endblock %} 41 : {% template_hook_point base-css %} 42 : !--[if lt IE 7.] 43 : style type=text/css 44 : body { 45 : behavior: url({% static lib/js/csshover2.htc %}); 46 : } 47 : 48 : img, 49 : table.sidebyside .commentflag, Traceback: File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/core/handlers/base.py in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/auth/util.py in _checklogin 47. return view_func(request, *args, **kwargs) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/accounts/decorators.py in _check_valid_prefs 52. return view_func(request, *args, **kwargs) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/reviews/views.py in dashboard 854. 'sidebar_hooks': DashboardHook.hooks, File /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/datagrid/grids.py in render_to_response 777. context)) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/shortcuts/__init__.py in render_to_response 20. return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/loader.py in render_to_string 171. return t.render(Context(dictionary)) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/base.py in render 140. return self._render(context) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/base.py in _render 134. return self.nodelist.render(context) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/base.py in render 823. bit = self.render_node(node, context) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/debug.py in render_node 74. return node.render(context) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/template/loader_tags.py in render 123.
Re: RB server upgrade from 1.6.1 to 1.7.4
Yep, it's looking for lessc, which it shouldn't be. That means it's not finding the generated static media files, probably. Or some other strange configuration problem. Probably an installation problem. To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site', correct? If you did do the rb-site upgrade when you installed 1.7.4, then can you show me what's in your $sitedir/htdocs/static/rb/css/ and $sitedir/htdocs/static/djblets/css/ directories? What version of what distro are you using? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 12:34 AM, chuck j cjerry2...@gmail.com wrote: Here are the logs its seems it searching for lessc executable. Environment: Request Method: GET Request URL: http://scrrb1.na.software.com/svrrb/dashboard/?view=to-me Django Version: 1.4.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.markup', 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.staticfiles', 'djblets.datagrid', 'djblets.extensions', 'djblets.feedview', 'djblets.gravatars', 'djblets.log', 'djblets.pipeline', 'djblets.siteconfig', 'djblets.util', 'djblets.webapi', 'pipeline', 'reviewboard.accounts', 'reviewboard.admin', 'reviewboard.attachments', 'reviewboard.changedescs', 'reviewboard.diffviewer', 'reviewboard.extensions', 'reviewboard.hostingsvcs', 'reviewboard.notifications', 'reviewboard.reviews', 'reviewboard.reviews.ui', 'reviewboard.scmtools', 'reviewboard.site', 'reviewboard.ssh', 'reviewboard.webapi', 'django_evolution'] Installed Middleware: ['django.middleware.gzip.GZipMiddleware', 'reviewboard.admin.middleware.InitReviewBoardMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'djblets.siteconfig.middleware.SettingsMiddleware', 'reviewboard.admin.middleware.LoadSettingsMiddleware', 'djblets.extensions.middleware.ExtensionsMiddleware', 'djblets.log.middleware.LoggingMiddleware', 'reviewboard.accounts.middleware.TimezoneMiddleware', 'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware', 'reviewboard.admin.middleware.X509AuthMiddleware', 'reviewboard.site.middleware.LocalSiteMiddleware'] Template error: In template /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/templates/base.html, error at line 39 /usr/bin/env: lessc: No such file or directory 29 : }, 30 : {% if not user.is_anonymous %} 31 : gUserName = {{user.username}}, 32 : gUserFullName = {{user|user_displayname}}, 33 : {% endif %} 34 : gUserAuthenticated = {{user.is_authenticated|lower}}; 35 : {% block jsconsts %}{% endblock %} 36 : /script 37 : link rel=shortcut icon type=image/x-icon href={% static rb/images/favicon.ico %} / 38 : link rel=apple-touch-icon-precomposed type=image/png href={% static rb/images/apple-home-icon.png %} / 39 : {% compressed_css common %} 40 : {% block css %}{% endblock %} 41 : {% template_hook_point base-css %} 42 : !--[if lt IE 7.] 43 : style type=text/css 44 : body { 45 : behavior: url({% static lib/js/csshover2.htc %}); 46 : } 47 : 48 : img, 49 : table.sidebyside .commentflag, Traceback: File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/core/handlers/base.py in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/auth/util.py in _checklogin 47. return view_func(request, *args, **kwargs) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/accounts/decorators.py in _check_valid_prefs 52. return view_func(request, *args, **kwargs) File /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/reviews/views.py in dashboard 854. 'sidebar_hooks': DashboardHook.hooks, File /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/datagrid/grids.py in render_to_response 777. context)) File /usr/local/lib/python2.7/site-packages/Django-1.4.3-py2.7.egg/django/shortcuts/__init__.py in
Re: RB server upgrade from 1.6.1 to 1.7.4
yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are unapplied evolutions for accounts. There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Adding baseline version for new models Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Evolution successful. --- end log output --- I am using linux: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@svrrb1 rb]# pwd /var/www/svrrb/htdocs/static/rb [root@svrrb1 rb]# ls -l total 12 drwxr-xr-x 2 root root 4096 Feb 5 23:15 css drwxr-xr-x 5 root root 4096 Feb 5 23:15 images drwxr-xr-x 5 root root 4096 Feb 5 23:15 js [root@svrrb1 static]# pwd /var/www/svrrb/htdocs/static [root@svrrb1 static]# ls -lrt total 16 lrwxrwxrwx 1 root root 95 Feb 5 23:18 rb - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/rb lrwxrwxrwx 1 root root 96 Feb 5 23:18 lib - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/lib lrwxrwxrwx 1 root root 77 Feb 5 23:18 djblets - /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/static lrwxrwxrwx 1 root root 98 Feb 5 23:18 admin - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/admin What to do !! On Wed, Feb 6, 2013 at 2:12 PM, Christian Hammond chip...@chipx86.comwrote: Yep, it's looking for lessc, which it shouldn't be. That means it's not finding the generated static media files, probably. Or some other strange configuration problem. Probably an installation problem. To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site', correct? If you did do the rb-site upgrade when you installed 1.7.4, then can you show me what's in your $sitedir/htdocs/static/rb/css/ and $sitedir/htdocs/static/djblets/css/ directories? What version of what distro are you using? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:04 PM, chuck j cjerry2...@gmail.com wrote: Here are the logs its seems it searching for lessc executable. Environment: Request Method: GET Request URL: http://scrrb1.na.software.com/svrrb/dashboard/?view=to-me Django Version: 1.4.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.markup', 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.staticfiles', 'djblets.datagrid', 'djblets.extensions', 'djblets.feedview', 'djblets.gravatars', 'djblets.log', 'djblets.pipeline', 'djblets.siteconfig', 'djblets.util', 'djblets.webapi', 'pipeline', 'reviewboard.accounts', 'reviewboard.admin', 'reviewboard.attachments', 'reviewboard.changedescs', 'reviewboard.diffviewer', 'reviewboard.extensions', 'reviewboard.hostingsvcs', 'reviewboard.notifications', 'reviewboard.reviews', 'reviewboard.reviews.ui', 'reviewboard.scmtools', 'reviewboard.site', 'reviewboard.ssh', 'reviewboard.webapi', 'django_evolution'] Installed Middleware: ['django.middleware.gzip.GZipMiddleware', 'reviewboard.admin.middleware.InitReviewBoardMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'djblets.siteconfig.middleware.SettingsMiddleware', 'reviewboard.admin.middleware.LoadSettingsMiddleware', 'djblets.extensions.middleware.ExtensionsMiddleware', 'djblets.log.middleware.LoggingMiddleware',
Re: RB server upgrade from 1.6.1 to 1.7.4
And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 12:54 AM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are unapplied evolutions for accounts. There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Adding baseline version for new models Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Evolution successful. --- end log output --- I am using linux: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@svrrb1 rb]# pwd /var/www/svrrb/htdocs/static/rb [root@svrrb1 rb]# ls -l total 12 drwxr-xr-x 2 root root 4096 Feb 5 23:15 css drwxr-xr-x 5 root root 4096 Feb 5 23:15 images drwxr-xr-x 5 root root 4096 Feb 5 23:15 js [root@svrrb1 static]# pwd /var/www/svrrb/htdocs/static [root@svrrb1 static]# ls -lrt total 16 lrwxrwxrwx 1 root root 95 Feb 5 23:18 rb - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/rb lrwxrwxrwx 1 root root 96 Feb 5 23:18 lib - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/lib lrwxrwxrwx 1 root root 77 Feb 5 23:18 djblets - /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/static lrwxrwxrwx 1 root root 98 Feb 5 23:18 admin - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/admin What to do !! On Wed, Feb 6, 2013 at 2:12 PM, Christian Hammond chip...@chipx86.com wrote: Yep, it's looking for lessc, which it shouldn't be. That means it's not finding the generated static media files, probably. Or some other strange configuration problem. Probably an installation problem. To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site', correct? If you did do the rb-site upgrade when you installed 1.7.4, then can you show me what's in your $sitedir/htdocs/static/rb/css/ and $sitedir/htdocs/static/djblets/css/ directories? What version of what distro are you using? Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:04 PM, chuck j cjerry2...@gmail.com wrote: Here are the logs its seems it searching for lessc executable. Environment: Request Method: GET Request URL: http://scrrb1.na.software.com/svrrb/dashboard/?view=to-me Django Version: 1.4.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.markup', 'django.contrib.sites', 'django.contrib.sessions', 'django.contrib.staticfiles', 'djblets.datagrid', 'djblets.extensions', 'djblets.feedview', 'djblets.gravatars', 'djblets.log', 'djblets.pipeline', 'djblets.siteconfig', 'djblets.util', 'djblets.webapi', 'pipeline', 'reviewboard.accounts', 'reviewboard.admin', 'reviewboard.attachments', 'reviewboard.changedescs', 'reviewboard.diffviewer', 'reviewboard.extensions', 'reviewboard.hostingsvcs', 'reviewboard.notifications', 'reviewboard.reviews', 'reviewboard.reviews.ui', 'reviewboard.scmtools', 'reviewboard.site', 'reviewboard.ssh', 'reviewboard.webapi', 'django_evolution'] Installed Middleware: ['django.middleware.gzip.GZipMiddleware', 'reviewboard.admin.middleware.InitReviewBoardMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.doc.XViewMiddleware',
Re: RB server upgrade from 1.6.1 to 1.7.4
Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css *Linux distribution:* Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.comwrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:24 PM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are unapplied evolutions for accounts. There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Adding baseline version for new models Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Evolution successful. --- end log output --- I am using linux: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@svrrb1 rb]# pwd /var/www/svrrb/htdocs/static/rb [root@svrrb1 rb]# ls -l total 12 drwxr-xr-x 2 root root 4096 Feb 5 23:15 css drwxr-xr-x 5 root root 4096 Feb 5 23:15 images drwxr-xr-x 5 root root 4096 Feb 5 23:15 js [root@svrrb1 static]# pwd /var/www/svrrb/htdocs/static [root@svrrb1 static]# ls -lrt total 16 lrwxrwxrwx 1 root root 95 Feb 5 23:18 rb - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/rb lrwxrwxrwx 1 root root 96 Feb 5 23:18 lib - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/lib lrwxrwxrwx 1 root root 77 Feb 5 23:18 djblets - /usr/local/lib/python2.7/site-packages/Djblets-0.7.9-py2.7.egg/djblets/static lrwxrwxrwx 1 root root 98 Feb 5 23:18 admin - /usr/local/lib/python2.7/site-packages/ReviewBoard-1.7.4-py2.7.egg/reviewboard/htdocs/static/admin What to do !! On Wed, Feb 6, 2013 at 2:12 PM, Christian Hammond chip...@chipx86.comwrote: Yep, it's looking for lessc, which it shouldn't be. That means it's not finding the generated static media files, probably. Or some other strange configuration problem. Probably an installation problem. To verify, when you
Re: RB server upgrade from 1.6.1 to 1.7.4
All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 1:14 AM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css Linux distribution: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.com wrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:24 PM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are unapplied evolutions for accounts. There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Adding baseline version for new models Project signature has changed - an evolution is required Installing custom SQL ... Installing indexes ... Installed 0 object(s) from 0 fixture(s) Evolution successful. --- end log output --- I am using linux: 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:48 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux [root@svrrb1 rb]# pwd /var/www/svrrb/htdocs/static/rb [root@svrrb1 rb]# ls -l total 12 drwxr-xr-x 2 root root 4096 Feb 5 23:15 css drwxr-xr-x 5 root root 4096 Feb 5 23:15 images drwxr-xr-x 5 root root 4096 Feb 5 23:15 js [root@svrrb1 static]# pwd /var/www/svrrb/htdocs/static [root@svrrb1 static]# ls -lrt total 16 lrwxrwxrwx 1 root root 95 Feb 5 23:18
Re: RB server upgrade from 1.6.1 to 1.7.4
Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.comwrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css *Linux distribution:* Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.comwrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:24 PM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are unapplied evolutions for accounts. There are unapplied evolutions for diffviewer. There are unapplied evolutions for reviews. There are unapplied evolutions for scmtools. Adding baseline
Re: RB server upgrade from 1.6.1 to 1.7.4
This isn't a database problem, or a Review Board problem. It's something screwy on the system. When Review Board includes a stylesheet or JavaScript file, it attempts to find a compiled (*.min.*) file. If it finds it, it uses it. If not, it will attempt to compile it. For CSS, we compile using lessc. No user should ever hit the case where lessc is needed. That only happens for local development of Review Board, and for packaging. The reason being that we ship all the compiled files, as you have verified. The only way you get into a situation where it tries to compile it on a production system is when Review Board (or rather, Apache's process) is unable to access those files. Either the path is wrong somehow (this should only happen if you specifically overwrote it in your $sitedir/conf/settings_local.py file), or something is preventing Apache from accessing those files. I'll need an answer on whether SELinux is turned on, and what happens if you turn it off. SELinux can limit what a process has access to, so we absolutely need to verify that. Also, your version of RHEL is pretty old. Your very best bet for the future would be to install on something more modern, preferably Ubuntu or Fedora, as both have really good support for Review Board. That would also eliminate the other errors you saw. First things first, though. Check on SELinux. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 1:52 AM, chuck j cjerry2...@gmail.com wrote: Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.com wrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css Linux distribution: Red Hat
Re: RB server upgrade from 1.6.1 to 1.7.4
Also SElinux is turned off. #selinuxenabled echo enabled || echo disabled disabled On Wed, Feb 6, 2013 at 3:22 PM, chuck j cjerry2...@gmail.com wrote: Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.comwrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css *Linux distribution:* Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.comwrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:24 PM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp = 5 to avoid timing attack vulnerability. Rebuilding directory structure Upgrading site settings_local.py Updating database. This may take a while. The log output below, including warnings and errors, can be ignored unless upgrade fails. -- begin log output -- Creating tables ... Creating table extensions_registeredextension Creating table diffviewer_filediffdata Creating table hostingsvcs_hostingserviceaccount Upgrading Review Board from 1.6.1 to 1.7.4 There are unapplied evolutions for auth. There are
Re: RB server upgrade from 1.6.1 to 1.7.4
Can you provide your settings_local.py file? Make sure to remove your database information and your SECRET_KEY first! Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 1:58 AM, chuck j cjerry2...@gmail.com wrote: Also SElinux is turned off. #selinuxenabled echo enabled || echo disabled disabled On Wed, Feb 6, 2013 at 3:22 PM, chuck j cjerry2...@gmail.com wrote: Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.com wrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css Linux distribution: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.com wrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:24 PM, chuck j cjerry2...@gmail.com wrote: yes you are correct i followed the upgrade instruction from www.reviewboard.org To verify, when you upgraded using easy_install -U ReviewBoard, you then ran 'rb-site upgrade /path/to/site' I also saw below message, [root@svrrb1 www]# rb-site upgrade /var/www/svrrb /usr/local/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should
Re: RB server upgrade from 1.6.1 to 1.7.4
Sure please see below: # Site-specific configuration settings for Review Board # Definitions of these settings can be found at # http://docs.djangoproject.com/en/dev/ref/settings/ # Database configuration DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', 'NAME': 'svrrb', 'USER': 'username', 'PASSWORD': 'password', 'HOST': 'localhost', 'PORT': '', }, } # Unique secret key. Don't share this with anybody. SECRET_KEY = 'key value ' # Cache backend settings. CACHES = { 'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': 'localhost:11211', }, } # Extra site information. SITE_ID = 1 SITE_ROOT = '/svrrb/' FORCE_SCRIPT_NAME = '' DEBUG = True On Wed, Feb 6, 2013 at 3:32 PM, Christian Hammond chip...@chipx86.comwrote: Can you provide your settings_local.py file? Make sure to remove your database information and your SECRET_KEY first! Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 3:28 PM, chuck j cjerry2...@gmail.com wrote: Also SElinux is turned off. #selinuxenabled echo enabled || echo disabled disabled On Wed, Feb 6, 2013 at 3:22 PM, chuck j cjerry2...@gmail.com wrote: Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.comwrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css *Linux distribution:* Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.comwrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian
Re: RB server upgrade from 1.6.1 to 1.7.4
Okay, looks fine. I'd suggest creating a second RB site on that server, for testing purposes. Just set it up, new database, and see if you have the same problem. If so, we can narrow it down further. It's 2:30AM here, so I need to head to bed, but I can try to help more with this tomorrow. Unfortunately, it's just not an issue I've seen in the wild before. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 2:02 AM, Christian Hammond chip...@chipx86.com wrote: Can you provide your settings_local.py file? Make sure to remove your database information and your SECRET_KEY first! Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Feb 6, 2013, at 1:58 AM, chuck j cjerry2...@gmail.com wrote: Also SElinux is turned off. #selinuxenabled echo enabled || echo disabled disabled On Wed, Feb 6, 2013 at 3:22 PM, chuck j cjerry2...@gmail.com wrote: Thank you !!, yes it is happening for all the review request, also after restart i am not able to open login page also and it crashed with the same compilation error. CompilerError at /svrrb/dashboard/ /usr/bin/env: lessc: No such file or directory Request Method: GET Request URL: http://svrrb1.na.software.com/svrrb/dashboard/ Django Version: 1.4.3 Exception Type: CompilerError Exception Value: /usr/bin/env: lessc: No such file or directory Exception Location: /usr/local/lib/python2.7/site-packages/django_pipeline-1.3.0-py2.7.egg/pipeline/compilers/__init__.py in execute_command, line 101 Python Executable: /usr/bin/python One question though while we try to fix this issue. Can we install reviewboard fresh and then perform database base upgrade, do we have such option? in case we land up no where :( Thing are looking dark now On Wed, Feb 6, 2013 at 3:10 PM, Christian Hammond chip...@chipx86.com wrote: All the files match correctly, so I'm left to believe that Review Board/Apache's unable to open them, and is trying to fall back on creating new ones (using lessc). Does this happen for all review requests? I'd imagine it'd have to. Is SELinux turned on? Try turning it off. You also may want to try restarting memcached, in case something bad is cached somewhere. Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Feb 6, 2013 at 2:44 PM, chuck j cjerry2...@gmail.com wrote: Yes, i have restarted the Apache afterward. Here you go: here is the content of ccs /var/www/svrrb/htdocs/static/rb/css admin.1f278e6382ef.css admin.min.c8a349cc3f7d.css dashboard.cb3f25c48eb7.cssdiffviewer.css js-tests.70d6ede4e69e.css reviews.css syntax.5f96383e25b8.css admin.60fbb7d18d8e.lessadmin.min.css dashboard.cebe4c36b08b.less diffviewer.less js-tests.9844a908a7ed.less reviews.less syntax.css admin.css common.2273b0c06c33.css dashboard.css docs.css js-tests.css reviews.min.af2c67b6345a.css admin-dashboard.0d89aa70a294.less common.7ace5f78ab0a.less dashboard.lessdocs.d72d2b5acebd.css js-tests.less reviews.min.css admin-dashboard.38adf3895ca1.css common.css defs.d9851fd5c124.lessie_hacks.css js-tests.min.70d6ede4e69e.css search.0553e42c0d00.less admin-dashboard.csscommon.less defs.less ie_hacks.e31a795a9b81.css js-tests.min.css search.47a5f4d644fe.css admin-dashboard.less common.min.8d7bf2d2a824.css diffviewer.0df7f678336d.less iphone.css reviews.222d0930c962.less search.css admin.less common.min.css diffviewer.b6c23a8b7583.css iphone.e915fbaf08c1.css reviews.6b97b76026b7.css search.less /var/www/svrrb/htdocs/static/djblets/css [root@svrrb1 css]# ls admin.67612c83bb86.css admin.css datagrid.1a0aafea202a.css datagrid.css extensions.43c3ee635a23.css extensions.css Linux distribution: Red Hat Enterprise Linux Server release 5.4 (Tikanga) Kernel \r on an \m Thank you for you help. Please let me know if you need actual files to look into, i will sent it to you. -CJ On Wed, Feb 6, 2013 at 2:33 PM, Christian Hammond chip...@chipx86.com wrote: And you restarted Apache afterward? I'll need to see the contents of the css directories. I also still need to know what version of what Linux distro you're using. Christian -- Christian Hammond - chip...@chipx86.com Review
Re: Failed to get repository information svn+ssh
I don't have a working solution yet On Tuesday, 5 February 2013 05:23:06 UTC-8, Pierre-Emmanuel Dutang wrote: Hello guys, Have you find a solution for this issue cause I have exactly the same problem when I want to add a svn repository. thanks On Thursday, January 24, 2013 9:37:55 PM UTC+1, Alex Edwards wrote: yes I am using my svn username in the url like this svn+ssh://username@host/repo and when i use the gui to create a repository I use the same url but I also set the username to be the same username On Thursday, 24 January 2013 12:02:28 UTC-8, Christian Hammond wrote: Also I don't think the rb-site shell test you're doing is enough. There's a bunch of environment variables and things we set that won't be set in this case. You should repro by actually trying to create a repository, and making sure you include the username in the svn+ssh://. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Jan 24, 2013 at 11:07 AM, Christian Hammond chi...@gmail.comwrote: Make sure you're including the proper username as part of the URL. Christian On Jan 24, 2013, at 9:40, Alex Edwards edward...@gmail.com wrote: Ok, that didn't appear to have any effect. I deleted the file that was output by that command and reinstalled using the command you asked. I'm still not ruling out that this is a config problem by me. I tried running the rb shell rb-site manage /path/ shell I repeated this (and imported pysvn) client = pysvn.Client() client.set_default_username('user') client.info2('svn+ssh://host/repo') Password: This hung until something killed it (maybe 5-10 min) Should I be trying a rb specific script? On Thursday, 24 January 2013 00:19:58 UTC-8, Christian Hammond wrote: Hi Alex, I've either lost my mind or found a very weird bug, so I want to have you run a test for me to see what happens. Blow away your pycrypto installation. You can find the location by doing: $ python import Crypto Crypto.__file__ There should be a path to a .egg file (or something inside it). It should be a single file, not a directory. Once you've done that, re-install using: $ sudo easy_install -Z pycrypto -Z is going to have it install as an egg directory, rather than a zip file. Then try again to set up the repository and see what happens. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Wed, Jan 23, 2013 at 7:39 PM, Christian Hammond chi...@gmail.comwrote: If you run the rb-site command I mentioned, you should get that shell. I've been actively working on this problem, but it is very strange... I'll let you know when I finally have something to test. Christian On Jan 23, 2013, at 8:59, Alex Edwards edward...@gmail.com wrote: I'm not sure how to run as a rb shell, I was just running in python On Tuesday, 22 January 2013 11:07:28 UTC-8, Christian Hammond wrote: Running that likely wont give you an accurate repro case. There's a lot that goes on to configure what's used for SSH and how the key is loaded. Are you just running that in Python, or using 'rb-site manage /path/to/site shell'? Christian On Jan 22, 2013, at 10:55, Alex Edwards edward...@gmail.com wrote: that didn't seem to change anything. If i do this: client = pysvn.Client() client.set_default_username('user') client.info2('svn+ssh://host/repo') Password: should I see some content? or does python just exit? On Tuesday, 22 January 2013 10:44:20 UTC-8, Christian Hammond wrote: I don't think Apache really factors into this. One more thing to try is to edit your site's conf/settings_local.py file and add: TIME_ZONE = 'US/Pacific' And then restart Apache and try again. If it works, it's a bandaid. I have thoughts on a better fix, but I want to check that first. Christian -- Christian Hammond - chi...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Jan 22, 2013, at 8:43 AM, Alex Edwards edward...@gmail.com wrote: All servers are running on PST, I had already configured the timezone (or reviewboard has done it for me) to US/Pacific. I tried reviewboard on UTC same errors in the logs, ive checked and they are all in sync. Does apache keep a default location/timezone as well that I might need to change? On Monday, 21 January 2013 23:05:28 UTC-8, Christian Hammond wrote: I've spent the past couple hours looking into this. I doubt I will have a fix by tomorrow, unfortunately. This is a very strange bug. Here's what's basically going on: Review Board 1.7 uses Django 1.4, which introduced timezone support, used to specify timezone info in the database and allow for per-user timezone localization. We made use of this and set the default
Re: Restricting login to ldap group
On 02/06/2013 05:38 PM, karamsing...@gmail.com wrote: Nevermind. I have hacked the code to make the check for this. Case closed. On Monday, February 4, 2013 1:07:55 PM UTC-8, karams...@gmail.com wrote: Hi, I have review board 1.74 working on Mac OS X (Mountain Lion). I am able to change the authentication to LDAP but would like to restrict login to only users in a ldap group. Is that possible. I see that under Active Ldap there is a way to do this, but its not under LDAP. For the benefit of people who find this thread in the future, would you mind sharing your hack? Alternately, is it a patch that could potentially be massaged into shape for inclusion into ReviewBoard? -- 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.
Review Board 1.7.5 released
Hi everyone, Review Board 1.7.5 is out. It fixes a few, mostly small problems people have hit, and a major compatibility change with the newly released django-pipeline 1.3. If you installed 1.7.4 in the past week, you may have had a crash when accessing most pages, possibly saying CompilerError. This was due to some compatibility changes in django-pipeline 1.3 that we still need to investigate. However, that release also dropped Python 2.5 support, which means we'll be requiring 1.2.24 from here on out. My apologies to any packagers that this affects. See the release notes for the full list of changes: http://www.reviewboard.org/docs/releasenotes/dev/reviewboard/1.7.5/ Christian -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com -- 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: Issue 2446 in reviewboard: Permissions problem after re-open
Updates: Status: PendingReview Owner: trowb...@gmail.com Comment #2 on issue 2446 by trowb...@gmail.com: Permissions problem after re-open http://code.google.com/p/reviewboard/issues/detail?id=2446 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2891 in reviewboard: Add ship it column in Dashboard
Comment #1 on issue 2891 by rajas...@gmail.com: Add ship it column in Dashboard http://code.google.com/p/reviewboard/issues/detail?id=2891 This is already in place, just click on the pencil icon in the dashboard page and check the Ship it box. This should show the reviews that have shipits and also the number of ship-its it got. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 477 in reviewboard: Per reviewer email control
Comment #22 on issue 477 by plevn...@gmail.com: Per reviewer email control http://code.google.com/p/reviewboard/issues/detail?id=477 In addition to the fine-grained control, I'd like email notifications to be sent (optionally) on issues being dropped, fixed, or reopened. The email should be sent to parties commenting on the issue other than oneself. Also, on the fine grained control, it would be nice for the admin to configure default values for the users. Users should then configure what they want to see as there might be an interest for an author to see more or less email than a reviewer. So, two notification profiles might be needed per user. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Issue 2892 in reviewboard: New 4.3 RBTools path posting method is broken
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2892 by faller.g...@gmail.com: New 4.3 RBTools path posting method is broken http://code.google.com/p/reviewboard/issues/detail?id=2892 What version are you running? RBTools 0.4.3 What's the URL of the page containing the problem? The post-review failed What steps will reproduce the problem? 1.post-review a path-diff style diff with Perforce source control post-review //Depot/path/file.cpp@chgn1,@chgn2 What is the expected output? What do you see instead? I wanted to post it, but it gives a traceback: Traceback (most recent call last): File c:\Program Files (x86)\Python27\Scripts\post-review-script.py, line 8, in module load_entry_point('RBTools==0.4.3', 'console_scripts', 'post-review')() File c:\Program Files (x86)\Python27\lib\site-packages\rbtools-0.4.3-py2.7.egg\rbtools\postreview.py, line 1308, in main diff, parent_diff = tool.diff(args) File c:\Program Files (x86)\Python27\lib\site-packages\rbtools-0.4.3-py2.7.egg\rbtools\clients\perforce.py, line 284, in diff return self._path_diff(args) File c:\Program Files (x86)\Python27\lib\site-packages\rbtools-0.4.3-py2.7.egg\rbtools\clients\perforce.py, line 408, in _path_diff ignore_unmodified=True) TypeError: _do_diff() takes at least 7 arguments (7 given) What operating system are you using? What browser? Win7 Please provide any additional information below. The error is in the Perforce.py in the _path_diff method: the new_depot_path parameter is not created and not given to the _do_diff method. See the _changenum_diff method, where it is created and given to the _do_diff. A quick fix is to pass an empty string as the new fifth parameter of the _do_diff at the end of the _path_diff. It will work at least if there is no file move in the change. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Issue 2893 in reviewboard: Any help reviewing moves of code between files?
Status: New Owner: Labels: Type-Enhancement Priority-Medium New issue 2893 by ryan.bea...@gmail.com: Any help reviewing moves of code between files? http://code.google.com/p/reviewboard/issues/detail?id=2893 What version are you running? 1.6.13 What's the URL of the page this enhancement relates to, if any? https://reviewboard/r/12321/diff/ Describe the enhancement and the motivation for it. Suppose I'm looking at a diff where someone moves 10 lines from fileA.c to fileB.c. I'd like to look at sections of those files side by side, so that I can make sure nothing changed during the move. It'd be cool if I could, for example, select a chunk from left column (Revision X) and a chunk from the right column (New Change), and then have RB render an instant side-by-side diff between the two. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Issue 2894 in reviewboard: Archive reviews
Status: New Owner: Labels: Type-Enhancement Priority-Medium New issue 2894 by berto...@gmail.com: Archive reviews http://code.google.com/p/reviewboard/issues/detail?id=2894 What version are you running? 1.7.4 What's the URL of the page this enhancement relates to, if any? /dashboard/ Describe the enhancement and the motivation for it. A user should be able to archive a review. This would hide the review from the dashboard until there is further activity on it. There would be many benefits to this feature. 1) Keep the dashboard clean of reviews that don't require my attention. If I put in review comments, I don't want to see the review again until my comments are addressed. 2) Ignore irrelevant review requests. Especially with groups, you can get bombarded with review requests that you don't intend to take action on. 3) Hide old reviews. If reviews get tabled, sometimes indefinitely, they clutter up the dashboard until they are addressed months or sometimes even years later. Please provide any additional information below. See bug 1691 and bug 1453, comment 6 for more detail and previous discussions. Bug 1453 was closed suggesting that the my comments box fixes this, but I feel that's not a complete solution. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2893 in reviewboard: Any help reviewing moves of code between files?
Updates: Status: Confirmed Labels: Component-DiffViewer Comment #1 on issue 2893 by trowb...@gmail.com: Any help reviewing moves of code between files? http://code.google.com/p/reviewboard/issues/detail?id=2893 We'd like to expand the moved-lines detection to work across files, but there's a lot of computation overhead that will require some sort of queuing/background-process system. Thanks for the report! -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2891 in reviewboard: Add ship it column in Dashboard
Updates: Status: Fixed Comment #2 on issue 2891 by trowb...@gmail.com: Add ship it column in Dashboard http://code.google.com/p/reviewboard/issues/detail?id=2891 There's also the My Comments column, which will include a check-mark in it if you've personally given the review request a ship-it. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Issue 2895 in reviewboard: Cant cerate a reviewboard account, gives no error
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2895 by brett.mu...@murf.net: Cant cerate a reviewboard account, gives no error http://code.google.com/p/reviewboard/issues/detail?id=2895 *** For customer support, please post to reviewbo...@googlegroups.com *** If you have a patch, please submit it to http://reviews.reviewboard.org/ *** *** Do not post confidential information in this bug report! What version are you running? What's the URL of the page containing the problem? https://codereview.secondlife.com/account/register/ What steps will reproduce the problem? 1. try and create an account 2. thats it, the screen reloads with the password empty, and no error message What is the expected output? What do you see instead? well done you have created an account for reviewboard or somesuch What operating system are you using? What browser? Mac osx Lion, chrome Please provide any additional information below. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2895 in reviewboard: Cant cerate a reviewboard account, gives no error
Updates: Status: ThirdParty Comment #1 on issue 2895 by chip...@gmail.com: Cant cerate a reviewboard account, gives no error http://code.google.com/p/reviewboard/issues/detail?id=2895 You'll have to contact the sysadmins for codereview.secondlife.com. We provide support for Review Board itself, and a standard Review Board install should take you to your dashboard, logged in. Sorry I can't do more. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 1854 in reviewboard: Download raw diff cached - need to manually refresh to update
Updates: Status: Fixed Comment #2 on issue 1854 by trowb...@gmail.com: Download raw diff cached - need to manually refresh to update http://code.google.com/p/reviewboard/issues/detail?id=1854 This is fixed in modern versions. -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2874 in reviewboard: Reviewboard 1.7.2 requires pytz-2012j
Updates: Status: PendingReview Owner: trowb...@gmail.com Comment #2 on issue 2874 by trowb...@gmail.com: Reviewboard 1.7.2 requires pytz-2012j http://code.google.com/p/reviewboard/issues/detail?id=2874 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2252 in reviewboard: Revision/interdiff selection UI is confusing
Updates: Summary: Revision/interdiff selection UI is confusing Comment #8 on issue 2252 by trowb...@gmail.com: Revision/interdiff selection UI is confusing http://code.google.com/p/reviewboard/issues/detail?id=2252 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2874 in reviewboard: Reviewboard 1.7.2 requires pytz-2012j
Updates: Status: Fixed Comment #3 on issue 2874 by trowb...@gmail.com: Reviewboard 1.7.2 requires pytz-2012j http://code.google.com/p/reviewboard/issues/detail?id=2874 Fixed in release-1.7.x (107ce3e). Thanks! -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: Issue 2446 in reviewboard: Permissions problem after re-open
Updates: Status: Fixed Comment #3 on issue 2446 by trowb...@gmail.com: Permissions problem after re-open http://code.google.com/p/reviewboard/issues/detail?id=2446 Fixed in release-1.7.x (b0500a8). Thanks! -- You received this message because you are subscribed to the Google Groups reviewboard-issues group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-issues+unsubscr...@googlegroups.com. To post to this group, send email to reviewboard-issues@googlegroups.com. Visit this group at http://groups.google.com/group/reviewboard-issues?hl=en. For more options, visit https://groups.google.com/groups/opt_out.