OpenMOOC / moocng

MOOC Engine
Apache License 2.0
88 stars 43 forks source link

error after update #41

Closed johnfelipe closed 11 years ago

johnfelipe commented 11 years ago

Hi, i do this:

cd /var/www/moocng/moocng
git checkout HEAD -- moocng/settings.py
git pull
cd /var/www/moocng
source /var/www/moocng/bin/activate
cd /var/www/moocng/moocng
python setup.py develop
python manage.py collectstatic
python manage.py syncdb --migrate

update setting.py with old and new features but this error happend:

errorupdate

Tnks

pitbulk commented 11 years ago

Load the virtualenv and execute again the command: python manage.py syncdb --migrate

And check the output. The error that you paste is based on a syncdb problem

johnfelipe commented 11 years ago

This is output:

(moocng)[root@felipeurrego moocng]# python manage.py syncdb --migrate
Syncing...
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 19 object(s) from 2 fixture(s)
Migrating...
Running migrations for djcelery:
- Nothing to migrate.
 - Loading initial data for djcelery.
Installed 19 object(s) from 2 fixture(s)
Running migrations for tastypie:
- Nothing to migrate.
 - Loading initial data for tastypie.
Installed 19 object(s) from 2 fixture(s)
Running migrations for contact:
- Nothing to migrate.
 - Loading initial data for contact.
Installed 19 object(s) from 2 fixture(s)
Running migrations for badges:
- Nothing to migrate.
 - Loading initial data for badges.
Installed 19 object(s) from 2 fixture(s)
Running migrations for courses:
- Nothing to migrate.
 - Loading initial data for courses.
Installed 19 object(s) from 2 fixture(s)
Running migrations for teacheradmin:
- Nothing to migrate.
 - Loading initial data for teacheradmin.
Installed 19 object(s) from 2 fixture(s)
Running migrations for api:
- Nothing to migrate.
 - Loading initial data for api.
Installed 19 object(s) from 2 fixture(s)
Running migrations for categories:
- Nothing to migrate.
 - Loading initial data for categories.
Installed 19 object(s) from 2 fixture(s)
Running migrations for peerreview:
- Nothing to migrate.
 - Loading initial data for peerreview.
Installed 19 object(s) from 2 fixture(s)

Synced:
 > django.contrib.auth
 > django.contrib.contenttypes
 > django.contrib.sessions
 > django.contrib.sites
 > django.contrib.messages
 > django.contrib.staticfiles
 > grappelli
 > django.contrib.admin
 > django.contrib.flatpages
 > adminsortable
 > tinymce
 > compressor
 > moocng.enrollment
 > djangosaml2
 > south
 > moocng.media_contents

Migrated:
 - djcelery
 - tastypie
 - moocng.contact
 - moocng.badges
 - moocng.courses
 - moocng.teacheradmin
 - moocng.api
 - moocng.categories
 - moocng.peerreview

How fix it

Tnks

johnfelipe commented 11 years ago

Please tell me how fix this, tnks

johnfelipe commented 11 years ago

i update today, but still problem

Tnks

pitbulk commented 11 years ago

johnfelipe, in the output that you shows does not appear any problem.

Reload your apache server and the database problem should go away.