Closed spudgun1001 closed 2 weeks ago
@spudgun1001 if you just get start to using libresbc or don't know how to setup libresbc with docker properly, please use docker-compose.yml
I have installed docker, I have put the docker-compose.yml file and ran the compose file.
I am encountered with this error. What have I missed?
I have installed docker, I have put the docker-compose.yml file and ran the compose file.
I am encountered with this error. What have I missed?
Figured it out, you need to extract the files into the container and then "docker compose up"
I am using the latest version of Docker and Ubuntu 20.04.
I have installed the libreSBC Docker image and I have ran docker compose.
When I try and run the docker, I get this error.
root@sbc:~/libresbc/build/docker# docker run hnimminh/libresbc Traceback (most recent call last): File "/opt/libresbc/liberator/main.py", line 13, in
from configuration import REDIS_HOST, REDIS_PORT, REDIS_PASSWORD, REDIS_DB, NODEID, HTTPCDR_ENDPOINTS, DISKCDR_ENABLE, CDRFNAME_INTERVAL, CDRFNAME_FMT
File "/opt/libresbc/liberator/configuration.py", line 103, in
NODEID_CHANNEL = f'{NODEID.upper()}_CHANNEL'
AttributeError: 'NoneType' object has no attribute 'upper'
I cannot seem to find where these files are located, as /opt does not contain a libresbc folder so I am unsure where it is getting these directories.