Trouble installing vitalpbx v4

Hi,
I’m having trouble installing V4 using the vpbx4-0-1-amd64-netinst.iso posted on the blog.

Upon running install_vitalpbx4, the installation gets blocked with missing packages.

Package php-mysqlnd is a virtual package provided by:
  php8.1-mysql 8.1.10-1+0~20220914.25+debian11~1.gbp7fe5a8
  php7.4-mysql 7.4.30-1+deb11u1
You should explicitly select one to install.

Package php-pdo is a virtual package provided by:
  php8.1-common 8.1.10-1+0~20220914.25+debian11~1.gbp7fe5a8
  php7.4-common 7.4.30-1+deb11u1
You should explicitly select one to install.

E: Package 'php-pdo' has no installation candidate
E: Package 'php-mysqlnd' has no installation candidate

If I use the script debian_vpbx_installer.sh used to install V4 on Raspberry pie and set the missing package to php7.4-pdo and php7.4-mysqlnd or php8.1-pdo and php8.1-mysqlnd, the installation can proceed but it ends with this error message

PHP Fatal error:  The file /usr/share/vitalpbx/scripts/apply_migrations encoded as type [1/74] cannot be decoded by this version of the ionCube Loader.
 in Unknown on line 0
chown: cannot access '/var/lib/vitalpbx/static': No such file or directory
dpkg: error processing package vitalpbx (--configure):
 installed vitalpbx package post-installation script subprocess returned error exit status 1

Can anyone please confirm if they got similar issues and recommend a way how to fix it. thanks in advance

Adding to this…

I am getting the same errors on RPi4 using raspbian 11 (bullseye)

Package php-mysqlnd is a virtual package provided by:
php8.0-mysql 8.0.1-1
php7.4-mysql 7.4.30-1+deb11u1
You should explicitly select one to install.

Package php-pdo is a virtual package provided by:
php8.0-common 8.0.1-1
php7.4-common 7.4.30-1+deb11u1
You should explicitly select one to install.

Package php-ioncube-loader 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 ‘php-pdo’ has no installation candidate
E: Package ‘php-mysqlnd’ has no installation candidate
E: Package ‘php-ioncube-loader’ has no installation candidate

Should be fixed by now. Try again.

1 Like