Hi, I installed 0.7.42 via pypy and configured it.
After I was happy, I decided I should upgrade to git master, so I:
Everything seemed to be successful, besides the static files, as I mentioned in another question, but the settings are gone; and if I try to, say, change the skin, I get database errors because of duplicate keys.
This sounds like a bug in our settings module or a sequence corruption in the database, however there are solutions to these issues.
If you are using multiple processes to run your webapp, the issue could be caused by two or more processes trying to save the same value into the database, which would in this case violate a unique constraint. This can be worked around by installing a common cache system like "redis" or reducing number of processes on your app to one until we find the real fix.
Another possibility (if you are using postgresql database) is that the primary key sequence became corrupted. This could be that the current value for the primary key sequence in that table
livesettings_setting is below the ID of some existing row. In this case you will get a duplicate key violation also.
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
Asked: 2012-10-30 00:36:26 -0500
Seen: 42 times
Last updated: Oct 30 '12