- Joined
- Nov 19, 2020
- Messages
- 8
- Reaction score
- 2
Hi all,
I found 3CX and this forum following a YouTube video where the user "NetworkChuck" sets up a phone system on a Pi4. I have a Pi 4 4GB version running the full, desktop version of Raspbian.
I've followed the instructions here but my installation fails. The installation fails when it tries to install nginx.service:
The Pi 4 I'm installing it on runs a PiVPN server currently - there was an instance of PiHole installed, but I've removed that.
Does 3CX need to be the only thing installed on the Pi following a fresh install or is there a problem with the installer? I haven't tried a new install yet to prove this either way. I'm setting this up as a trial, proof of concept thing before I jump into it properly/seriously.
Thanks in advance,
Alun.
I found 3CX and this forum following a YouTube video where the user "NetworkChuck" sets up a phone system on a Pi4. I have a Pi 4 4GB version running the full, desktop version of Raspbian.
I've followed the instructions here but my installation fails. The installation fails when it tries to install nginx.service:
Setting up nginx-full (1.14.2-2+deb10u3) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xe" for details.
invoke-rc.d: initscript nginx, action "start" failed.
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-11-19 12:24:43 GMT; 53ms ago
Docs: man:nginx(8)
Process: 4975 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 4976 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=1/FAILURE)
Nov 19 12:24:41 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Nov 19 12:24:41 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Nov 19 12:24:42 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Nov 19 12:24:42 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Nov 19 12:24:42 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
Nov 19 12:24:42 OfficePiVPN nginx[4976]: nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
Nov 19 12:24:43 OfficePiVPN nginx[4976]: nginx: [emerg] still could not bind()
Nov 19 12:24:43 OfficePiVPN systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Nov 19 12:24:43 OfficePiVPN systemd[1]: nginx.service: Failed with result 'exit-code'.
Nov 19 12:24:43 OfficePiVPN systemd[1]: Failed to start A high performance web server and a reverse proxy server.
dpkg: error processing package nginx-full (--configure):
installed nginx-full package post-installation script subprocess returned error exit status 1
Setting up liblttng-ust-ctl4:armhf (2.10.3-1) ...
Setting up liblttng-ust0:armhf (2.10.3-1) ...
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-full (<< 1.14.2-2+deb10u3.1~) | nginx-light (<< 1.14.2-2+deb10u3.1~) | nginx-extras (<< 1.14.2-2+deb10u3.1~); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-full (>= 1.14.2-2+deb10u3) | nginx-light (>= 1.14.2-2+deb10u3) | nginx-extras (>= 1.14.2-2+deb10u3); however:
Package nginx-full is not configured yet.
Package nginx-light is not installed.
Package nginx-extras is not installed.
dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of 3cxpbx:
3cxpbx depends on nginx; however:
Package nginx is not configured yet.
Package nginx-full which provides nginx is not configured yet.
dpkg: error processing package 3cxpbx (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u4+rpi1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for libc-bin (2.28-10+rpi1) ...
Errors were encountered while processing:
nginx-full
nginx
3cxpbx
E: Sub-process /usr/bin/dpkg returned an error code (1)
The Pi 4 I'm installing it on runs a PiVPN server currently - there was an instance of PiHole installed, but I've removed that.
Does 3CX need to be the only thing installed on the Pi following a fresh install or is there a problem with the installer? I haven't tried a new install yet to prove this either way. I'm setting this up as a trial, proof of concept thing before I jump into it properly/seriously.
Thanks in advance,
Alun.