Missing little help installing scalelite. API running. Nginx don't and SSL it's OK.

517 views
Skip to first unread message

Jesus Vte. Vila

unread,
May 3, 2020, 2:03:01 PM5/3/20
to BigBlueButton-Setup
Hi folks i've created a Debian 10 machine and following all instrucions on https://github.com/blindsidenetworks/scalelite i've created

- PostgreSQL server (apt package, same machine)
- Redis persistent (apt package, same machine)
- Docker (apt package)
- Shared NFS folder
- With Docker/certbot image i've created a ssl certificate on /etc/letsencrypt
- I can rake the postgresql database.
- I can run api commands

But i'cant run scalelite-nginx docker image. It fail's on start.

If i got logs 

root@aulas:~# docker logs b27e381f8996   
Startup script was run as init, re-execing using tini.
Generating templated nginx configuration...
Using SSL configuration template.
Starting nginx periodic reload process...
Starting nginx...
2020/05/03 17:49:19 [emerg] 7#7: host not found in upstream "scalelite-api" in /etc/nginx/conf.d/scalelite.common:2
nginx: [emerg] host not found in upstream "scalelite-api" in /etc/nginx/conf.d/scalelite.common:2

And my /etc/default/scalelite

SECRET_KEY_BASE=xxxxxx
LOADBALANCER_SECRET=xxxxxx
DATABASE_URL=postgresql://aulas.xxxxxx.net:5432
REDIS_URL=redis://aulas.xxxxxx.net:6379
SCALELITE_TAG=v1
SCALELITE_RECORDING_DIR=/mnt/scalelite-recordings/var/bigbluebutton
NGINX_SSL=true
SCALELITE_NGINX_EXTRA_OPTS=--mount type=bind,source=/etc/letsencrypt,target=/etc/nginx/ssl,readonly

What can i do?

Jesus Vte. Vila

unread,
May 4, 2020, 8:19:56 AM5/4/20
to BigBlueButton-Setup
Solved.

It was mounted on a LXC machine. Seems LXC and Docker block container communication. Installed on a Qemu machine works perfectly.
Reply all
Reply to author
Forward
0 new messages