osuosl / ganeti_webmgr

Ganeti Web Manager is a Django based web application that allows administrators and clients access to their ganeti clusters. It includes a permissions and quota system that allows administrators to grant access to both clusters and virtual machines. It also includes user groups for structuring access to organizations.
https://code.osuosl.org/projects/ganeti-webmgr
GNU General Public License v2.0
64 stars 32 forks source link

unicode exceptions, database requirements for installation #101

Open superhero opened 7 years ago

superhero commented 7 years ago

In MySQL, If your database is not encoded with utf8, running the command: django-admin.py refreshcache will throw errors. I believe this should, at its very least, be documented as a requirement, or included in the installation process when creating the tables, or when running: django-admin.py syncdb --migrate have the script check what encoding the database is using and describe the requirement.

We where using latin1_swedish_ci before we understood what the problem was.