I upgraded our RB site 2 weeks ago from 1.0.9 to 1.5.5.  As part of
the upgrade, I ran

$ rb-site upgrade /var/www/reviewboard

Everything went smoothly and RB has been running fine for over a week.
Then today, several users reported being unable to access RB. They
were getting a message saying:

"""
The Review Board database schema has changed since your last upgrade.
To update your schema, run:
   $ ./manage.py syncdb
"""

That seemed odd because I'm pretty sure 'rb-site upgrade' updated the
database schema. If it hadn't, RB would have been pretty non-
functional and that wasn't the case. So I searched here and found a
message from 2009 where the OP was getting the same message:

"""
"Database changes
The Review Board database schema has changed since your last upgrade.
To update your schema, run:

  $ ./manage.py syncdb
 Follow any additional instructions it may give you. If, for example,
it tells you to perform a schema evolution, run:

  $ ./manage.py evolve --execute"
"""

The reply to that was

"""
Those instructions should be changed. You need to follow the
instructions in
the admin guide on upgrading sites using 'rb-site upgrade /path/to/
site'
"""

Based on that, I decided to restart RB and that made the problem go
away. Or at least it made RB functional again, but I have a nagging
feeling the problem could return.  To add to my confusion, I see a
recent discussion here where 'manage.py syncdb' was the correct action
to take, for something called a django evolution.

So,

1. If I ran 'rb-site upgrade', do I still need to run 'manage.py
syncdb'?
2. Is that still an outdated message that should be changed?
3. Can anyone think of why the site would be running fine for over a
week (it gets pretty high traffic) and then suddenly behave in this
way?

Thanks!

--
-- Steve

-- 
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 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en

Reply via email to