Re: Error: Upgrading from ReviewBoard 2.0.11 to 2.5.7

2016-12-01 Thread Christian Hammond
Hi Pedro,

Ahhh that would definitely do it. Modifying the schema by hand will break
upgrades, due to the introspection that Django-Evolution performs. Glad you
found the cause!

Christian

-- 
Christian Hammond
President/CEO of Beanbag 
Makers of Review Board 

On Thu, Dec 1, 2016 at 11:47 AM, Pedro Cantu 
wrote:

> Nevermind Christian I found the error. The issue was that my version 2.5.7
> was a little bit different.
> I had added a feature from the alpha version to make reviews private.
> Removing those changes did the upgrade successful.
>
> --
> Supercharge your Review Board with Power Pack:
> https://www.reviewboard.org/powerpack/
> Want us to host Review Board for you? Check out RBCommons:
> https://rbcommons.com/
> Happy user? Let us know! https://www.reviewboard.org/users/
> ---
> You received this message because you are subscribed to 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.
>

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to 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: Error: Upgrading from ReviewBoard 2.0.11 to 2.5.7

2016-12-01 Thread Pedro Cantu
Nevermind Christian I found the error. The issue was that my version 2.5.7 
was a little bit different. 
I had added a feature from the alpha version to make reviews private. 
Removing those changes did the upgrade successful. 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to 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.


Error: Upgrading from ReviewBoard 2.0.11 to 2.5.7

2016-11-28 Thread Pedro Cantu
*Using PostgreSQL
Steps I did before trying to upgrade:

1. dump data from old site 
pg_dump -f reviewboard.sql -U user reviewboard
2) drop and create database from new site
dropdb reviewboard
createdb reviewboard (made sure it was empty)
3) import data from sql file
psql reviewboard < reviewboard.sql
4) Run rb-site upgrade.

root@reviewboard] > rb-site upgrade /var/www/reviewboard/
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table accounts_trophy
Creating table attachments_fileattachmenthistory
Creating table diffviewer_rawfilediffdata
Creating table notifications_webhooktarget_repositories
Creating table notifications_webhooktarget
Creating table webapi_webapitoken
Upgrading Review Board from 2.0.11 to 2.5.7
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for notifications.
There are unapplied evolutions for reviews.
There are unapplied evolutions for webapi.
Adding baseline version for new models
Evolutions in webapi baseline: webapitoken_jsonfield_null
Evolutions in notifications baseline: webhooktarget_extra_state, 
webhooktarget_extra_data_null
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
CommandError: Error applying evolution: cannot ALTER TABLE 
"reviews_reviewrequest" because it has pending trigger events

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to 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.