Upgrade 1.2.5 -> 1.3.4 fails on database update

64 views
Skip to first unread message

Magne Nordtveit

unread,
Apr 2, 2012, 4:43:36 AM4/2/12
to rhod...@googlegroups.com
When updating from 1.2.5 to 1.3.4 the "paster upgrade-db production.ini" command fails with the provided error message.

Is there anything I can do to make this go smoother?
rhodecode_fail_update.log

Marcin Kuzminski

unread,
Apr 2, 2012, 5:39:35 PM4/2/12
to rhod...@googlegroups.com
Exactly as error stated, there are duplicate entries for users_group_id, permission_id make sure that pair are unique, and then try again.

Magne Nordtveit

unread,
Apr 3, 2012, 5:11:30 AM4/3/12
to rhod...@googlegroups.com
When I opened the SQLite DB in a stand alone viewer, there were indeed duplicate permissions. Not sure how that happened though...

Thanks for your help Marcin, great project! :-)

Br,

Magne Nordveit
Reply all
Reply to author
Forward
0 new messages