linode StackScript django not working

hi,

i have started with linode to have my django sites,

i have tried installing an instance for django from the StackScript

~~[https://manager.linode.com/linodes/rebuild/linode193349?StackScriptID=131" target="_blank">](https://manager.linode.com/linodes/rebu … riptID=131">https://manager.linode.com/linodes/rebuild/linode193349?StackScriptID=131](

but when I go to the page assigned i get a 500 internal error

http://li413-147.members.linode.com/

I have checked the log

/root/stackscript.log

The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in /srv/my_project/venv/bin/python
Installing setuptools............done.
Installing pip...............done.
Usage: pip COMMAND [OPTIONS]

pip: error: no such option: -E
/srv/my_project/app /
/srv/my_project/venv/bin/python: can't open file '/srv/my_project/venv/bin/django-admin.py': [Errno 2] No such file or directory
/
Enabling site li413-147.members.linode.com.
Run '/etc/init.d/apache2 reload' to activate new configuration!
Usage: pip COMMAND [OPTIONS]

pip: error: no such option: -E
adding ../etc/apache2/sites-available/li413-147.members.linode.com
adding ../etc/apache2/sites-enabled/li413-147.members.linode.com
 * Restarting web server apache2
 ... waiting .   ...done.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mongodb restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart mongodb
mongodb start/running, process 30652
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart mysql
mysql start/running, process 30742
 * Stopping Postfix Mail Transport Agent postfix
   ...done.
 * Starting Postfix Mail Transport Agent postfix
   ...done.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart ssh
ssh start/running, process 30940

so how to fix this?

or should i start from scratch better?

thanks!

0 Replies

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct