kastldratza/zoomrec

SESSION_MANAGER environment variable not defined

jnthnw opened this issue · 11 comments

When I try to start the container I get the following error:

VNC_COL_DEPTH = 24
VNC_RESOLUTION = 1024x576
VNC_IP = 172.17.0.2
VNC_PORT = 5901

Connect to 172.17.0.2:5901

Start script..
Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

tested on Debian GNU/Linux 10 (buster)

But it should still work. I will take the error into account when refactoring.

Ok, my mistake, I made a typo with mounting the meeting.csv file.

It would be nice if the errors from zoomrec.py would be redirected to stdout of the docker container. Otherwise you only see it in a VNC client

Hi, thanks for sharing this tool, I am having the same issue, I have double checked the mounting of meetings.csv and its fine.

I am running, on macos 10.14

my directory looks something like this

test
|->recordings
|->audio
|->meetings.csv

i have done chown -R 1000:1000 recordings and chown -R 1000:1000 audio

when i try

docker run -d --restart unless-stopped \
  -e DEBUG=True \
  -v $(pwd)/recordings:/home/zoomrec/recordings \
  -v $(pwd)/audio:/home/zoomrec/audio \
  -v $(pwd)/meetings.csv:/home/zoomrec/meetings.csv:ro \
  -p 5901:5901 \
kastldratza/zoomrec:latest

or using the custom Dockerfile

docker run -d --restart unless-stopped -v $(pwd)/recordings:/home/zoomrec/recordings -p 5901:5901 kastldratza/zoomrec-custom:latest

i get

DISPLAY = :1

VNC_COL_DEPTH = 24

VNC_RESOLUTION = 1024x576

VNC_IP = 172.17.0.2

VNC_PORT = 5901


Connect to 172.17.0.2:5901


Start script..

Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

The contents of meetings.csv is the same as here https://github.com/kastldratza/zoomrec/blob/master/example/meetings.csv

Any ideas? Heavily appreciated!

Hi @jnthnw, do you still have this problem?
The Error message is displayed every time, but it should still work. I will fix this when refactoring.

I am expressing this problem also, and i can't connect via vnc.
can i define this var before your fix?
thanks

@Guyv-dev The error message is always issued, but does not affect zoomrec. What is the error message when connecting via VNC?

Here's the error

Snipaste_2021-11-18_14-54-56

Actually, it was my mistake, an embarrassing one, I thought that port 5901 is the default port for vnc. So it's working for me.
By the way, I would love to see 3 more features in your next build:

  1. To be able to change the crf value, zero creates extremely large files.
  2. Automatically minimize the participant's window and move the bar to the top.
  3. Stop the loop (after some time) that waits for the zoom meeting to start. When the zoom meeting hasn't occurred eventually, the script keeps waiting forever.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

This issue was closed because it has been stalled for 5 days with no activity.