Hi all,
Trying to walk away from another solution, and just found out about VitalPBX.
I installed a new Debian 12 at Digital Ocean. Ran the install script right away, and it ended up with errors. Anyone has a hint on how to freshly install VitalPBX on Digital Ocean droplets?
Thank you
-
Update after setup VPBX Repo... *
Get:1 file:/etc/apt/mirrors/debian.list Mirrorlist [39 B]
Get:5 file:/etc/apt/mirrors/debian-security.list Mirrorlist [27 B]
Hit:7 https://repos-droplet.digitalocean.com/apt/droplet-agent main InRelease
Hit:6 http://security.debian.org bookworm-security InRelease
Hit:2 Index of /debian/ bookworm InRelease
Hit:3 Index of /debian/ bookworm-updates InRelease
Hit:4 Index of /debian/ bookworm-backports InRelease
Hit:8 Index of /vitalpbx/v4.5/apt/audios stable InRelease
Hit:9 Index of /vitalpbx/v4.5/apt/base stable InRelease
Hit:10 Index of /vitalpbx/v4.5/apt/core stable InRelease
Hit:11 Index of /vitalpbx/v4.5/apt/extras stable InRelease
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
All packages are up to date.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-
Installing dependencies... *
-
Web Pabackages & MariaDB... *
-
Installing MariaDB, apache2 and php 8 *
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Package php8.1-fpm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘php8.1-fpm’ has no installation candidate
-
Configuring Apache... *
./install_vpbx4.sh: line 76: a2dismod: command not found
./install_vpbx4.sh: line 77: a2enconf: command not found
./install_vpbx4.sh: line 78: a2enmod: command not found
./install_vpbx4.sh: line 79: a2enmod: command not found
./install_vpbx4.sh: line 80: a2enmod: command not found
./install_vpbx4.sh: line 81: a2enmod: command not found
./install_vpbx4.sh: line 82: a2enmod: command not found
-
Enabling HTTP/2 support for Apache... *
./install_vpbx4.sh: line 87: a2dismod: command not found
./install_vpbx4.sh: line 88: a2enmod: command not found
./install_vpbx4.sh: line 89: a2enmod: command not found
./install_vpbx4.sh: line 90: a2enmod: command not found
-
Starting & Enabling Services... *
Failed to enable unit: Unit file mariadb.service does not exist.
Failed to restart mariadb.service: Unit mariadb.service not found.
Failed to enable unit: Unit file apache2.service does not exist.
Failed to restart apache2.service: Unit apache2.service not found.
-
Installing VitalPBX packages and Firewall... *
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
iptables is already the newest version (1.8.9-2).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
exim4-config : Conflicts: postfix but 3.7.11-0+deb12u1 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
-
Configuring Firewall... *
sed: can’t read /etc/firewalld/firewalld.conf: No such file or directory
update-alternatives: using /usr/sbin/iptables-legacy to provide /usr/sbin/iptables (iptables) in manual mode
update-alternatives: using /usr/sbin/ip6tables-legacy to provide /usr/sbin/ip6tables (ip6tables) in manual mode
Failed to enable unit: Unit file firewalld.service does not exist.
Failed to enable unit: Unit file fail2ban.service does not exist.
-
Set Permissions *
chown: invalid user: ‘asterisk.asterisk’
chown: cannot access ‘/etc/asterisk/vitalpbx’: No such file or directory
-
Running the initial setup... *
Failed to enable unit: Unit file vpbx-setup.service does not exist.
rm: cannot remove ‘/etc/profile.d/install_vpbx4.sh’: No such file or directory
-
Rebooting the System... *