On Wed, 27 May 2026 at 04:34, Stefan Harbich <[email protected]> wrote:
>
> Hello Marcin,
>
> unfortunately, I am unable to install Bacula on Debian 13 via
> Bacularis. Here is the "raw output attachment" and a picture.

Hello Stefan,

Thanks for your test and outputs. I see what is wrong.

This apt install command requires having Perl in system before it is executed:

sudo DEBIAN_FRONTEND=noninteractive /usr/bin/apt -y install postgresql
postgresql-contrib postgresql-client dbconfig-pgsql bacula-director


This causes that in your environment this Bacula non-interactive
installation fails:

Setting up bacula-director-pgsql (15.0.3-3) ...
dbconfig-common: writing config to
/etc/dbconfig-common/bacula-director-pgsql.conf
Creating config file /etc/dbconfig-common/bacula-director-pgsql.conf
with new version
chown: invalid user: 'postgres'
unable to connect to postgresql server.
error encountered creating user:
runuser: user postgres does not exist or the user entry does not
contain all the required fields
dbconfig-common: bacula-director-pgsql configure: noninteractive fail.
dbconfig-common: bacula-director-pgsql configure: ignoring errors from
here forwards

Before installing Bacula via Bacularis please run:

apt install perl

This should fix all this process.

I added this case to Troubleshooting section that other users could
use it if they encounter this issue:

https://bacularis.app/doc/brief/troubleshooting.html#install-director-step-fails-in-install-bacula-window

For the future, we will add installing it automatically for DEB-based
systems in step before Catalog and Director installation.

Best regards,
Marcin Haba (gani)


_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to