- 2,492
- 843
- NAS
- Synology, TrueNAS
- Operating system
- Linux
- Windows
Docker image:
jitsi/web
483MB
Launch:
jitsi-web1
Advanced settings:
Auto restart - enabled
NAS Docker Parent folder:
docker/jitsi
create .env folder
copy env.example into .env (you need download this file from GitHub - official Jitsi)
Edit the env.example file
1. change the line:
# Directory where all configuration will be stored
from CONFIG=~/.jitsi-meet-cfg
to CONFIG=/volume1/docker/jitsi/.jitsi-meet-cfg
2.Enable authentication, guest access and internal authentication:
ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=internal
3. Setup your FDQN for the jitsi + docker host address:
PUBLIC_URL=https://meet.domain.com
don't forget to manage your DNS record
DOCKER_HOST_ADDRESS=your NAS LAN ADDRESS
4. Auth. config lines:
# Enable authentication
ENABLE_AUTH=1
# Enable guest access
ENABLE_GUESTS=1
# Select authentication type: internal, jwt or ldap
AUTH_TYPE=internal
NAS side Volume preparation:
NAS folder: docker/jitsi
make new subfolders:
/.env
/config
/.jitsi-meet-cfg ....... in this subfolder make next structure by SSH command:
mkdir -p -v /volume1/docker/jitsi/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
Volume setup for in Docker (NAS ... Image):
/.env ... /.env
/.jitsi-meet-cfg ... /.jitsi-meet-cfg
/.jitsi-meet-cfg/config ... /.jitsi-meet-cfg/config/ngnix
in the folder:
/.jitsi-meet-cfg/config/ngnix
you will find file
you need to note (#) lines 33-38 (reason of errors of ngnix, then solved):
# BOSH
#location = /http-bind {
# proxy_pass <no value>/http-bind;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header Host <no value>;
#}
Ports:
your NAS port / 443 TCP
your NAS port / 80 TCP
your NAS port / 4443 TCP
Environments:
TZ: up to you..... List of tz database time zones - Wikipedia
CONFIG: /.jitsi-meet-cfg
no need more, because everything is defined by file in: /volume1/docker/jitsi/.jitsi-meet-cfg
Setup of NAS Firewall + RP
then:
and done
you can setup your devices in right upper corner icon
then you just need to "Start a new meeting"
done, meeting was established and started. Perfect.
and here is my cyclic "disconnecting":
Jitsi container Console:
- no error found in log
- copy of the log:
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] 01-set-timezone: executing...
,[cont-init.d] 01-set-timezone: exited 0.
,[cont-init.d] 10-config: executing...
,using keys found in /config/keys
,[cont-init.d] 10-config: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET / HTTP/1.1" 200 15397 "-" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:33 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:50 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:07 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,
,
Now:
tested image jitsi/prosody
for a possible "unregistered user" issue ... but guest connection is enabled in jitsi
Searched over internet - tons of similar issues, no single right solution
jitsi/web
483MB
Launch:
jitsi-web1
Advanced settings:
Auto restart - enabled
NAS Docker Parent folder:
docker/jitsi
create .env folder
copy env.example into .env (you need download this file from GitHub - official Jitsi)
Edit the env.example file
1. change the line:
# Directory where all configuration will be stored
from CONFIG=~/.jitsi-meet-cfg
to CONFIG=/volume1/docker/jitsi/.jitsi-meet-cfg
2.Enable authentication, guest access and internal authentication:
ENABLE_AUTH=1
ENABLE_GUESTS=1
AUTH_TYPE=internal
3. Setup your FDQN for the jitsi + docker host address:
PUBLIC_URL=https://meet.domain.com
don't forget to manage your DNS record
DOCKER_HOST_ADDRESS=your NAS LAN ADDRESS
4. Auth. config lines:
# Enable authentication
ENABLE_AUTH=1
# Enable guest access
ENABLE_GUESTS=1
# Select authentication type: internal, jwt or ldap
AUTH_TYPE=internal
NAS side Volume preparation:
NAS folder: docker/jitsi
make new subfolders:
/.env
/config
/.jitsi-meet-cfg ....... in this subfolder make next structure by SSH command:
mkdir -p -v /volume1/docker/jitsi/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody/config,prosody/prosody-plugins-custom,jicofo,jvb,jigasi,jibri}
Volume setup for in Docker (NAS ... Image):
/.env ... /.env
/.jitsi-meet-cfg ... /.jitsi-meet-cfg
/.jitsi-meet-cfg/config ... /.jitsi-meet-cfg/config/ngnix
in the folder:
/.jitsi-meet-cfg/config/ngnix
you will find file
you need to note (#) lines 33-38 (reason of errors of ngnix, then solved):
# BOSH
#location = /http-bind {
# proxy_pass <no value>/http-bind;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_set_header Host <no value>;
#}
Ports:
your NAS port / 443 TCP
your NAS port / 80 TCP
your NAS port / 4443 TCP
Environments:
TZ: up to you..... List of tz database time zones - Wikipedia
CONFIG: /.jitsi-meet-cfg
no need more, because everything is defined by file in: /volume1/docker/jitsi/.jitsi-meet-cfg
Setup of NAS Firewall + RP
then:
and done
you can setup your devices in right upper corner icon
then you just need to "Start a new meeting"
done, meeting was established and started. Perfect.
and here is my cyclic "disconnecting":
Jitsi container Console:
- no error found in log
- copy of the log:
,[cont-finish.d] executing container finish scripts...
,[cont-finish.d] done.
,[s6-finish] waiting for services.
,[s6-finish] sending all processes the TERM signal.
,[s6-finish] sending all processes the KILL signal and exiting.
,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
,[s6-init] ensuring user provided files have correct perms...exited 0.
,[fix-attrs.d] applying ownership & permissions fixes...
,[fix-attrs.d] done.
,[cont-init.d] executing container initialization scripts...
,[cont-init.d] 01-set-timezone: executing...
,[cont-init.d] 01-set-timezone: exited 0.
,[cont-init.d] 10-config: executing...
,using keys found in /config/keys
,[cont-init.d] 10-config: exited 0.
,[cont-init.d] done.
,[services.d] starting services
,[services.d] done.
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET / HTTP/1.1" 200 15397 "-" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:27 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:32 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:33 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:49 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:15:50 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /Test HTTP/1.1" 200 15397 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/do_external_connect.min.js?v=1 HTTP/1.1" 200 1173 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/lib-jitsi-meet.min.js?v=4289 HTTP/1.1" 200 228097 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:06 +0200] "GET /libs/app.bundle.min.js?v=4289 HTTP/1.1" 200 1345461 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,172.17.0.1 - - [08/Aug/2020:20:16:07 +0200] "POST /http-bind?room=test HTTP/1.1" 405 580 "https://xx.xx.com/Test" "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36"
,
,
Now:
tested image jitsi/prosody
for a possible "unregistered user" issue ... but guest connection is enabled in jitsi
Searched over internet - tons of similar issues, no single right solution