[Docker] Failling to rendering template `<.Env.XMPP_MUC_DOMAIN>: invalid value`
See original GitHub issueDescription:
While running compose, I got multiple various message that seems due the same original cause.
# podman-compose logs web
using podman version: podman version 3.3.1
podman logs jitsifoo_web_1
[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
fatal: render template error, caused:
template: /defaults/system-config.js:11:45: executing "/defaults/system-config.js" at <.Env.XMPP_MUC_DOMAIN>: invalid value; expected string
[cont-init.d] 10-config: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:59
nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:59
nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:59
nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:59
To my understanding XMPP_MUC_DOMAIN
env var is not defined or not a string.
Thus:
- this error is raised
template: /defaults/system-config.js:11:45: executing "/defaults/system-config.js" at <.Env.XMPP_MUC_DOMAIN>: invalid value; expected string
- as the variable is not filled the file
/nginx/meet.conf
is incomplete - this error is raised
nginx: [emerg] invalid number of arguments in "proxy_pass" directive in /config/nginx/meet.conf:59
Steps to reproduce:
curl -Lo/tmp/docker_jitsi.tar.gz https://github.com/jitsi/docker-jitsi-meet/archive/refs/tags/stable-6726-1.tar.gz
tar xf /tmp/docker_jitsi.tar.gz -C /var/www/jitsi.microbiomestudio.fr/ --strip-components=1
Actual behavior:
We can see from file system-config.js
that XMPP_MUC_DOMAIN
is filled from its corresponding env var
# grep XMPP_MUC_DOMAIN ./web/rootfs/defaults/system-config.js
{{ $XMPP_MUC_DOMAIN := .Env.XMPP_MUC_DOMAIN -}}
{{ $XMPP_MUC_DOMAIN_PREFIX := (split "." .Env.XMPP_MUC_DOMAIN)._0 -}}
config.hosts.muc = '{{ $XMPP_MUC_DOMAIN_PREFIX }}.'+subdomain+'{{ $XMPP_DOMAIN }}';
config.hosts.muc = '{{ $XMPP_MUC_DOMAIN }}';
The env file declare the expected variable
# grep XMPP_MUC_DOMAIN .env
XMPP_MUC_DOMAIN="muc.meet.jitsi"
I even defined the variable into the current bash session to ensure its presence.
Thanks for your helps
Best regards
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Jicofo failing to start due to config error - Jitsi Community Forum
I tried several past unstable docker builds including today (unstable-2022-10-31) too but jicofo is failing to start due to following config ...
Read more >v6.1.4 (2020-05-15) — Err 6.1.4 documentation
403 error when fetching plugin repos index (#1425) ... a deprecation warning for 3.9 on Mapping. removing the intermediate domain requiring a certificate....
Read more >Openfire Changelog - Ignite Realtime Downloads
[OF-2415] - Openfire Docker image fails to start if an empty plugins directory exists ... [OF-2482] - Error when opening keystore admin console...
Read more >XMPP Stream gets disconnected on joining a MUC room
I implemented xmppStreamDidDisconnect:withError too, but it's still giving nil error. The user also leaves the room immediately after joining it ...
Read more >Untitled
Fix device error 365, Jalur merah kuning hijau, Letter 2 my son mp3, Route 93 my love, ... 16399 forest way macomb mi,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@saghul Thanks for your answer. I agree, that seems more a
podman-compose
problem I tried to install from source jitsi-meet on a rocky linux but after some works I chose an easier path using container so I tried first podman which fail. Now I try with docker that works better but it is not the ideal caseClosing this this is a podman issue. Podman support is tracked at https://github.com/jitsi/docker-jitsi-meet/issues/201