FreePBX / sng_freepbx_debian_install

FreePBX 17 Installation Script
109 stars 41 forks source link

Installation Failed at Step "Updating Repository" on Ubuntu Kernel 6.8.0 #115

Closed hetsaraiya closed 1 month ago

hetsaraiya commented 1 month ago

FreePBX Version

FreePBX 17

Issue Description

I encountered an issue while attempting to install FreePBX 17 using the sng_freepbx_debian_install.sh script on an Ubuntu system. The installation process fails at the "Updating repository" step. Below are the details of the error:

sudo bash /tmp/sng_freepbx_debian_install.sh 2024-09-11 12:04:06 - Performing version check... Perfect! You're already running the latest version. 2024-09-11 12:04:06 - Starting installation. 2024-09-11 12:04:06 - Starting FreePBX 17 installation process for ip-172-31-1-238 Linux ip-172-31-1-238 6.8.0-1012-aws #13-Ubuntu SMP Mon Jul 15 13:40:27 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux 2024-09-11 12:04:06 - Please refer to the /var/log/pbx/freepbx17-install-2024.09.11-12.04.06.log to know the process... 2024-09-11 12:04:06 - Making sure installation is sane 2024-09-11 12:04:21 - Setting up default configuration 2024-09-11 12:04:21 - Setting up repositories 2024-09-11 12:04:37 - Setting up Sangoma repository 2024-09-11 12:04:37 - You are installing FreePBX 17 on kernel 6.8.0-1012. 2024-09-11 12:04:37 - Please note that if you have plan to use DAHDI then: 2024-09-11 12:04:37 - Ensure that you either choose DAHDI option so script will configure DAHDI 2024-09-11 12:04:37 - OR 2024-09-11 12:04:37 - Ensure you are running a DAHDI supported Kernel. Current latest supported kernel version is 6.1.0-23. 2024-09-11 12:04:37 - Updating repository 2024-09-11 12:04:39 - Installation failed at step Updating repository. Please check log /var/log/pbx/freepbx17-install-2024.09.11-12.04.06.log for details. 2024-09-11 12:04:39 - Error at line: 753 exiting with code 100 (last command was: apt-get update >> $log) 2024-09-11 12:04:39 - Exiting script

Operating Environment

OS: Ubuntu 24.04 (Kernel 6.8.0-1012) Script Version: sng_freepbx_debian_install.sh (latest) (11th sep 2024)

Relevant log output

sudo bash /tmp/sng_freepbx_debian_install.sh
2024-09-11 12:04:06 - Performing version check...
Perfect! You're already running the latest version.
2024-09-11 12:04:06 - Starting installation.
2024-09-11 12:04:06 -   Starting FreePBX 17 installation process for ip-172-31-1-238 Linux ip-172-31-1-238 6.8.0-1012-aws #13-Ubuntu SMP Mon Jul 15 13:40:27 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
2024-09-11 12:04:06 -   Please refer to the /var/log/pbx/freepbx17-install-2024.09.11-12.04.06.log to know the process...
2024-09-11 12:04:06 - Making sure installation is sane
2024-09-11 12:04:21 - Setting up default configuration
2024-09-11 12:04:21 - Setting up repositories
2024-09-11 12:04:37 - Setting up Sangoma repository
2024-09-11 12:04:37 -  You are installing FreePBX 17 on kernel 6.8.0-1012.
2024-09-11 12:04:37 -  Please note that if you have plan to use DAHDI then:
2024-09-11 12:04:37 -  Ensure that you either choose DAHDI option so script will configure DAHDI
2024-09-11 12:04:37 -                                   OR
2024-09-11 12:04:37 -  Ensure you are running a DAHDI supported Kernel. Current latest supported kernel version is 6.1.0-23.
2024-09-11 12:04:37 - Updating repository
2024-09-11 12:04:39 - Installation failed at step Updating repository. Please check log /var/log/pbx/freepbx17-install-2024.09.11-12.04.06.log for details.
2024-09-11 12:04:39 - Error at line: 753 exiting with code 100 (last command was: apt-get update >> $log)
2024-09-11 12:04:39 - Exiting script
JoseGoncalves commented 1 month ago

In the project's README you have;

This script is to install FreePBX on the top of vanilla Debian 12.x OS.

so, Ubuntu is not supported.

hetsaraiya commented 1 month ago

Sorry and thank you for pointing that out.