Hi there,

I currently have a Review Board 1.5 setup, and I'm trying to upgrade to 
1.7. When I try to run the rb-site upgrade part to upgrade the database, I 
get the following error: 

line 36, in defaulterrorhandler
    raise errorclass, errorvalue
django.db.utils.DatabaseError: (1071, 'Specified key was too long; max key 
length is 1000 bytes')

I think the sql statement it is trying to execute is:

CREATE TABLE `hostingsvcs_hostingserviceaccount` (
    `service_name` varchar(128) NOT NULL,
    `hosting_url` varchar(255),
    `username` varchar(128) NOT NULL,
    `data` longtext NOT NULL,
    `visible` bool NOT NULL,
    `local_site_id` integer,
    UNIQUE (`service_name`, `hosting_url`, `username`, `local_site_id`)

I clean install reviewboard 1.7 on one host, and I try to connect it to the 
db host that was running with 1.5. Is there a way to just migrate the mysql 
db across versions? Any help would be appreciated. Thanks.

Want to help the Review Board project? Donate today at 
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to 
For more options, visit this group at 
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.

Reply via email to