Ask Your Question
1

Best practices to avoid data inconsistency

asked 2011-03-09 21:16:01 -0500

psyklic gravatar image psyklic
23 1 2

I was wondering, how do I best prevent data inconsistency errors? As far as I can tell, I haven't been doing anything crazy. Yet, already two inconsistency problems have occurred. (see http://askbot.org/en/question/338/error-asking-questions-with-multiple-tags)

My additional problem was where my superuser suddenly could not view any questions+replies without an internal server error ... It turned out that I had to confirm his email subscription settings (manually -- the add_missing_subscriptions management command did not work; perhaps there is a bug where it does not address superusers or the original user?).

Thank you again for your help so far! If you have any best practices to avoid inconsistency errors I would be grateful.

delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2011-03-09 22:17:45 -0500

Evgeny gravatar image Evgeny flag of Chile
11009 50 84 182
http://askbot.org/

updated 2011-03-09 22:53:16 -0500

The one thing I suggest - use PostgresQL (there are other posts here explaining why). Regarding your superuser - maybe it was the one that was created by django when you initialized the project?

At the moment the installation protocol asks you to not create the superuser at that time, but add it separately (there is a special management command for that add_admin).

But if it is something else - please post more details from the error logs, such errors (of type "Internal Server Error") will be fixed very quickly.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-03-09 21:16:01 -0500

Seen: 173 times

Last updated: Mar 09 '11