Missing dependencies

Please note that when installing VitalPBX 4 on Debian, I found that the following packages (for certain functions) were not picked up as dependencies and installed:

  1. certbot - Required for Let’s Encrypt certs. Fixed by running sudo apt install certbot
  2. postfix - Required to configure email notifications. Fixed by running sudo apt install postfix

With postfix, having it installed removes an error where the email settings can’t be applied. However, the default Debian postfix settings seem to still generate an error:

" Fatal error: Uncaught Error: Typed property app\Email::$_from_name must not be accessed before initialization in /usr/share/vitalpbx"

If I work out the postfix config to make it work, I’ll update this.

1 Like

As mentioned above, the fix for Let’s Encrypt is: sudo apt install certbot.

For email I needed to run sudo apt install postfix, then set the Email Settings from the GUI and finally add the following to /etc/postfix/main.cf

daemon_directory = /usr/lib/postfix/sbin

This removes a fatal error in the mail logs relating to /usr/libexec/postfix.

The VitalPBX error above when testing email from the Email Settings screen remains, however testing from the console and sending previews from the Email Templates screen work fine.

1 Like