Error when starting the mediaserver container after system restart

I’m getting a strange error. I’ve used OpenVidu mediaserver from Docker container succesfully, but every time I have restarted my computer and try to run the container again I get this errormessage:

/usr/bin/python: can't open file '/usr/bin/supervisord': [Errno 13] Permission denied

Haven’t been able to find out what this actually means and why it always shows up after system reboot? Only workaround I’ve been able to figure out is to uninstall and reinstall docker and pull the container again. Then it starts normally.

How have you deployed OpenVidu?
According what instructions here in the docs?: https://docs.openvidu.io/en/2.14.0/deployment/

I haven’t deployed anywhere yet. I’m running a local copy.

ke 20. toukok. 2020 klo 22.24 Pablo Fuente via OpenVidu <openvidu@discoursemail.com> kirjoitti:

You are running in your local development machine the production On Premises setup of OpenVidu?
Well, first of all for developments we encourage you to use the official development Docker container: a single image will be enough for developing and testing your application in your LAN network: https://docs.openvidu.io/en/2.14.0/deployment/#openvidu-for-development

Second, it seems to me a simple permission problem. OpenVidu On Premises deployment should always be managed with root permissions, as Docker will need them to properly run.

This is what I have used to start the container:

    docker run -p 4443:4443 --rm \
        -e OPENVIDU_RECORDING=true \
        -e   OPENVIDU_RECORDING_PATH=/PATH/TO/VIDEO/FILES \
    -v /var/run/docker.sock:/var/run/docker.sock \
    -v /PATH/TO/VIDEO/FILES:/PATH/TO/VIDEO/FILES \
openvidu/openvidu-server-kms:2.14.0

It sais [here] it is meant for development. (https://docs.openvidu.io/en/2.14.0/advanced-features/recording/)

Oh, ok, so everything here is about the dev container.
Very strange issue, then. Where do you get that error message? Can you show the entire terminal when you get the error?

First of all thank you for helping me. I will get back to you the day after tomorrow when I get back to my computer again. But there’s nothing else in the terminal, just that text from my original post. Something wrong with Docker and supervisor?

Yeah, I’m starting to think this is not a problem with OpenVidu Docker container, but with Docker itself. If you have any other information available, post it here.

This problem is still there and like I said, there is nothing else in the terminal beside that error message. All the other Docker containers run without problems.

One other thing I noticed: when I run sudo apt update I get these errors: E: Failed to fetch http://ubuntu.openvidu.io/6.13.2/dists/focal/InRelease 403 Forbidden [IP: 52.218.96.186 80] and
E: The repository 'http://ubuntu.openvidu.io/6.13.2 focal InRelease' is not signed.
Any Idea what these are and what should I do to them?

As KMS is executed dockerized, you can remove ubuntu repositories for Kurento Media Server.

1 Like

i am same issus
VirtualBox:/$ sudo docker run -p 4443:4443 --rm -e OPENVIDU_SECRET=ENTCODE openvidu/openvidu-server-kms:2.14.0

/usr/bin/python: can’t open file ‘/usr/bin/supervisord’: [Errno 13] Permission denied

It seems some problem with Docker installation.