Installation fails

Moderator: areski

Installation fails

Postby vladimirg » Tue Feb 21, 2012 10:40 am

Hi guys,
I did installation exactly by the instruction you provide on http://www.newfies-dialer.org/documenta ... ers-guide/
and it fails with the same error on different computers and OS systems. Here is error logs I get:

http://pastebin.com/5eJmdKME
and
http://pastebin.com/B3e4X7md
other logs are empty
Please advice
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Re: Installation fails

Postby vladimirg » Tue Feb 21, 2012 11:01 am

Forget to send you any log I have where error of the installation exposed.

http://pastebin.com/x8ZAiyds

Would appropriate you help
Thanks
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Re: Installation fails

Postby areski » Tue Feb 21, 2012 11:05 am

DatabaseError: (1146, "Table 'newfies.dialer_phonebook' doesn't exist")
It seems that the database is not created properly.

Can you run those command as root :
$ workon newfies-dialer
$ pip freeze


Show us the result!
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Installation fails

Postby vladimirg » Tue Feb 21, 2012 2:06 pm

i have run those 2 commands and send you the output
thanks,

http://pastebin.com/js6J2MjU
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Re: Installation fails

Postby areski » Tue Feb 21, 2012 2:19 pm

Ok well the dependencies are well installed, that's strange,,, this doesn't explain why the database creation failed!

Try this :
workon newfies-dialer
python manage.py syncdb --noinput
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic -l --noinput

then

/etc/init.d/apache2 restart
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Installation fails

Postby vladimirg » Tue Feb 21, 2012 2:32 pm

i tried to execute
workon newfies-dialer
python manage.py syncdb --noinput
python manage.py migrate
python manage.py createsuperuser
python manage.py collectstatic -l --noinput

then

/etc/init.d/apache2 restart

but when tried next:
python manage.py syncdb --noinput
i got error python: can't open file 'manage.py': [Errno 2] No such file or directory

i found the file manage.py in few places on the file system.
/usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/django/conf/project_template/manage.py
/usr/share/virtualenvs/newfies-dialer/lib/python2.6/site-packages/demo/manage.py
/usr/share/newfies/manage.py
/usr/src/newfies-dialer/newfies/manage.py

what directory i should be in when execute the thread of commands you advice?
and what is the error shows?
thanks
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Re: Installation fails

Postby areski » Tue Feb 21, 2012 2:50 pm

I forgot to mention, the newfies directory is "/usr/share/newfies/"
so prior run "cd /usr/share/newfies/"
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Installation fails

Postby vladimirg » Tue Feb 21, 2012 2:53 pm

the next error is generated

after i used:
python manage.py syncdb --noinput
it output this:
There is no South database module 'south.db.mysql' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Re: Installation fails

Postby areski » Tue Feb 21, 2012 4:37 pm

Fixed by running manually :


It seems it's was a wrong version of South getting installed, fix for the install script here :
https://github.com/Star2Billing/newfies ... 8a8caf4a0a
areski
Site Admin
 
Posts: 302
Joined: Tue Oct 18, 2011 5:28 pm

Re: Installation fails

Postby vladimirg » Tue Feb 21, 2012 6:11 pm

Thanks for help
vladimirg
 
Posts: 16
Joined: Fri Feb 17, 2012 10:46 am

Next

Return to Installation

Who is online

Users browsing this forum: No registered users and 104 guests

cron