Awesome! Secret key issue fixed: https://github.com/mayan-edms/mayan-edms/commit/b3082b57437a28019cea429ba6cae4ae3e116214
Mayan now uses Django's own algorithm to create the secret key. Thanks, --Roberto On Sunday, July 27, 2014 10:03:01 PM UTC-4, Michel Lavoie wrote: > > Problem solved, thanks for your suggestion: > > - I first tried an empty django project with mysql (mariadb). Still took > way too long for the project to be created when I ran syncdb; > > - I then tried an empty project with postgresql. Went much MUCH faster > than with mysql, for some reason. I didn't really push my research because > django seems to recommend postgresql over mysql anyways; > > - I've just finished installing and testing a brand new installation of > mayan (from pip) and it's much faster than before, even on the development > server. Can't wait to test on nginx :) > > On a side note, I came across an additional interesting issue: My first > SECRET_KEY (from local.py) contained '\x' in its string, which caused > errors when trying to use runserver. The error was "ValueError: invalid \x > escape". I solved it by commenting the line and running initialsetup again. > > Regards, > > Michel > > On Sunday, July 27, 2014 8:24:26 PM UTC-4, Michel Lavoie wrote: >> >> Good idea I'll try that (use another django project or an empty one with >> mysql database). The Odroid U3 has 2GB of RAM, in other words plenty (it's >> a brand new arch linux install with nothing else than what's needed for >> mayan). >> >> On Sunday, July 27, 2014 5:05:13 PM UTC-4, Roberto Rosario wrote: >>> >>> Do you have enough RAM to run MariaDB? Swap partition? It could be a >>> virtual memory problem. Try creating an empty Django project to see if it >>> is a Mayan-centric problem or it is just a hardware platform issue. >> >> -- --- You received this message because you are subscribed to the Google Groups "Mayan EDMS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
