Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to setup on cpanel? #442

Open
KamranAbbasiDEV opened this issue Aug 1, 2021 · 1 comment
Open

How to setup on cpanel? #442

KamranAbbasiDEV opened this issue Aug 1, 2021 · 1 comment

Comments

@KamranAbbasiDEV
Copy link

Any idea how to configure using cpanel??

image

@KamranAbbasiDEV
Copy link
Author

I did once, basically application startup file would be manage.py and entrypoint would be entrypoint.sh right?

log file error:

App 660 output: /opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts/wsgi-loader.py:26: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
App 660 output: import sys, os, re, imp, threading, signal, traceback, socket, select, struct, logging, errno
App 660 output: Traceback (most recent call last):
App 660 output: File "/opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 369, in
App 660 output: app_module = load_app()
App 660 output: File "/opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts/wsgi-loader.py", line 76, in load_app
App 660 output: return imp.load_source('passenger_wsgi', startup_file)
App 660 output: File "/home/vendscon/virtualenv/crm.vendscon.com/3.7/lib64/python3.7/imp.py", line 171, in load_source
App 660 output: module = _load(spec)
App 660 output: File "", line 696, in _load
App 660 output: File "", line 677, in _load_unlocked
App 660 output: File "", line 728, in exec_module
App 660 output: File "", line 219, in _call_with_frames_removed
App 660 output: File "/home/vendscon/crm.vendscon.com/passenger_wsgi.py", line 8, in
App 660 output: wsgi = imp.load_source('wsgi', 'manage.py')
App 660 output: File "/home/vendscon/virtualenv/crm.vendscon.com/3.7/lib64/python3.7/imp.py", line 171, in load_source
App 660 output: module = _load(spec)
App 660 output: File "", line 696, in _load
App 660 output: File "", line 677, in _load_unlocked
App 660 output: File "", line 724, in exec_module
App 660 output: File "", line 860, in get_code
App 660 output: File "", line 791, in source_to_code
App 660 output: File "", line 219, in _call_with_frames_removed
App 660 output: File "manage.py", line 8
App 660 output: def entrypoint.sh(environ, start_response):
App 660 output: ^
App 660 output: SyntaxError: invalid syntax

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant