Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

Can't seem to locate /usr/sbin/fwconsole #109

Open
rahulosp opened this issue Nov 19, 2019 · 7 comments
Open

Can't seem to locate /usr/sbin/fwconsole #109

rahulosp opened this issue Nov 19, 2019 · 7 comments

Comments

@rahulosp
Copy link

Hi,
I am using the latest image published on https://hub.docker.com/r/tiredofit/freepbx.
The image is giving this error. Is there a way to resolve this. Fairly new user for asterisk, please guide.

Regards
Rahul

@micheild
Copy link

Hi, I'm running windows 10 and am having the same issue above and referred to in the closed issue #77. After running in debug mode it appears to be a problem with the GPG key. Is there any kind of workaround you could suggest? Thanks.

freepbx-app | + silent sudo -u asterisk gpg --refresh-keys --keyserver hkp://keyserver.ubuntu.com:80
freepbx-app | + '[' TRUE = TRUE ']'
freepbx-app | + sudo -u asterisk gpg --refresh-keys --keyserver hkp://keyserver.ubuntu.com:80
freepbx-app | gpg: WARNING: unsafe ownership on homedir '/home/asterisk/.gnupg'
freepbx-app | gpg: connecting dirmngr at '/home/asterisk/.gnupg/S.dirmngr' failed: IPC connect call failed
freepbx-app | gpg: keyserver refresh failed: No dirmngr
freepbx-app | + silent sudo -u asterisk gpg --import /usr/src/freepbx/amp_conf/htdocs/admin/libraries/BMO/9F9169F4B33B4659.key
freepbx-app | + '[' TRUE = TRUE ']'
freepbx-app | + sudo -u asterisk gpg --import /usr/src/freepbx/amp_conf/htdocs/admin/libraries/BMO/9F9169F4B33B4659.key
freepbx-app | gpg: WARNING: unsafe ownership on homedir '/home/asterisk/.gnupg'
freepbx-app | gpg: key 9F9169F4B33B4659: 1 signature not checked due to a missing key
freepbx-app | gpg: key 9F9169F4B33B4659: "FreePBX Module Signing (This is the master key to sign FreePBX Modules) modules@freepbx.org" not changed
freepbx-app | gpg: Total number processed: 1
freepbx-app | gpg: unchanged: 1
freepbx-app | + silent sudo -u asterisk gpg --import /usr/src/freepbx/amp_conf/htdocs/admin/libraries/BMO/3DDB2122FE6D84F7.key
freepbx-app | + '[' TRUE = TRUE ']'
freepbx-app | + sudo -u asterisk gpg --import /usr/src/freepbx/amp_conf/htdocs/admin/libraries/BMO/3DDB2122FE6D84F7.key
freepbx-app | gpg: WARNING: unsafe ownership on homedir '/home/asterisk/.gnupg'
freepbx-app | gpg: key 3DDB2122FE6D84F7: "FreePBX Mirror 1 (Module Signing - 2016/2017) security@freepbx.org" not changed
freepbx-app | gpg: Total number processed: 1

@micheild
Copy link

root@baa654efd73f:/# gpg --help |head -n1
gpg (GnuPG) 2.1.18
root@baa654efd73f:/#

@hankjordan
Copy link

I'm still able to reproduce this bug - this is an issue with how Docker on Windows clobbers file system permissions. With the default docker compose configuration, /home/asterisk is mounted on /data which is then mounted to the host. The DB settings referenced in the mentioned issue A75G/docker-templates#30 have nothing to do with this.

@stSaHiB
Copy link

stSaHiB commented Sep 19, 2021

problem is still here.
Got a Windows2019 server, running tiredofit/freepbx docker image.
error happens when I bind folders to host folders:

volumes:
  - ./certs:/certs
  - ./data:/data
  - ./logs:/var/log
  - ./html:/var/www/html

If I let docker take care about the volumes, everything is fine:

    volumes:
      - certs:/certs
      - data:/data
      - logs:/var/log
      - www:/var/www/html
volumes:
  certs:
  data:
  logs:
  www:

@Wirrkopf76
Copy link

I have the same issue when I try to run the image in an Azure Container Instance. It works fine when I don't specify volumes, but as soon as I mount Azure File Shares as Volumes inside the Container the error occurs.

@galaxyware241
Copy link

the issue is inherent in the way docker interact with windows. you have to use either WSL2 or just limit what is exposed to the windows. i granularly exposed just specific folders to the windows and it works on Windows 2019 without WSL
something like this :
- ./data/etc/asterisk:/data/etc/asterisk
- ./data/var/spool:/data/var/spool

@denysonique
Copy link

I am getting the same issue on Ubuntu 22.04LTS

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants