FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
100 stars 35 forks source link

install FREEPBX 17 on Debian 12 #69

Closed rodraen closed 2 months ago

rodraen commented 2 months ago

FreePBX Version

FreePBX 17

Issue Description

Hello! After following the instructions to install FreePBX 17, I get an error as shown in the log.

`

cd /tmp

wget https://raw.githubusercontent.com/FreePBX/sng_freepbx_debian_install/master/sng_freepbx_debian_install.sh

chmod +x sng_freepbx_debian_install.sh

./sng_freepbx_debian_install.sh`

Operating Environment

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12"

Linux term 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux

Relevant log output

2067/2067              100%

2024-07-25 18:32:26 - Starting installation.
2024-07-25 18:32:26 -   Starting FreePBX 17 installation process for term Linux term 6.1.0-23-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.99-1 (2024-07-15) x86_64 GNU/Linux
2024-07-25 18:32:26 -   Please refer to the /var/log/pbx/freepbx17-install-2024.07.25-18.32.26.log to know the process...
2024-07-25 18:32:26 -   Executing script v1.5 ...
2024-07-25 18:32:26 - Making sure installation is same

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.
2024-07-25 18:32:31 - Setting up default configuration
2024-07-25 18:32:32 - ###############################
2024-07-25 18:32:32 - software-properties-common already present ....
2024-07-25 18:32:32 - ###############################
2024-07-25 18:32:32 - ###############################
2024-07-25 18:32:32 - gnupg already present ....
2024-07-25 18:32:32 - ###############################
2024-07-25 18:32:32 - Setting up repositories
--2024-07-25 18:32:32--  https://packages.sury.org/php/apt.gpg
Resolving packages.sury.org (packages.sury.org)... 93.189.63.149
Connecting to packages.sury.org (packages.sury.org)|93.189.63.149|:443... connected.
HTTP request sent, awaiting response... 451
2024-07-25 18:32:32 ERROR 451: (no description).

2024-07-25 18:32:32 - Exiting script
kguptasangoma commented 2 months ago

looks like you have problem in fetching GPG key from the PHP repo.

Try manually wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg

kguptasangoma commented 2 months ago

Closing as no response, please let us know if you need anything else from our side. thanks

rodraen commented 2 months ago

This solution did not work. ok, I will install freepbx 16. thanks.

kguptasangoma commented 2 months ago

can you please check why you are not able to connect to that php repo ? @rodraen

Try manually wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg