Giter VIP home page Giter VIP logo

"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" about docker-freepbx HOT 1 OPEN

megapearl avatar megapearl commented on June 15, 2024
"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"

from docker-freepbx.

Comments (1)

HermesHonshappo avatar HermesHonshappo commented on June 15, 2024

Heya
I've been struggling to install, and got the same fwconsole error
That's how I ended up here

So far here's what I found out

  • it seems tat many processes are running with uid.gid of 2600.
  • when I create bind volumes, it seems I always have a permission error somewhere in the volume mounted. Probably because 2600 is not a UID that exists in the docker host system (a synology NAS)
  • it seems to work when I create a mount volume, using --volume freepbx-data:/data
  • a docker run with just this parameter changed to --volume /synologydisk1/docker/freepbx/data:/data results in the failures you describe with a "[freepbx] Can't seem to locate /usr/sbin/fwconsole.. exiting"
[INFO] ** [freepbx] New install detected - please wait while we fetch FreePBX - will take up to 30 minutes!
[NOTICE] ** [freepbx] Starting Asterisk 17.9.3 for the first time
[NOTICE] ** [freepbx] Installing FreePBX 15.0.16.56 source code
[ERROR] ** [freepbx] Can't seem to locate /usr/sbin/fwconsole.. exiting
[cont-init.d] 10-freepbx: exited 1.
[cont-init.d] 15-socat: executing... 
[cont-init.d] 15-socat: exited 0.
[cont-init.d] 99-container: executing... 
**********************************************************************************************************************
**********************************************************************************************************************
****                                                                                                              ****
****       ERROR - Some initialization scripts haven't completed - All services are now halted                    ****
****             - The following scripts in '/etc/cont-init.d' did not pass their completion check                ****
****                                                                                                              ****
**********************************************************************************************************************
**********************************************************************************************************************

10-freepbx
  • I am now fiddling around to find a way to make it read properly the SSL certificates which are generated by acme.sh on the host, and are sitting in a specific directory mounted. Currently trying with this in the docker run:
  --volume freepbx-data:/data \
  --volume /synologydisk1/docker/freepbx/certs:/certs \

EDIT: yep that part works.

Not sure if that helps, but it seems easier to setup using a mount volume, avoiding potential permission errors.

from docker-freepbx.

Related Issues (20)

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.