I have installed jitsi using Self-Hosting Guide - Docker. System working perfectly, meeting can done without any problem.
Now I want to transcribe the meeting. I mean speech to text of participants in meeting. So I have started to install jigasi with docker command
docker-compose -f docker-compose.yml -f jigasi.yml up
when I see in all container by docker ps command then jigasi container showing restarting again.Why jigasi container restarting again I don’t know. Then I go for logs of jigasi then below logs are showing.
jigasi_1 [s6-init] making user provided files available at /var/run/s6/etc…exited 0.
jigasi_1 | [s6-init] ensuring user provided files have correct perms…exited 0.
jigasi_1 | [fix-attrs.d] applying ownership & permissions fixes…
jigasi_1 | [fix-attrs.d] done.
jigasi_1 | [cont-init.d] executing container initialization scripts…
jigasi_1 | [cont-init.d] 01-set-timezone: executing…
jigasi_1 | [cont-init.d] 01-set-timezone: exited 0.
jigasi_1 | [cont-init.d] 10-config: executing… jigasi_1 | Transcriptions: One or more environment variables are undefined
jigasi_1 | [cont-init.d] 10-config: exited 1.
jigasi_1 | [cont-finish.d] executing container finish scripts…
jigasi_1 | [cont-finish.d] done.
jigasi_1 | [s6-finish] waiting for services.
jigasi_1 | [s6-finish] sending all processes the TERM signal.
jigasi_1 | [s6-finish] sending all processes the KILL signal and exiting.
I have made a line bold in above log One or more environment variables are undefined, I have setup google_application_credentials in environment variable. But don’t know why it’s not working.
You are supposed to fill a number of env variables. Did you set them? GC_PROJECT_IDk GC_PRIVATE_KEY_ID, GC_PRIVATE_KEY, GC_CLIENT_EMAIL, GC_CLIENT_ID, GC_CLIENT_CERT_URL
Based on the output looks like you are missing the last one.
Sorry for copy-paste mistake, client_x509_cert_url this property also has value in application_default_credentials.json file. In application_default_credentials.json file I see project_id, private_key_id, private_key etc properties with value. I suppose that private_key_id and GC_PRIVATE_KEY_ID, private_key and GC_PRIVATE_KEY, also corresponding properties are same. Is it right?
Thanks @saghul after putting variable in .env file it’s working fine. But getting other problem, in jigasi log it’s saying invalid PKCS data like below
Error reading credential file from environment variable GOOGLE_APPLICATION_CREDENTIALS, value ‘/config/key.json’: Invalid PKCS#8 data
After investigation I found out that in key.json file I show extra \ character in every \n like below image.
This causing Invalid PKCS data. How to solve this problem?