Bonjour,
Voici le log de problème au moment de démarrage de openvidu:
./openvidu start
WARNING: The Docker Engine you’re using is running in swarm mode.
Compose does not use swarm mode to deploy services to multiple nodes in a swarm. All containers will be scheduled on the current node.
To deploy your application across the swarm, use docker stack deploy.
WARNING: Found orphan containers (openvidu_kibana_1, openvidu_elasticsearch_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Removing openvidu_openvidu-server_1
Removing openvidu_nginx_1
Recreating 8592edfbcd4d_openvidu_openvidu-server_1 …
Starting openvidu_app_1 …
Starting openvidu_redis_1 …
Recreating 075578689b10_openvidu_nginx_1 …
Starting openvidu_kms_1 … error
Starting openvidu_coturn_1 …
Recreating 8592edfbcd4d_openvidu_openvidu-server_1 … error
ERROR: for openvidu_kms_1 Cannot start service kms: error while creating mount source path ‘/opt/openvidu/recordings’: mkdir /opt/openvidu: read-only file system
ERROR: for 8592edfbcd4d_openvidu_openvidu-server_1 Cannot start service openvidu-server: error while creating mount source path '/opt/openviduStarting openvidu_coturn_1 … done
ERROR: for kms Cannot start service kms: error while creating mount source path ‘/opt/openvidu/recordings’: mkdir /opt/openvidu: read-only file system
ERROR: for nginx Cannot start service nginx: error while creating mount source path ‘/opt/openvidu/custom-layout’: mkdir /opt/openvidu: read-only file system
ERROR: for openvidu-server Cannot start service openvidu-server: error while creating mount source path ‘/opt/openvidu/cdr’: mkdir /opt/openvidu: read-only file system
ERROR: Encountered errors while bringing up the project.
Attaching to openvidu_openvidu-server_1, 8592edfbcd4d_openvidu_openvidu-server_1
8592edfbcd4d_openvidu_openvidu-server_1 exited with code 128
openvidu_openvidu-server_1 exited with code 128
Same think!: there is no warning of swarm, but i still have errors:
Blockquote
root@localhost:/tools/openvidu# ./openvidu start --remove-orphans
WARNING: Found orphan containers (openvidu_elasticsearch_1, openvidu_kibana_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Removing openvidu_openvidu-server_1
Removing openvidu_nginx_1
openvidu_redis_1 is up-to-date
openvidu_coturn_1 is up-to-date
Recreating 8592edfbcd4d_openvidu_openvidu-server_1 …
Starting openvidu_kms_1 …
Starting openvidu_kms_1 … error
openvidu_app_1 is up-to-date
Recreating 8592edfbcd4d_openvidu_openvidu-server_1 … error
ERROR: for openvidu_kms_1 Cannot start service kms: error while creating mount source path ‘/opt/openvidu/recordings’: mkdir /opt/openvidu: read-only file system
**ERROR: for 8592edfbcd4d_openvidu_openvidu-server_1 Cannot start service openvidu-server: error while creating mount source path '/opt/openviduRecreating 075578689b10_openvidu_nginx_1 … error
ERROR: for 075578689b10_openvidu_nginx_1 Cannot start service nginx: error while creating mount source path ‘/tools/openvidu/owncert’: mkdir /tools: read-only file system
ERROR: for kms Cannot start service kms: error while creating mount source path ‘/opt/openvidu/recordings’: mkdir /opt/openvidu: read-only file system
ERROR: for openvidu-server Cannot start service openvidu-server: error while creating mount source path ‘/opt/openvidu/custom-layout’: mkdir /opt/openvidu: read-only file system
ERROR: for nginx Cannot start service nginx: error while creating mount source path ‘/tools/openvidu/owncert’: mkdir /tools: read-only file system ERROR: Encountered errors while bringing up the project. Attaching to openvidu_openvidu-server_1, 8592edfbcd4d_openvidu_openvidu-server_1 openvidu_openvidu-server_1 exited with code 128 8592edfbcd4d_openvidu_openvidu-server_1 exited with code 128
Blockquote
But, i can see there are some docker started:
Blockquote
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 564a23015b87 openvidu/openvidu-call:2.12.0 “/bin/sh -c /usr/loc…” 15 hours ago Up 3 minutes 0.0.0.0:5442->80/tcp openvidu_app_1
78948064e985 redis:5.0.7 “docker-entrypoint.s…” 2 days ago Up 3 minutes openvidu_redis_1
e926f34db4e0 openvidu/openvidu-coturn:1.0.0 “/bin/sh -c /usr/loc…” 2 days ago Up 3 minutes openvidu_coturn_1