I traped in some problems while update ubuntu 10.04TLS to 12.04TLS.
Generally: You must allways recreate the PyLucid virtual environment, if python version changed. In this case python v2.6 to v2.7. This is needed, because many symlinks doesn't work after a version change.
So bootstrap PyLucid:
- You must relink all external plugins.
- You must install all additional dependencies.
- Delete old cache entries, e.g.: $ rm /tmp/PyLucid* -rf
If you use DjangoBB you should recreate the search index, e.g.:
Also a strage error:
Error importing authentication backend pylucid.system.auth_backends.SiteSHALoginAuthBackend: "No module named auth_backends"
In settings is:
So what happens here?!?!
The code from django/contrib/auth/__init__.py in get_user is:
So the backend is not directly used from settings.AUTHENTICATION_BACKENDS. It used from old session data!
Solution: Delete all existing settings, e.g.:
If you use MySQL and hase set default-character-set and/or default-collation in /etc/mysql/my.cnf, than you will have the next problem. These settings was deprecated and doesn't be accepted with newer MySQL v5.5.x
You only need to set this:
(Last update: Sept. 7, 2012, 6:35 p.m. by jens.)