Forums

Django 1.8 migrations hang.

Hello. I have Django 1.8 installed in a virtualenv. Running the command

python manage.py migrate

takes an eternity. Is this a common and/or known problem?

It shouldn't be particularly slow. Is it a particularly large migration? Moving lots of data around, or something like that?

No. There's no initial data. It's just setting up tables. Even just setting up the unmodified admin, auth, and contenttypes apps took somewhere on the order of ten minutes. I got it all done. I do have a free account if that makes a difference.

Other than that, your service is awesome and I'll probably be upgrading to a paid account.

Are you using sqlite? That can be a little slow sometimes, because our filesystems work over NFS. You could try switching to MySQL...

No, I'm already using MySQL. I got it done. Next time I need to run migrations, I'll let you know if it's slow again. Could be it was just that one time. Thanks for the interest.

That's really weird! Please do let us know if it does happen next time.