One of three of my virtualenv'd Django applications is returning a 500 error this morning, and the logs say this:
I looked around and found this:
but I'm still not sure what to do at the command line to rebuild the environment on web56. Anyone know the formula?
asked Jun 06 '12 at 11:17
We recently did a minor version upgrade of Python2.7 on your server - the error you're seeing is an unanticipated result of that change.
I've just looked through your account, and you're not using a virtualenv anywhere. You should be able to recover from the error simply by restarting your apps' Apache instances to force them to pick up the new Python modules.
Hope that helps, and sorry for the trouble!
answered Jun 06 '12 at 14:53
This error also bit my Django-based site hosted on webfaction. Apache restart fixed it.
I wonder how many other sites are still down because of this...
I'd recommend webfaction notify all users being hosted on upgraded servers about this issue and the fix.
answered Jun 17 '12 at 18:23