voiceip / oreka

OpenSource G711, G722, G729, Opus & Other Format VoIP SIP Recorder
GNU General Public License v3.0
145 stars 76 forks source link

Container is failing because of the following error. #109

Closed abhi-thummar closed 2 years ago

abhi-thummar commented 2 years ago

ERROR root null - Failed to load the following plugin: /usr/lib/libvoip.so libpcap.so.0.8: cannot open shared object file We cloned the repo. Made the docker image from distribution/docker/Dockerfile.orkaudio path. Tried running the container but it failed. Also we are trying to run this in ec2 instance in aws(ubuntu 20)

orkaudio orkaudio_1

.

kingster commented 2 years ago

Hi @abhi-thummar

Have you made any modifications to the Dockerfile? Our public images are built from that file and doesn't have that libpcap.so.0.8 issue.

The second Connection refused error is expected if you are not running the orktrack service. It says that it was unable to connect to the orktrack service, and hence it will not push any reporting.

abhi-thummar commented 2 years ago

Hey @kingster we haven't made any changes to the docker file which just cloned the repo build the image and tried running the container.

kingster commented 2 years ago

In that case, can you try running with the published images?

Can you run using the following command so that it uses the latest image of the master branch? And see if this works on your system?

docker run -itd --net=host --restart=always --privileged=true -v /var/log/orkaudio:/var/log/orkaudio voiceip/orkaudio:master
abhi-thummar commented 2 years ago

Hey @kingster tried running the container with the image you specified but got the same error for libvoip.so

orecx
kingster commented 2 years ago

Hi @abhi-thummar

Please give voiceip/orkaudio:master a try again. The issue has been fixed in #111

abhi-thummar commented 2 years ago

Hey @kingster we are now able to run orkaudio component by cloning the repo and running the following docker command. docker run -it --net=host --restart=always --privileged=true -v /var/log/orkaudio:/var/log/orkaudio -v /etc/orkaudio:/etc/orkaudio voiceip/orkaudio:latest

Since orktrack and orkweb are not installed the docker container of orkaudio gives the following error Connection refused error(it is because of orktrack not being configured with orkaudio). Can you help us with orktrack and orkweb installation.

We tried running the command in BUILD_C++.txt it give some of the header file missing error which we solved by appropriate commands but this one error doesn't seem to go fatal error: bcg729/encoder.h: No such file or directory

kingster commented 2 years ago

Hi @abhi-thummar

Thats great to hear. Regarding the installation instructions you can follow our installation guide. The binaries are available on our releases section.

To compile the codebase you can follow our wiki , which has instructions on how to install the dependencies which are required like bcg729.

I am going ahead and closing this ticket since this issue is resolved. Please open a new issue if something else doesn't work for you.