Re: Upgrading from 1.6.4.1 to 2.0.5 woes
Hi Christian, looks like all of the tables are using the InnoDB engine. The commands I used inside mysql were: use rb2; show table status; On Sunday, 21 September 2014 22:24:09 UTC-4, Christian Hammond wrote: Hi Kenneth, Can you determine if the tables being created are using InnoDB or MyISAM? Or a mix? Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 21, 2014 at 7:18:11 PM, Kenneth Wong (lost...@gmail.com javascript:) wrote: Hi, I'm upgrading from 1.6.4.1 to 2.0.5 as well as transitioning from sqlite to mysql. I'm looking for some help on understanding the error messages and what I can do about it. As per Christian's recommendation (from another thread), I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses sqlite. (rb1) 2. Copied over the 1.6.4.1 reviewboard.db file. 3. Performed rb-site upgrade rb1. I had to run a couple of other changes from the commandline such as: 1. removing the old authentication backend 2. adding in active directirectory authentication 4. Performed rb-site manage rb1 condensediffs 5. Also performed all the necessary permission changes From there I was able to log in to the new site... very nice. At this point, I'd like to be able to switch over to mysql... there's enough traffic on the site to definitely warrant a more solid database backend. I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses mysql (rb2) 2. Performed rb-site manage rb1 dumpdb rb1.json 3. Performed rb-site manage rb2 loaddb rb1.json Lots of errors flew by... ended up with a done message and a reviewboard that I could log into but that's definitely broken. There were two types of errors, the first being foreign key constraint failures (such as the one below): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`django_admin_log`, CONSTRAINT `user_id_refs_id_c0d12874` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`))') And the other were Duplicate Entry errors such as: - Error: (1062, Duplicate entry 'changedescs-changedescription' for key 'app_label') Below are the remaining unique foreign key constraint failures that came up (multiple instances of each): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`auth_permission`, CONSTRAINT `content_type_id_refs_id_d043b34a` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_reviewrequestvisit`, CONSTRAINT `review_request_id_refs_id_0943e99f` FOREIGN KEY (`review_request_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_profile_starred_review_requests`, CONSTRAINT `reviewrequest_id_refs_id_342ff1ac` FOREIGN KEY (`reviewrequest_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_localsiteprofile`, CONSTRAINT `local_site_id_refs_id_02a402db` FOREIGN KEY (`local_site_id`) REFERENCES `site_localsite` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_filediff`, CONSTRAINT `diffset_id_refs_id_c4a01a9e` FOREIGN KEY (`diffset_id`) REFERENCES `diffviewer_diffset` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_diffset`, CONSTRAINT `history_id_refs_id_153db9d3` FOREIGN KEY (`history_id`) REFERENCES `diffviewer_diffsethistory` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_diffset`, CONSTRAINT `repository_id_refs_id_76fa8bca` FOREIGN KEY (`repository_id`) REFERENCES `scmtools_repository` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`reviews_defaultreviewer`, CONSTRAINT `local_site_id_refs_id_c0a6afc5` FOREIGN KEY (`local_site_id`) REFERENCES `site_localsite` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`reviews_comment`, CONSTRAINT `filediff_id_refs_id_828a3cce` FOREIGN KEY (`filediff_id`) REFERENCES `diffviewer_filediff` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`reviews_comment`, CONSTRAINT `reply_to_id_refs_id_fd1965c8` FOREIGN KEY (`reply_to_id`) REFERENCES `reviews_comment` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails
ReviewBoard 2.7 Setup Errors.
Hello All, I am trying to install Review-board 2.7 on Ubuntu machine. When I try to install rb-site,it gives below error Django version : Django-1.6.7-py2.6.egg Review-Board : 2.0.7 Error Info: Creating database ... [!] Unable to execute the manager command syncdb: No module named importlib [!] Unable to execute the manager command registerscmtools: No module named importlib OK Performing migrations ... [!] Unable to execute the manager command evolve: No module named importlib OK Creating administrator account ... Traceback (most recent call last): File /usr/local/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==2.0.7', 'console_scripts', 'rb-site')() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1858, in main command.run() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1226, in run self.show_install_status() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1543, in show_install_status site.create_admin_user) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1069, in step func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 589, in create_admin_user self.admin_password) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib/pymodules/python2.6/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib/pymodules/python2.6/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) ***Finish Previously I have installed Review-board 2.6 and I didn't face any issues. Request you to kindly let me know what I am doing wrong or missing? Regards, Hardik Shah -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Upgrading from 1.6.4.1 to 2.0.5 woes
Hi Steven, thanks for the info. I'll give it a try tonight. I think I read somewhere that using MyISAM instead of using InnoDB effectively removes the foreign constraint checks during the migration. This allows the row insertion even if there may be problems with the relationship between records. Am I understanding it correctly? If so, are there implications that I should be aware of if I go down this road permanently? On Mon, Sep 22, 2014 at 12:02 PM, Steven Richards fearreal...@gmail.com wrote: Not sure if you've received a fix yet but i just wanted to share that I too had issues upgrading from 1.6 to (1.7.25 and 2.0.5). To fix the upgrade issue in my case I made MyISAM the default for MySQL before creating and restoring the database. Add the following line under [mysqld] in my.conf: default-storage-engine=MyISAM You can of course just set a single Database to use it instead of the entire install (just in case you run another application on the same box). I should probably also mention i had issues going to 2.0.5 even with this fix. The upgrade worked great but we would receive random error pages when trying to create a new Diff. 2.0.6 Worked flawlessly for me. Steven Richards On Monday, September 22, 2014 8:13:37 AM UTC-4, Kenneth Wong wrote: Hi Christian, looks like all of the tables are using the InnoDB engine. The commands I used inside mysql were: use rb2; show table status; On Sunday, 21 September 2014 22:24:09 UTC-4, Christian Hammond wrote: Hi Kenneth, Can you determine if the tables being created are using InnoDB or MyISAM? Or a mix? Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 21, 2014 at 7:18:11 PM, Kenneth Wong (lost...@gmail.com) wrote: Hi, I'm upgrading from 1.6.4.1 to 2.0.5 as well as transitioning from sqlite to mysql. I'm looking for some help on understanding the error messages and what I can do about it. As per Christian's recommendation (from another thread), I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses sqlite. (rb1) 2. Copied over the 1.6.4.1 reviewboard.db file. 3. Performed rb-site upgrade rb1. I had to run a couple of other changes from the commandline such as: 1. removing the old authentication backend 2. adding in active directirectory authentication 4. Performed rb-site manage rb1 condensediffs 5. Also performed all the necessary permission changes From there I was able to log in to the new site... very nice. At this point, I'd like to be able to switch over to mysql... there's enough traffic on the site to definitely warrant a more solid database backend. I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses mysql (rb2) 2. Performed rb-site manage rb1 dumpdb rb1.json 3. Performed rb-site manage rb2 loaddb rb1.json Lots of errors flew by... ended up with a done message and a reviewboard that I could log into but that's definitely broken. There were two types of errors, the first being foreign key constraint failures (such as the one below): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`django_admin_log`, CONSTRAINT `user_id_refs_id_c0d12874` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`))') And the other were Duplicate Entry errors such as: - Error: (1062, Duplicate entry 'changedescs-changedescription' for key 'app_label') Below are the remaining unique foreign key constraint failures that came up (multiple instances of each): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`auth_permission`, CONSTRAINT `content_type_id_refs_id_d043b34a` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_reviewrequestvisit`, CONSTRAINT `review_request_id_refs_id_0943e99f` FOREIGN KEY (`review_request_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_profile_starred_review_requests`, CONSTRAINT `reviewrequest_id_refs_id_342ff1ac` FOREIGN KEY (`reviewrequest_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_localsiteprofile`, CONSTRAINT `local_site_id_refs_id_02a402db` FOREIGN KEY (`local_site_id`) REFERENCES `site_localsite` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_filediff`, CONSTRAINT `diffset_id_refs_id_c4a01a9e` FOREIGN KEY (`diffset_id`) REFERENCES `diffviewer_diffset` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails
Re: Upgrading from 1.6.4.1 to 2.0.5 woes
Not sure if you've received a fix yet but i just wanted to share that I too had issues upgrading from 1.6 to (1.7.25 and 2.0.5). To fix the upgrade issue in my case I made MyISAM the default for MySQL before creating and restoring the database. Add the following line under [mysqld] in my.conf: default-storage-engine=MyISAM You can of course just set a single Database to use it instead of the entire install (just in case you run another application on the same box). I should probably also mention i had issues going to 2.0.5 even with this fix. The upgrade worked great but we would receive random error pages when trying to create a new Diff. 2.0.6 Worked flawlessly for me. Steven Richards On Monday, September 22, 2014 8:13:37 AM UTC-4, Kenneth Wong wrote: Hi Christian, looks like all of the tables are using the InnoDB engine. The commands I used inside mysql were: use rb2; show table status; On Sunday, 21 September 2014 22:24:09 UTC-4, Christian Hammond wrote: Hi Kenneth, Can you determine if the tables being created are using InnoDB or MyISAM? Or a mix? Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 21, 2014 at 7:18:11 PM, Kenneth Wong (lost...@gmail.com) wrote: Hi, I'm upgrading from 1.6.4.1 to 2.0.5 as well as transitioning from sqlite to mysql. I'm looking for some help on understanding the error messages and what I can do about it. As per Christian's recommendation (from another thread), I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses sqlite. (rb1) 2. Copied over the 1.6.4.1 reviewboard.db file. 3. Performed rb-site upgrade rb1. I had to run a couple of other changes from the commandline such as: 1. removing the old authentication backend 2. adding in active directirectory authentication 4. Performed rb-site manage rb1 condensediffs 5. Also performed all the necessary permission changes From there I was able to log in to the new site... very nice. At this point, I'd like to be able to switch over to mysql... there's enough traffic on the site to definitely warrant a more solid database backend. I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses mysql (rb2) 2. Performed rb-site manage rb1 dumpdb rb1.json 3. Performed rb-site manage rb2 loaddb rb1.json Lots of errors flew by... ended up with a done message and a reviewboard that I could log into but that's definitely broken. There were two types of errors, the first being foreign key constraint failures (such as the one below): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`django_admin_log`, CONSTRAINT `user_id_refs_id_c0d12874` FOREIGN KEY (`user_id`) REFERENCES `auth_user` (`id`))') And the other were Duplicate Entry errors such as: - Error: (1062, Duplicate entry 'changedescs-changedescription' for key 'app_label') Below are the remaining unique foreign key constraint failures that came up (multiple instances of each): - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`auth_permission`, CONSTRAINT `content_type_id_refs_id_d043b34a` FOREIGN KEY (`content_type_id`) REFERENCES `django_content_type` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_reviewrequestvisit`, CONSTRAINT `review_request_id_refs_id_0943e99f` FOREIGN KEY (`review_request_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_profile_starred_review_requests`, CONSTRAINT `reviewrequest_id_refs_id_342ff1ac` FOREIGN KEY (`reviewrequest_id`) REFERENCES `reviews_reviewrequest` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`accounts_localsiteprofile`, CONSTRAINT `local_site_id_refs_id_02a402db` FOREIGN KEY (`local_site_id`) REFERENCES `site_localsite` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_filediff`, CONSTRAINT `diffset_id_refs_id_c4a01a9e` FOREIGN KEY (`diffset_id`) REFERENCES `diffviewer_diffset` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_diffset`, CONSTRAINT `history_id_refs_id_153db9d3` FOREIGN KEY (`history_id`) REFERENCES `diffviewer_diffsethistory` (`id`))') - Error: (1452, 'Cannot add or update a child row: a foreign key constraint fails (`rb2`.`diffviewer_diffset`, CONSTRAINT `repository_id_refs_id_76fa8bca` FOREIGN KEY (`repository_id`) REFERENCES `scmtools_repository` (`id`))') - Error: (1452, 'Cannot add or update a child
rb-site fails
Hi, I'm trying to install ReviewBoard on a VM running under Linux Fedora and when I try to create an RB site with the command: $ rb-site install /var/www/reviews.example.com I get the following error: Traceback (most recent call last): File /bin/rb-site, line 9, in module load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 2170, in main command.run() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 1546, in run self.ask_admin_user() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 1824, in ask_admin_user save_obj=site, save_vars=company, optional=True) TypeError: prompt_input() got an unexpected keyword argument 'optional' What am I doing wrong? Thanks for your support /// Pierre -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Dockerized reviewboard
On 09/19/2014 04:54 PM, Igor Katson wrote: Hi, I created the docker version of reviewboard, which is more configurable than the ones I found on the docker hub. If anyone is interested, welcome! https://github.com/ikatson/docker-reviewboard I'm getting an error when trying to follow your instructions on Github: [sgallagh@sgallagh540:~]$ docker run -it --link rb-postgres:postgres --rm postgres sh -c 'exec createuser reviewboard -h $POSTGRES_PORT_5432_TCP_ADDR -p $POSTGRES_PORT_5432_TCP_PORT -U postgres' 2014/09/22 13:32:39 Error response from daemon: Cannot start container 6c691f64e744c89ddced2e6d46a5baf63eca46a188aa88c73f673faaf6a49d4a: Cannot link to a non running container: /rb-postgres AS /elegant_rosalind/postgres I suspect there's a missing step somewhere. Thanks! -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com mailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to post a review between two tags using SVN?
I think I found the limitation.. it doesn't work cross-branches. If the branches (actually, my tags) are unrelated, there is no way to have SVN work, it complains revisions do not exist. So, to post a review, I need to create the tags in the same line, so a diff can be produced. This is bad, but I can live with it.. CVS, although older and with a lot a problems, does this beautifully due to the native tag aspect. Thanks for the debug tip! On Thursday, September 18, 2014 1:23:33 AM UTC+1, David Trowbridge wrote: Can you include all of the rbt command lines you used, as well as the output with those same command lines with --debug? -David On Wed, Sep 17, 2014 at 5:19 AM, rmc rmpca...@gmail.com javascript: wrote: Hi, I have found a temporary solution, but I don't like it because I have to create a diff file: 1) I create the diff using svn diff https://REPO/tags/TAG-1 https://REPO/tags/TAG-2 ~/tmp/svn.diff 2) I post the review using rbt post --basedir=/tags --diff-filename=~/tmp/svn.diff I would like a solution involving rbt with given tags/revisions and not a intermediate diff file. Thanks -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: ReviewBoard 2.7 Setup Errors.
Hi, Can you provide the full console logs for your installation of Review Board and the creation of your site? Christian On Monday, September 22, 2014, hardik shah hardik...@gmail.com wrote: Hello All, I am trying to install Review-board 2.7 on Ubuntu machine. When I try to install rb-site,it gives below error Django version : Django-1.6.7-py2.6.egg Review-Board : 2.0.7 Error Info: Creating database ... [!] Unable to execute the manager command syncdb: No module named importlib [!] Unable to execute the manager command registerscmtools: No module named importlib OK Performing migrations ... [!] Unable to execute the manager command evolve: No module named importlib OK Creating administrator account ... Traceback (most recent call last): File /usr/local/bin/rb-site, line 9, in module load_entry_point('ReviewBoard==2.0.7', 'console_scripts', 'rb-site')() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1858, in main command.run() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1226, in run self.show_install_status() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1543, in show_install_status site.create_admin_user) File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1069, in step func() File /usr/local/lib/python2.6/dist-packages/ReviewBoard-2.0.7-py2.6.egg/reviewboard/cmdline/rbsite.py, line 589, in create_admin_user self.admin_password) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/contrib/auth/models.py, line 195, in create_superuser **extra_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/contrib/auth/models.py, line 186, in _create_user user.save(using=self._db) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 545, in save force_update=force_update, update_fields=update_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 573, in save_base updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 654, in _save_table result = self._do_insert(cls._base_manager, using, fields, update_pk, raw) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/base.py, line 687, in _do_insert using=using, raw=raw) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/manager.py, line 232, in _insert return insert_query(self.model, objs, fields, **kwargs) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/query.py, line 1514, in insert_query return query.get_compiler(using=using).execute_sql(return_id) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/models/sql/compiler.py, line 903, in execute_sql cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/utils.py, line 99, in __exit__ six.reraise(dj_exc_type, dj_exc_value, traceback) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/util.py, line 53, in execute return self.cursor.execute(sql, params) File /usr/local/lib/python2.6/dist-packages/Django-1.6.7-py2.6.egg/django/db/backends/mysql/base.py, line 124, in execute return self.cursor.execute(query, args) File /usr/lib/pymodules/python2.6/MySQLdb/cursors.py, line 166, in execute self.errorhandler(self, exc, value) File /usr/lib/pymodules/python2.6/MySQLdb/connections.py, line 35, in defaulterrorhandler raise errorclass, errorvalue django.db.utils.ProgrammingError: (1146, Table 'reviewboard.auth_user' doesn't exist) ***Finish Previously I have installed Review-board 2.6 and I didn't face any issues. Request you to kindly let me know what I am doing wrong or missing? Regards, Hardik Shah -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving
The file something/orother/withsomeextens.ion (revision hexadecimal joy) was not found in the repository
Greetings, I'd like to thank the community for their continued help in attempting to figure out solutions to issues I'm having. I've searched the web for possible solutions to this and haven't found any that have worked. We have our repositories on one machine while reviewboard sits on another. The links to the repositories are (I believe) configured correctly, as is user access. However, the error listed in the subject appears when one of my users attempts to post a review. I've examined access issues for the reviewboard user, whether or not the repo is set up properly, and about a million other things. Yet still the error persists. Attempts to turn on logging are met with read-only access errors. I realize that's probably the most critical piece of data, but what user needs access to write log files? The reviewboard user? -Kevin -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Dockerized reviewboard
Any chance you looked at the logs of it? Curious about what may have caused it. On Mon, Sep 22, 2014 at 11:34 AM, Stephen Gallagher step...@gallagherhome.com wrote: On 09/22/2014 02:00 PM, Igor Katson wrote: Hi, Stephen, did you do the very first step docker run -d --name rb-postgres postgres ? If so, can you please provide the logs by doing this: docker logs rb-postgres Hmm, that's very strange. I did perform that first step (it downloaded the postgres image and appeared to start it), but 'docker ps' showed it as exited(1). I deleted the image and restarted it, then things proceeded as expected. Probably a transient error. Sorry for the noise. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/5PMQOW_ibII/unsubscribe. To unsubscribe from this group and all its topics, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: rb-site fails
Hi Pierre, Looks like a bug in the backport of a change in Review Board 1.7.x. I assume you're running on Linux in a graphical shell. Try running: rb-site install --console /var/www/reviews.example.com Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 22, 2014 at 10:33:17 AM, Pierre Leroy (pierre.lero...@gmail.com) wrote: Hi, I'm trying to install ReviewBoard on a VM running under Linux Fedora and when I try to create an RB site with the command: $ rb-site install /var/www/reviews.example.com I get the following error: Traceback (most recent call last): File /bin/rb-site, line 9, in load_entry_point('ReviewBoard==1.7.27', 'console_scripts', 'rb-site')() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 2170, in main command.run() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 1546, in run self.ask_admin_user() File /usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py, line 1824, in ask_admin_user save_obj=site, save_vars=company, optional=True) TypeError: prompt_input() got an unexpected keyword argument 'optional' What am I doing wrong? Thanks for your support /// Pierre -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: ReviewBoard: Create a diff file to send for Code review in ReviewBoard where the source depot is TFS and not Git
I've published a CR (two actually) adding official support for TFS. Please see: https://reviews.reviewboard.org/r/6355/ https://reviews.reviewboard.org/r/6356/ You'll need the cross platform command line tool from http://www.microsoft.com/en-us/download/details.aspx?id=40785 and GNU diff (http://gnuwin32.sourceforge.net/packages/diffutils.htm for windows should work, I'll be testing it later today...). Make sure both of these tools are on your path. Add the repo to review board and make sure the repo path you type in fully matches the collection path. This is something like http://tfs:8080/tfs/some collection here/ - tf automatically assumes lowercase so you should type it in lowercase as well. Then: rbt post --tfs-login user@domain,pass -o If you set an environment variable, TF_AUTO_SAVE_CREDENTIALS, to anything and post with --tfs-login once, TFS will remember your user/pass and you won't have to specify it again. However, one caveat to this is that I have yet to figure out how to remove the cached credentials. You can reset them (by post'ing with different credentials) but I don't know how to remove them. On Friday, May 23, 2014 4:03:30 PM UTC-5, Priyadarshan Wanjari wrote: Can I use ReviewBoard where my code is in TFS and not in GIT or other supported repositories? Basically we are looking for using this tool (ReviewBoard) to enable code review between teams. Our source repository is still TFS and we are not looking for a highly integrated solution but somehow create a diff file for the local changes and post it on the ReviewBoard for code review. Thanks -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Dockerized reviewboard
On 09/22/2014 02:37 PM, Igor Katson wrote: Any chance you looked at the logs of it? Curious about what may have caused it. Well, the command you gave me was producing an error about being unable to find the log files, so I'm guessing something aborted during the original setup. *shrug* -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Resetting open issue counters
Hi all, We have just upgraded our installation of RB to 2.0.7. One nice new feature is that the dashboard now displays the number of open issues in a review request. However, I have noticed that the counters don't seem to be accurate in some request. For example, one of the review requests has 4 reviews with ship-its, with 2 of them making a comment on the code which were not marked as issues. Yet, the status displayed in the dashboard is 1 open issue. I verified this in admin/database/review requests, and this review request is indeed recorded as having ship-it count: 4 and open issue count: 1. I am not sure if this was a 1.7 bug, or if it was caused by the upgrade - the request and some of the reviews were submitted before the RB upgrade. However, I am not sure if the rest of the counters are valid - going through all the requests and verifying them manually is obviously a lot of work. So, is there a way to make RB recalculate these counters - like it was with the dashboard counters and the rb-site manage /path/to/site fixreviewcounts command? As a side note, it seems that the 'rb-site --help' message does not mention the 'manage' command at all. Is it intentional or an oversight? Regards, Alexey. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Resetting open issue counters
On 09/22/2014 04:30 PM, Alexey Neyman wrote: Hi all, We have just upgraded our installation of RB to 2.0.7. One nice new feature is that the dashboard now displays the number of open issues in a review request. However, I have noticed that the counters don't seem to be accurate in some request. For example, one of the review requests has 4 reviews with ship-its, with 2 of them making a comment on the code which were not marked as issues. Yet, the status displayed in the dashboard is 1 open issue. I verified this in admin/database/review requests, and this review request is indeed recorded as having ship-it count: 4 and open issue count: 1. I've hit the same bug on one of my deployments, but I haven't been able to reproduce it yet. I am not sure if this was a 1.7 bug, or if it was caused by the upgrade - the request and some of the reviews were submitted before the RB upgrade. However, I am not sure if the rest of the counters are valid - going through all the requests and verifying them manually is obviously a lot of work. So, is there a way to make RB recalculate these counters - like it was with the dashboard counters and the rb-site manage /path/to/site fixreviewcounts command? As a side note, it seems that the 'rb-site --help' message does not mention the 'manage' command at all. Is it intentional or an oversight? Regards, Alexey. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com mailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Resetting open issue counters
I would love a repro case for this. I've seen a couple of reports, and have tried desperately to reproduce it, with no luck. The code is fairly straightforward in how it counts the initial values. Christian On Monday, September 22, 2014, Stephen Gallagher step...@gallagherhome.com wrote: On 09/22/2014 04:30 PM, Alexey Neyman wrote: Hi all, We have just upgraded our installation of RB to 2.0.7. One nice new feature is that the dashboard now displays the number of open issues in a review request. However, I have noticed that the counters don't seem to be accurate in some request. For example, one of the review requests has 4 reviews with ship-its, with 2 of them making a comment on the code which were not marked as issues. Yet, the status displayed in the dashboard is 1 open issue. I verified this in admin/database/review requests, and this review request is indeed recorded as having ship-it count: 4 and open issue count: 1. I've hit the same bug on one of my deployments, but I haven't been able to reproduce it yet. I am not sure if this was a 1.7 bug, or if it was caused by the upgrade - the request and some of the reviews were submitted before the RB upgrade. However, I am not sure if the rest of the counters are valid - going through all the requests and verifying them manually is obviously a lot of work. So, is there a way to make RB recalculate these counters - like it was with the dashboard counters and the rb-site manage /path/to/site fixreviewcounts command? As a side note, it seems that the 'rb-site --help' message does not mention the 'manage' command at all. Is it intentional or an oversight? Regards, Alexey. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com javascript:; mailto:reviewboard+unsubscr...@googlegroups.com javascript:;. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com javascript:;. For more options, visit https://groups.google.com/d/optout. -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Resetting open issue counters
Christian, Meanwhile, is it possible to have a rb-site manage subcommand to recalculate these counters? Thanks, Alexey. On Sep 22, 2014 2:00 PM, Christian Hammond chip...@chipx86.com wrote: I would love a repro case for this. I've seen a couple of reports, and have tried desperately to reproduce it, with no luck. The code is fairly straightforward in how it counts the initial values. Christian On Monday, September 22, 2014, Stephen Gallagher step...@gallagherhome.com wrote: On 09/22/2014 04:30 PM, Alexey Neyman wrote: Hi all, We have just upgraded our installation of RB to 2.0.7. One nice new feature is that the dashboard now displays the number of open issues in a review request. However, I have noticed that the counters don't seem to be accurate in some request. For example, one of the review requests has 4 reviews with ship-its, with 2 of them making a comment on the code which were not marked as issues. Yet, the status displayed in the dashboard is 1 open issue. I verified this in admin/database/review requests, and this review request is indeed recorded as having ship-it count: 4 and open issue count: 1. I've hit the same bug on one of my deployments, but I haven't been able to reproduce it yet. I am not sure if this was a 1.7 bug, or if it was caused by the upgrade - the request and some of the reviews were submitted before the RB upgrade. However, I am not sure if the rest of the counters are valid - going through all the requests and verifying them manually is obviously a lot of work. So, is there a way to make RB recalculate these counters - like it was with the dashboard counters and the rb-site manage /path/to/site fixreviewcounts command? As a side note, it seems that the 'rb-site --help' message does not mention the 'manage' command at all. Is it intentional or an oversight? Regards, Alexey. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com mailto:reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/LKmrIXZGuDI/unsubscribe. To unsubscribe from this group and all its topics, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: Resetting open issue counters
Hi Alexey, That's something we can get in. As for the manage command, it's just an oversight. Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 22, 2014 at 3:09:41 PM, Alexey Neyman (alexey.ney...@gmail.com) wrote: Christian, Meanwhile, is it possible to have a rb-site manage subcommand to recalculate these counters? Thanks, Alexey. On Sep 22, 2014 2:00 PM, Christian Hammond wrote: I would love a repro case for this. I've seen a couple of reports, and have tried desperately to reproduce it, with no luck. The code is fairly straightforward in how it counts the initial values. Christian On Monday, September 22, 2014, Stephen Gallagher step...@gallagherhome.com wrote: On 09/22/2014 04:30 PM, Alexey Neyman wrote: Hi all, We have just upgraded our installation of RB to 2.0.7. One nice new feature is that the dashboard now displays the number of open issues in a review request. However, I have noticed that the counters don't seem to be accurate in some request. For example, one of the review requests has 4 reviews with ship-its, with 2 of them making a comment on the code which were not marked as issues. Yet, the status displayed in the dashboard is 1 open issue. I verified this in admin/database/review requests, and this review request is indeed recorded as having ship-it count: 4 and open issue count: 1. I've hit the same bug on one of my deployments, but I haven't been able to reproduce it yet. I am not sure if this was a 1.7 bug, or if it was caused by the upgrade - the request and some of the reviews were submitted before the RB upgrade. However, I am not sure if the rest of the counters are valid - going through all the requests and verifying them manually is obviously a lot of work. So, is there a way to make RB recalculate these counters - like it was with the dashboard counters and the rb-site manage /path/to/site fixreviewcounts command? As a side note, it seems that the 'rb-site --help' message does not mention the 'manage' command at all. Is it intentional or an oversight? Regards, Alexey. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com . For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- -- Christian Hammond - chip...@chipx86.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to a topic in the Google Groups reviewboard group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/reviewboard/LKmrIXZGuDI/unsubscribe. To unsubscribe from this group and all its topics, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving
Re: Encountering an Unexpected API Error on rbt setup-repo command
Perhaps a silly question, but have you configured your repository inside the Review Board admin? -David On Sun, Sep 21, 2014 at 1:05 AM, Joseph Syjuco kernelpa...@gmail.com wrote: Realized it is indeed a config error ... should've indicated http://172.30.166.36/reviews instead of http://172.30.166.36. Now it progressed a bit but stopped at : C:\Users\jsyjuco\Documents\source_code\s21patch\applicationrbt setup-repo -d RBTools 0.6.2 Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\jsyjuco\AppData\Roaming Current directory = C:\Users\jsyjuco\Documents\source_code\s21patch\applicat ion Enter the Review Board server URL: http://172.30.166.36/reviews Checking for a Subversion repository... Running: svn info --non-interactive Running: diff --version repository info: Path: svn://svn.xxx.com/ecom, Base path: /esa/branches/branchname/application, Supports changesets: False Making HTTP GET request to http://172.30.166.36/reviews/api/ Making HTTP GET request to http://172.30.166.36/reviews/api/info/ Making HTTP GET request to http://172.30.166.36/reviews/api/repositories/ No Subversion repository found or selected for http://172.30.166.36/reviews. .re viewboardrc not created. I've seen similar posts related to this one ...hope one of them works :) thanks for the quick response Christian Regards, Joseph On Fri, Sep 19, 2014 at 12:02 AM, Christian Hammond christ...@beanbaginc.com wrote: That does look to be a configuration issue. What URL do you use to reach your Review Board site? Christian -- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 18, 2014 at 9:00:52 AM, Joseph Syjuco (kernelpa...@gmail.com) wrote: Hi all, Need help in setting up/ connecting my reviewboard installation with my repository (svn). As per documentation, the recommended approach is to execute a rbt setup-repo inside my checkout folder. I did this expecting a .reviewboardrc but got an error instead : rbt setup-repo -d RBTools 0.6.2 Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] Running on Windows-7-6.1.7601-SP1 Home = C:\Users\jsyjuco\AppData\Roaming Current directory = C:\Users\jsyjuco\Documents\source_code\xxx\applicat ion Enter the Review Board server URL: http://172.30.166.36 Checking for a Subversion repository... Running: svn info --non-interactive Running: diff --version repository info: Path: svn://svn.xxx.com/yyy, Base path: /xxx/branches/ branchname/application, Supports changesets: False Making HTTP GET request to http://172.30.166.36/api/ Got HTTP error: 404: Not Found The requested URL /api/ was not found on this server. Apache/2.2.15 (CentOS) Server at 172.30.166.36 Port 80 Traceback (most recent call last): File C:\Python27\Scripts\rbt-script.py, line 9, in load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')() File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\m ain.py, line 134, in main command.run_from_argv([RB_MAIN, command_name] + args) File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\_ _init__.py, line 416, in run_from_argv exit_code = self.main(*args) or 0 File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\s etup_repo.py, line 106, in main api_client, api_root = self.get_api(server) File C:\Python27\lib\site-packages\rbtools-0.6.2-py2.7.egg\rbtools\commands\_ _init__.py, line 563, in get_api raise CommandError(Unexpected API Error: %s % e) rbtools.commands.CommandError: Unexpected API Error: HTTP 404 At least if I were to read the logs, it looks like it is expecting the /api/ but its not there ... not sure if I missed a step in the creation of the repository but Im at a dead end on how I can resolve this. I'd appreciate any tips/ suggestions on how I can address this issue. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and
Re: Upgrading from 1.6.4.1 to 2.0.5 woes
I updated to 2.0.7 and then gave Steven's suggestion of converting all tables to use the MyISAM engine a try. I think everything is up and running. There were still the duplicate entry errors (as stated in my original msg) but I think everything is working. Thanks Steven! The rundown of steps were: 1. Created a brand new 2.0.7 reviewboard site that uses sqlite. (rb1) 2. Copied over the 1.6.4.1 reviewboard.db file. 3. Performed rb-site upgrade rb1. I had to run a couple of other changes from the commandline such as: 1. removing the old authentication backend 2. adding in active directirectory authentication 4. Performed rb-site manage rb1 condensediffs 5. Also performed all the necessary permission changed Now that I have a working reviewboard 2.0.7 using sqlite... I worked on migrating everything using Steven's suggestion. 1. Create a brand new 2.0.7 reviewboard site that uses mysql (rb2) 1. Performed mysqldump rb2 rb2.sql 2. Replaced all instances of ENGINE=InnoDB with ENGINE=MYISAM in the rb2.sql file and saved it as rb2_myisam.sql 3. Performed mysql rb2 rb2_myisam.sql (this re-creates all the tables using MyISAM... I tried using just the alter command but ran into errors foreign constraint errors again). 2. Performed rb-site manage rb1 dumpdb rb1.json 3. Performed rb-site manage rb2 loaddb rb1.json 4. I had to make a few more modifications as follows: 1. rb-site manage rb2 set-siteconfig -- --key=site_media_root --value=/var/www/rb2/htdocs/media 2. rb-site manage rb2 set-siteconfig -- --key=site_static_root --value=/var/www/rb2/htdocs/static 3. rb-site manage rb2 set-siteconfig -- --key=site_static_url --value=/rb2/static The last three commands were required to get the website to display correctly since I pulled over a lot of the older paths from the original installation. I'll provide additional updates as I do more testing. On Monday, 22 September 2014 13:20:22 UTC-4, Kenneth Wong wrote: Hi Steven, thanks for the info. I'll give it a try tonight. I think I read somewhere that using MyISAM instead of using InnoDB effectively removes the foreign constraint checks during the migration. This allows the row insertion even if there may be problems with the relationship between records. Am I understanding it correctly? If so, are there implications that I should be aware of if I go down this road permanently? On Mon, Sep 22, 2014 at 12:02 PM, Steven Richards wrote: Not sure if you've received a fix yet but i just wanted to share that I too had issues upgrading from 1.6 to (1.7.25 and 2.0.5). To fix the upgrade issue in my case I made MyISAM the default for MySQL before creating and restoring the database. Add the following line under [mysqld] in my.conf: default-storage-engine=MyISAM You can of course just set a single Database to use it instead of the entire install (just in case you run another application on the same box). I should probably also mention i had issues going to 2.0.5 even with this fix. The upgrade worked great but we would receive random error pages when trying to create a new Diff. 2.0.6 Worked flawlessly for me. Steven Richards On Monday, September 22, 2014 8:13:37 AM UTC-4, Kenneth Wong wrote: Hi Christian, looks like all of the tables are using the InnoDB engine. The commands I used inside mysql were: use rb2; show table status; On Sunday, 21 September 2014 22:24:09 UTC-4, Christian Hammond wrote: Hi Kenneth, Can you determine if the tables being created are using InnoDB or MyISAM? Or a mix? Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 21, 2014 at 7:18:11 PM, Kenneth Wong (lost...@gmail.com) wrote: Hi, I'm upgrading from 1.6.4.1 to 2.0.5 as well as transitioning from sqlite to mysql. I'm looking for some help on understanding the error messages and what I can do about it. As per Christian's recommendation (from another thread), I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses sqlite. (rb1) 2. Copied over the 1.6.4.1 reviewboard.db file. 3. Performed rb-site upgrade rb1. I had to run a couple of other changes from the commandline such as: 1. removing the old authentication backend 2. adding in active directirectory authentication 4. Performed rb-site manage rb1 condensediffs 5. Also performed all the necessary permission changes From there I was able to log in to the new site... very nice. At this point, I'd like to be able to switch over to mysql... there's enough traffic on the site to definitely warrant a more solid database backend. I did the following: 1. Create a brand new 2.0.5 reviewboard site that uses mysql (rb2) 2. Performed rb-site manage rb1
Re: The file something/orother/withsomeextens.ion (revision hexadecimal joy) was not found in the repository
It's a git repository. I'll get logs set up to see what might be happening. -Kevin On Monday, September 22, 2014 1:39:56 PM UTC-5, Christian Hammond wrote: Hi Kevin, The log directory must be writable by whatever user your web server runs at (usually www-data or apache, if you're using Apache). What kind of repository is this? Christian -- Christian Hammond - chri...@beanbaginc.com javascript: Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 22, 2014 at 11:05:35 AM, Kevin Jones (kjl...@gmail.com javascript:) wrote: Greetings, I'd like to thank the community for their continued help in attempting to figure out solutions to issues I'm having. I've searched the web for possible solutions to this and haven't found any that have worked. We have our repositories on one machine while reviewboard sits on another. The links to the repositories are (I believe) configured correctly, as is user access. However, the error listed in the subject appears when one of my users attempts to post a review. I've examined access issues for the reviewboard user, whether or not the repo is set up properly, and about a million other things. Yet still the error persists. Attempts to turn on logging are met with read-only access errors. I realize that's probably the most critical piece of data, but what user needs access to write log files? The reviewboard user? -Kevin -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com javascript:. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: The file something/orother/withsomeextens.ion (revision hexadecimal joy) was not found in the repository
Can you show me the configuration of the repo in Review Board? Christian On Monday, September 22, 2014, Kevin Jones kjlo...@gmail.com wrote: It's a git repository. I'll get logs set up to see what might be happening. -Kevin On Monday, September 22, 2014 1:39:56 PM UTC-5, Christian Hammond wrote: Hi Kevin, The log directory must be writable by whatever user your web server runs at (usually www-data or apache, if you're using Apache). What kind of repository is this? Christian -- Christian Hammond - chri...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com On September 22, 2014 at 11:05:35 AM, Kevin Jones (kjl...@gmail.com) wrote: Greetings, I'd like to thank the community for their continued help in attempting to figure out solutions to issues I'm having. I've searched the web for possible solutions to this and haven't found any that have worked. We have our repositories on one machine while reviewboard sits on another. The links to the repositories are (I believe) configured correctly, as is user access. However, the error listed in the subject appears when one of my users attempts to post a review. I've examined access issues for the reviewboard user, whether or not the repo is set up properly, and about a million other things. Yet still the error persists. Attempts to turn on logging are met with read-only access errors. I realize that's probably the most critical piece of data, but what user needs access to write log files? The reviewboard user? -Kevin -- Get the Review Board Power Pack at http://www.reviewboard.org/ powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com javascript:_e(%7B%7D,'cvml','reviewboard%2bunsubscr...@googlegroups.com'); . For more options, visit https://groups.google.com/d/optout. -- -- Christian Hammond - christ...@beanbaginc.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups reviewboard group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.