Jitsi-meet - problem with configure and running on Qnap

Hi, I’m trying to install and configure for using Jitsie-meet on my qnap server with steps below:

  1. Login with ssh as admin to qnap
  2. Download jitsie-meet binaries v. 7001 from GitHub with command wget
  3. Go to cd share/Container/ and unpack tar -zxvf stable-7001.tar.gz
  4. Go to cd docker-jitsi-meet-stable-7001
  5. Create config file cp env.example .env and put in only this details via vi apk

CONFIG=~/.jitsi-meet-cfg

Exposed HTTP port

HTTP_PORT=8000

Exposed HTTPS port

HTTPS_PORT=8443

System time zone

TZ=Europe/London

Public URL for the web service (required)

PUBLIC_URL=https://meet.example.com

IP address of the Docker host

See the “Running behind NAT or on a LAN environment” section in the Handbook:

DOCKER_HOST_ADDRESS=192.168.1.200

  1. Generate passwords ./gen-passwords.sh
  2. Make config dir mkdir -p ~/.jitsi-meet-cfg/{web/letsencrypt,transcripts,prosody,jicofo,jvb,jigasi,jibri}
  3. Update and create dockers docker-compose up -d - all done

And now there are errors:

  1. Can’t open https site on port 8443 - browser show blank grey page
  2. Can’t open http site on port 8000 - an error occurred connecting to server ‘192.168.1.200’
  3. Errors from Container Station log

[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…
generating self-signed keys in /config/keys, you can replace these with your own keys if required
Generating a RSA private key
…+++++
…+++++
writing new private key to '/config/keys/cert.key


[cont-init.d] 10-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
2022/03/21 20:06:16 [error] 256#256: *2 open() “/config/config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/2.0”, subrequest: “/config.js”, host: “192.168.1.200:8443”
2022/03/21 20:06:16 [error] 256#256: *2 open() “/config/interface_config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/2.0”, subrequest: “/interface_config.js”, host: “192.168.1.200:8443”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET / HTTP/2.0” 200 3844 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /css/all.css?v=5913 HTTP/2.0” 200 33437 “192.168.1.200:8443/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /libs/do_external_connect.min.js?v=1 HTTP/2.0” 200 1739 192.168.1.200:8443/ “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /libs/lib-jitsi-meet.min.js?v=5913 HTTP/2.0” 200 239040 “192.168.1.200:8443/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /libs/app.bundle.min.js?v=5913 HTTP/2.0” 200 1368180 192.168.1.200:8443/ “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /images/apple-touch-icon.png HTTP/2.0” 200 17146 192.168.1.200:8443/ “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
192.168.1.100 - - [21/Mar/2022:20:06:16 +0100] “GET /images/favicon.ico?v=1 HTTP/2.0” 200 4286 192.168.1.200:8443/ “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
2022/03/21 20:06:47 [error] 256#256: *2 open() “/config/config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/2.0”, subrequest: “/config.js”, host: “192.168.1.200:8443”
2022/03/21 20:06:47 [error] 256#256: *2 open() “/config/interface_config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/2.0”, subrequest: “/interface_config.js”, host: “192.168.1.200:8443”
192.168.1.100 - - [21/Mar/2022:20:06:47 +0100] “GET / HTTP/2.0” 200 3844 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
2022/03/21 20:06:59 [error] 256#256: *3 open() “/config/config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “192.168.1.200:8000”
2022/03/21 20:06:59 [error] 256#256: *3 open() “/config/interface_config.js” failed (13: Permission denied), client: 192.168.1.100, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “192.168.1.200:8000”
192.168.1.100 - - [21/Mar/2022:20:06:59 +0100] “GET / HTTP/1.1” 200 3856 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:98.0) Gecko/20100101 Firefox/98.0”
172.29.0.1 - - [21/Mar/2022:20:15:00 +0100] “GET / HTTP/1.1” 400 259 “-” “python-requests/2.25.0”
2022/03/21 20:15:01 [error] 256#256: *5 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:15:01 [error] 256#256: *5 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:15:01 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
172.29.0.1 - - [21/Mar/2022:20:15:23 +0100] “GET / HTTP/1.1” 400 259 “-” “python-requests/2.25.0”
2022/03/21 20:15:23 [error] 256#256: *7 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:15:23 [error] 256#256: *7 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:15:23 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:15:24 [error] 256#256: *8 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:15:24 [error] 256#256: *8 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:15:24 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:15:48 [error] 256#256: *9 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:15:48 [error] 256#256: *9 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:15:48 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:16:11 [error] 256#256: *10 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:16:11 [error] 256#256: *10 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:16:11 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:16:34 [error] 256#256: *11 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:16:34 [error] 256#256: *11 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:16:34 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:16:58 [error] 256#256: *12 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:16:58 [error] 256#256: *12 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:16:58 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:17:21 [error] 256#256: *13 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:17:21 [error] 256#256: *13 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:17:21 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:17:45 [error] 256#256: *14 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:17:45 [error] 256#256: *14 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:17:45 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
2022/03/21 20:18:08 [error] 256#256: *15 open() “/config/config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/config.js”, host: “127.0.0.1:8000”
2022/03/21 20:18:08 [error] 256#256: *15 open() “/config/interface_config.js” failed (13: Permission denied), client: 172.29.0.1, server: _, request: “GET / HTTP/1.1”, subrequest: “/interface_config.js”, host: “127.0.0.1:8000”
172.29.0.1 - - [21/Mar/2022:20:18:08 +0100] “GET / HTTP/1.1” 200 3856 “-” “python-requests/2.25.0”
`
How to fix it ?

Did you start the containers as root?

Hi,I started it as admin group user.

Looks like a permissions issue with the .jitsi-meet-cfg directory. Sorry, I don’t have any experience deploying on such device.

I tried with sudo chmod -R 777 /.jitsi-meet-cfg but without success. The same errors.