Code Monkey home page Code Monkey logo

docker-3cx's People

Contributors

alexismdr avatar ekondayan avatar mohlek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

docker-3cx's Issues

Bump version

Is it possible to bump the version?

Current version seems to be 16.0.7.1078

18.0.0.1880 container constantly restarts

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.

Backup/Restore Version mismatch

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?

httpS links in docker file

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

farfui/3cx does not start

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?

Update 3cx version

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?

pulling image into unraid - can't download image.

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?

docker exec -ti 3cx /usr/sbin/3CXWizard --cleanup

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.