ekondayan / docker-3cx Goto Github PK
View Code? Open in Web Editor NEWRunning 3CX under docker. 3CX is a PBX with video conferencing and live chat functions.
License: MIT License
Running 3CX under docker. 3CX is a PBX with video conferencing and live chat functions.
License: MIT License
Hello I use the docker image farfui/3cx:18.0.8.901 however I have version 18.0.7.312 installed where could be the problem?
Is it possible to bump the version?
Current version seems to be 16.0.7.1078
Hey there & thanks for providing this image.
I'm trying to setup 3CX in my docker setup using the latest tag, but the container constantly restarts. Using the older container works. Here are some details about my setup.
Host OS:
root@docker:~# uname -a
Linux docker 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) x86_64 GNU/Linux
root@docker:~# cat /etc/debian_version
11.0
root@docker:~# docker --version
Docker version 20.10.8, build 3967b7d
setup 3CX container like this:
root@docker:~# docker run -d \
--name=3CX \
--restart=unless-stopped \
-v 3cx_backup:/mnt/backup \
-v 3cx_recordings:/mnt/recordings \
-v 3cx_log:/var/log \
-v /sys/fs/cgroup:/sys/fs/cgroup:ro \
--security-opt apparmor=unconfined \
--cap-add SYS_ADMIN \
--cap-add NET_ADMIN \
--network DockerLab \
--ip 192.168.25.23 \
--hostname phone \
farfui/3cx:18.0.0.1880
After a few minutes, docker still gives me:
root@docker:~# docker exec -ti 3CX /bin/bash
Error response from daemon: Container 07aa350285ab4a0c94a6adb002ec51861031ea3a17dde8567b83bce4d4205cd8 is restarting, wait until the container is running
checking restartCount increased to 25 in the meantime, which means the container is constantly restarting. It never reaches a state where network is activated and the IP is given.
Do you have an idea how to troubleshoot?
Thanks much!
PS: I'm also testing the older release (16.0.6.655) which starts but errors out with the "Failed to connect to bus: No such file or directory" message.
Hi,
I'm trying to restore a backup from 3CX hosted on a windows. apparently the docker image is not on the latest version. here's the error:
The backup version 18.0.9.20 is newer than the PBX version 18.0.8.935. You can restore this backup only with PBX version 18.0.9.20 or newer.
is there a way to resolve this issue?
Hi,
I can't help but notice the http links in the docker file: probably httpS it's available?
... && wget -O- http://downloads.3cx.com/downloads/3cxpbx/public.key | apt-key add - \ && echo "deb http://downloads.3cx.com/downloads...
Best regards
First of all I like the idea of running 3cx in a docker container. Thank for the great work. This is what I did:
Created a macvlan:
-d macvlan
--subnet 192.168.2.0/24
--gateway 192.168.2.254
-o parent=eno1 mv_eno1
Then, used the CLI line to create the container:
docker run
-d
--hostname mousik.my3cx.nl
--ip 192.168.2.1xx
--network mv_eno1
--restart unless-stopped
--security-opt apparmor=unconfined
-v 3cx_backup:/data/3cx/backup
-v 3cx_recordings:/data/3cx/recordings
-v 3cx_log:/data/3cx/log
-v /sys/fs/cgroup:/sys/fs/cgroup:ro
--cap-add SYS_ADMIN
--name 3cx
farfui/3cx:18.0.2.314
Note:
Added the line: --security-opt apparmor=unconfined because apparmor is activated
Removed the lines below, because do not know what to fill in:
--memory {MEMORY}
--memory-swap {SWAP MEMORY}
The image is downloaded en installed. The image is running. But that's it. There are no logfiles in the container. Accessing the container does not work.
Setting the timezone fails because it says: container is starting docker exec 3cx timedatectl set-timezone {YOUR ZONE INFO} 943c560604bf********** is restarting, wait until the container is running,
Looks like the container is restarting (many times)
Do not know if this is a known issue?
Hi @ekondayan ,
First of all, thank you so much for creating this docker image!
I just managed to get it working on Ubuntu but noticed the latest image is 18.0.3.
Is there any chance you could update the image to 18.0.5?
Hey,
Wanted to test out 3cx inside of a docker instead of the VM I currently use. It seems your image is popular but when I'm trying to add the container via unraid I get the the following errors.
`Pulling image: farfui/3cx:latest
TOTAL DATA PULLED: 0 B
Command:
root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='3cx' --net='bridge' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" 'farfui/3cx'
Unable to find image 'farfui/3cx:latest' locally
docker: Error response from daemon: manifest for farfui/3cx:latest not found: manifest unknown: manifest unknown.
See 'docker run --help'.
The command failed.`
Any ideas on this?
When I do docker exec -ti 3cx /usr/sbin/3CXWizard --cleanup
I get this error:
Failed to connect to bus: No such file or directory
Full command output:
Removed /etc/systemd/system/3CXQueueManager01.service.
Removed /etc/systemd/system/3CXCallFlow01.service.
Removed /etc/systemd/system/3CXSystemService01.service.
Removed /etc/systemd/system/3CXEventNotificationManager.service.
Removed /etc/systemd/system/3CXIVR01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXQueueManager01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCallFlow01.service.Removed /etc/systemd/system/multi-user.target.wants/3CXSystemService01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXEventNotificationManager.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXIVR01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystemMC01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystem01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXHotelModule01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXTunnel01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXMediaServer.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCfgServ01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXAudioProvider01.service.
Removed /etc/systemd/system/3CXPhoneSystemMC01.service.
Removed /etc/systemd/system/3CXPhoneSystem01.service.
Removed /etc/systemd/system/3CXHotelModule01.service.
Removed /etc/systemd/system/3CXTunnel01.service.
Removed /etc/systemd/system/3CXMediaServer.service.
Removed /etc/systemd/system/3CXCfgServ01.service.
Removed /etc/systemd/system/3CXAudioProvider01.service.
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
Failed to connect to bus: No such file or directory
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.