Executing the script manually and getting error "Scheme missing"


#1

I executed all the script of the bootstrap manually, but 2 scripts giving me error ie. “Scheme missing” for following scripts
wget -O /etc/supervisor/conf.d/redash.conf “$FILES_BASE_URL/supervisord.conf”
wget -O /etc/nginx/sites-available/redash “$FILES_BASE_URL/nginx_redash_site”
because of this erre “Service nginx restart” not working.


#2

1st script will download redash.conf file at given dir. and its contains
[inet_http_server]
port = 127.0.0.1:9001

[program:redash_server]
command=/opt/redash/current/bin/run gunicorn -b 127.0.0.1:5000 --name redash -w 4 --max-requests 1000 redash.wsgi:app
directory=/opt/redash/current
process_name=redash_server
user=redash
numprocs=1
autostart=true
autorestart=true

# There are two queue types here: one for ad-hoc queries, and one for the refresh of scheduled queries
# (note that "scheduled_queries" appears only in the queue list of "redash_celery_scheduled").
# The default concurrency level for each is 2 (-c2), you can increase based on your machine's resources.

[program:redash_celery]
command=/opt/redash/current/bin/run celery worker --app=redash.worker --beat -c2 -Qqueries,celery --maxtasksperchild=10 -Ofair
directory=/opt/redash/current
process_name=redash_celery
user=redash
numprocs=1
autostart=true
autorestart=true

[program:redash_celery_scheduled]
command=/opt/redash/current/bin/run celery worker --app=redash.worker -c2 -Qscheduled_queries --maxtasksperchild=10 -Ofair
directory=/opt/redash/current
process_name=redash_celery_scheduled
user=redash
numprocs=1
autostart=true
autorestart=true

#3

After adding both the file in the dir. and trying to restart the service by typing “service nginx restart”. Its giving the error.
Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.


#4

Try this nginx -t -c /etc/nginx/nginx.conf, you will get exactly what is the error in code. This support request resolved you can now close this request, if there is any tracking process.