Comments (11)
Thank you @JoyceBabu
from docker-freepbx.
I've just done a manual build locally for both tag :latest
and 2.7
. Enjoy!
from docker-freepbx.
So close! Since you are running DB_EMBEDDED=TRUE add this to your volumes:
-v ./docker/freepbx/db:/var/lib/mysql
Let me know..
from docker-freepbx.
from docker-freepbx.
I'll try to see whats happening here on a local temporary install. I'm using this with the DB seperated as per the docker-compose file in examples
. My only guess right now is that with the "Default" FreePBX install it autogenerates some random passwords for Root and for the Asterisk database, and they are not being saved properly in the configuration files. There have been other reports of this but I've not had much time to dig in deeper. I'll give it one more kick at the can over the weekend, and may end up just ripping the embedded routines out if I can't figure it out
from docker-freepbx.
from docker-freepbx.
OK Great! Just take a peek in the examples folder of this git repo for the docker-compose.yml file.
https://github.com/tiredofit/docker-freepbx/blob/master/examples/docker-compose.yml
That's pretty much a turnkey solution that's going to get you going immediately with the database seperated and also provide automated db backups for you.
Now, it's based on you using a reverse proxy, but you don't need to use one, as a quick starter just type docker network create nginx-proxy
and uncomment the # - 80:80 in the ports definition to see it working and be able to persist upon bringing the container up and down.
it should be as simple as moving that docker-compose.yml file into the directory where you want to store your files and typing docker-compose up -d.
Let me know how you make out.
from docker-freepbx.
@tiredofit I did what you mentioned but I got the following error
2018-09-25 13:09:05 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
2018-09-25 13:09:05 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2018-09-25 13:09:05 0 [Note] InnoDB: Starting shutdown...
it seems that the DB can't start
BTW, I'm running it on my mac
from docker-freepbx.
I think I found out why the database is being wiped out after every restart.
https://github.com/tiredofit/docker-freepbx/blob/master/install/etc/cont-init.d/09-mariadb#L14
You are using -f
for checking the presence of /var/lib/mysql/mysql
. Since the above path is a directory, it is always matching. You should either use -e
or -d
.
from docker-freepbx.
The docker hub automated build timed out. Can you please check?
from docker-freepbx.
Very odd, still timing out for me. I'll give it a few more hours and then build myself and see if I can sneak one in manually.
from docker-freepbx.
Related Issues (20)
- msmtp bug / Error code 220 "with message" HOT 4
- Is activating a PBXact license possible?
- Chaging the default database password
- First setup: many GPG errors and others 🤔 HOT 1
- Asterisk constantly crashes causing "Error communicating with Asterisk" & "Can't seem to locate /usr/sbin/fwconsole" errors during setup HOT 3
- Unable to apply config from web ui again in latest update && Bug with Node 12 and ucp!!!
- Is project alive? HOT 3
- Unable to apply config from UI since last two updates!!! HOT 2
- Use DAHDI drivers with FreePBX in Docker
- Unable to apply HOT 13
- Image on Docker Hub don't seem to work HOT 2
- Using Traefik in a different Docker Container HOT 2
- > [3/3] ADD install /:
- Registering with Sangoma
- Portainer Stack ? HOT 4
- Free PBX error in apache logs
- Can't launch tiredofit/freepbx:14
- "Invalid Database Permissions. The error was: SQLSTATE[HY000] [2002] Connection timed out" and "[ERROR] /etc/cont-init.d/10-freepbx ** [freepbx] Can't seem to locate /usr/sbin/fwconsole.. exiting" HOT 1
- Error when specifying a non-standard port in K8S
- How do set up a Docker container with the 'tiredofit/freepbx' image to establish a WebSocket connection using SIP.js?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-freepbx.