View Issue Details

IDProjectCategoryView StatusLast Update
0001510bareos-coreGeneralpublic2023-01-24 09:43
Reportermarcati Assigned To 
PrioritylowSeverityblockReproducibilityalways
Status newResolutionopen 
OSDebianOS Version11 
Product Version22.0.0 
Summary0001510: Trying to install version 22.0.2 on raspbian 11
DescriptionWhen I try to install bareos it gives the error:
E: Unable to locate package bareos

But I performed the configuration of the dependency:
# cat /etc/apt/sources.list.d/bareos.sources
Types: deb deb-src
URIs: https://download.bareos.org/current/Debian_11
Suites: /
Architectures: amd64
Signed-By: /etc/apt/keyrings/bareos-experimental.gpg
Steps To Reproduceapt install bareos
Additional InformationWhen I list the packages with name bareos*, I only have bareos-webui the return

# apt show bareos*
Package: bareos-webui
Version: 22.0.2~pre-11
Priority: optional
Section: admin
Source: bareos
Maintainer: Joerg Steffens <joerg.steffens@bareos.com>
Installed-Size: 23.5 MB
Depends: apache2 | httpd, libapache2-mod-fcgid, php-fpm (>= 7.0), php-date, php-intl, php-json, php-curl
Homepage: http://www.bareos.org/
Download-Size: 4,102 kB
APT-Manual-Installed: yes
APT-Sources: https://download.bareos.org/current/Debian_11 Packages
Description: Backup Archiving Recovery Open Sourced - webui
 This package contains the Bareos WebUI.

#


When I run apt search bareos* the return is different:


# apt search bareos*
Sorting... Done
Full Text Search... Done
bareos/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - metapackage

bareos-bconsole/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - text console

bareos-client/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - client metapackage

bareos-common/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - common files

bareos-contrib-director-python-plugins/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - contributed Director plugins

bareos-contrib-filedaemon-python-plugins/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - contributed File Daemon plugins

bareos-contrib-tools/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - contributed tools

bareos-database-common/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - common catalog files

bareos-database-postgresql/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - PostgreSQL backend

bareos-database-tools/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - database tools

bareos-dbg/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - debugging symbols

bareos-director/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - director daemon

bareos-director-python-plugins-common/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - director Python plugin common files

bareos-director-python2-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - director Python plugin

bareos-director-python3-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - director Python plugin

bareos-filedaemon/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon

bareos-filedaemon-ldap-python-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon LDAP plugin

bareos-filedaemon-libcloud-python-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Apache Libcloud plugin

bareos-filedaemon-mariabackup-python-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Mariabackup plugin

bareos-filedaemon-percona-xtrabackup-python-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Percona XtraBackup plugin

bareos-filedaemon-postgresql-python-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon PostgreSQL plugin

bareos-filedaemon-python-plugins-common/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Python plugin common files

bareos-filedaemon-python2-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Python plugin

bareos-filedaemon-python3-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - file daemon Python plugin

bareos-storage/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon

bareos-storage-droplet/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon droplet backend

bareos-storage-fifo/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon FIFO backend

bareos-storage-python-plugins-common/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon Python plugin common files

bareos-storage-python2-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon Python plugin

bareos-storage-python3-plugin/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon Python plugin

bareos-storage-tape/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - storage daemon tape support

bareos-tools/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - common tools

bareos-traymonitor/unknown 22.0.2~pre-11 amd64
  Backup Archiving Recovery Open Sourced - tray monitor

bareos-vadp-dumper/unknown 22.0.2~pre-11 amd64
  vStorage APIs for Data Protection Dumper program

bareos-vmware-plugin/unknown 22.0.2~pre-11 amd64
  Bareos VMware plugin

bareos-vmware-vix-disklib/unknown 8.0.0-20521017 amd64
  VMware vix disklib distributable libraries

bareos-webui/unknown,now 22.0.2~pre-11 all [installed]
  Backup Archiving Recovery Open Sourced - webui

python-bareos/unknown 22.0.2~pre-11 all
  Backup Archiving REcovery Open Sourced - python module (Python 2)

python3-bareos/unknown 22.0.2~pre-11 all
  Backup Archiving REcovery Open Sourced - python module (Python 3)

#
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

bruno-at-bareos

bruno-at-bareos

2023-01-23 13:50

developer   ~0004864

You maybe should simply use our script helper that will do the preparation (repo definition, keys and so on) for you

https://download.bareos.org/current/Debian_11/add_bareos_repositories.sh

bash add_bareos_repositories.sh
apt install bareos
marcati

marcati

2023-01-23 14:16

reporter   ~0004865

Yes I used it.

As for knowledge, I managed using the same technique but changing to debian 10, all ok
Something wrong with the script for debian 11?
marcati

marcati

2023-01-23 14:24

reporter   ~0004866

Oops, sorry , he got the stable version (16) in Debian repository, same problem with debian 10 here, even using the script add_bareos_repositories.sh
bruno-at-bareos

bruno-at-bareos

2023-01-23 14:30

developer   ~0004867

Nope the script is running very well here. Sorry for that.

root@ddf2b372798d:/# curl -o add_bareos_repositories.sh https://download.bareos.org/current/Debian_11/add_bareos_repositories.sh
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
100 2846 100 2846 0 0 19763 0 --:--:-- --:--:-- --:--:-- 19763
root@ddf2b372798d:/# bash add_bareos_repositories.sh
Repository https://download.bareos.org/current/Debian_11 successfully added.

root@ddf2b372798d:/# apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Get:4 https://download.bareos.org/current/Debian_11 InRelease [1865 B]
Get:5 https://download.bareos.org/current/Debian_11 Sources [2148 B]
Get:6 https://download.bareos.org/current/Debian_11 Packages [8432 B]
Fetched 12.4 kB in 1s (18.4 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.

root@ddf2b372798d:/# apt -V install bareos
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
   bareos-bconsole (22.0.2~pre-11)
   bareos-client (22.0.2~pre-11)
   bareos-common (22.0.2~pre-11)
   bareos-database-common (22.0.2~pre-11)
   bareos-database-postgresql (22.0.2~pre-11)
   bareos-database-tools (22.0.2~pre-11)
   bareos-director (22.0.2~pre-11)
   bareos-filedaemon (22.0.2~pre-11)
   bareos-storage (22.0.2~pre-11)
   bareos-tools (22.0.2~pre-11)
   dbconfig-common (2.0.19)
   dbconfig-pgsql (2.0.19)
Suggested packages:
   bareos-traymonitor (22.0.2~pre-11)
The following NEW packages will be installed:
   bareos (22.0.2~pre-11)
   bareos-bconsole (22.0.2~pre-11)
   bareos-client (22.0.2~pre-11)
   bareos-common (22.0.2~pre-11)
   bareos-database-common (22.0.2~pre-11)
   bareos-database-postgresql (22.0.2~pre-11)
   bareos-database-tools (22.0.2~pre-11)
   bareos-director (22.0.2~pre-11)
   bareos-filedaemon (22.0.2~pre-11)
   bareos-storage (22.0.2~pre-11)
   bareos-tools (22.0.2~pre-11)
   dbconfig-common (2.0.19)
   dbconfig-pgsql (2.0.19)
0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded.
Need to get 3399 kB of archives.
After this operation, 13.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://deb.debian.org/debian bullseye/main amd64 dbconfig-common all 2.0.19 [609 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 dbconfig-pgsql all 2.0.19 [1068 B]
Get:3 https://download.bareos.org/current/Debian_11 bareos-common 22.0.2~pre-11 [875 kB]
Get:4 https://download.bareos.org/current/Debian_11 bareos-bconsole 22.0.2~pre-11 [150 kB]
Get:5 https://download.bareos.org/current/Debian_11 bareos-database-postgresql 22.0.2~pre-11 [57.8 kB]
Get:6 https://download.bareos.org/current/Debian_11 bareos-database-common 22.0.2~pre-11 [102 kB]
Get:7 https://download.bareos.org/current/Debian_11 bareos-database-tools 22.0.2~pre-11 [247 kB]
Get:8 https://download.bareos.org/current/Debian_11 bareos-director 22.0.2~pre-11 [512 kB]
Get:9 https://download.bareos.org/current/Debian_11 bareos-filedaemon 22.0.2~pre-11 [225 kB]
Get:10 https://download.bareos.org/current/Debian_11 bareos-storage 22.0.2~pre-11 [212 kB]
Get:11 https://download.bareos.org/current/Debian_11 bareos-tools 22.0.2~pre-11 [353 kB]
Get:12 https://download.bareos.org/current/Debian_11 bareos-client 22.0.2~pre-11 [27.8 kB]
Get:13 https://download.bareos.org/current/Debian_11 bareos 22.0.2~pre-11 [28.0 kB]
Fetched 3399 kB in 1s (6283 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package bareos-common.
(Reading database ... 58125 files and directories currently installed.)
Preparing to unpack .../00-bareos-common_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-common (22.0.2~pre-11) ...
Selecting previously unselected package bareos-bconsole.
Preparing to unpack .../01-bareos-bconsole_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-bconsole (22.0.2~pre-11) ...
Selecting previously unselected package dbconfig-common.
Preparing to unpack .../02-dbconfig-common_2.0.19_all.deb ...
Unpacking dbconfig-common (2.0.19) ...
Selecting previously unselected package dbconfig-pgsql.
Preparing to unpack .../03-dbconfig-pgsql_2.0.19_all.deb ...
Unpacking dbconfig-pgsql (2.0.19) ...
Selecting previously unselected package bareos-database-postgresql.
Preparing to unpack .../04-bareos-database-postgresql_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-database-postgresql (22.0.2~pre-11) ...
Selecting previously unselected package bareos-database-common.
Preparing to unpack .../05-bareos-database-common_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-database-common (22.0.2~pre-11) ...
Selecting previously unselected package bareos-database-tools.
Preparing to unpack .../06-bareos-database-tools_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-database-tools (22.0.2~pre-11) ...
Selecting previously unselected package bareos-director.
Preparing to unpack .../07-bareos-director_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-director (22.0.2~pre-11) ...
Selecting previously unselected package bareos-filedaemon.
Preparing to unpack .../08-bareos-filedaemon_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-filedaemon (22.0.2~pre-11) ...
Selecting previously unselected package bareos-storage.
Preparing to unpack .../09-bareos-storage_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-storage (22.0.2~pre-11) ...
Selecting previously unselected package bareos-tools.
Preparing to unpack .../10-bareos-tools_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-tools (22.0.2~pre-11) ...
Selecting previously unselected package bareos-client.
Preparing to unpack .../11-bareos-client_22.0.2~pre-11_amd64.deb ...
Unpacking bareos-client (22.0.2~pre-11) ...
Selecting previously unselected package bareos.
Preparing to unpack .../12-bareos_22.0.2~pre-11_amd64.deb ...
Unpacking bareos (22.0.2~pre-11) ...
Setting up bareos-common (22.0.2~pre-11) ...
Setting up dbconfig-common (2.0.19) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline

Creating config file /etc/dbconfig-common/config with new version
Setting up bareos-filedaemon (22.0.2~pre-11) ...
  Name = XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX-fd
grep: XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX' with 'ddf2b372798d' in /etc/bareos/bareos-fd.d/client/myself.conf
  Password = "XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX' with 'iYbq9I/u4oI4odVDhNdGlHH774+P/oZ0fLea0e7TKj0v' in /etc/bareos/bareos-fd.d/director/bareos-dir.conf
  Password = "XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_CLIENT_MONITOR_PASSWORD_XXX' with 'cdf3v1W+p/hCK+3fW9h6rYEPYfQXqT5bK6Mb+9Zo3krB' in /etc/bareos/bareos-fd.d/director/bareos-mon.conf
Created symlink /etc/systemd/system/bareos-fd.service → /lib/systemd/system/bareos-filedaemon.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-filedaemon.service → /lib/systemd/system/bareos-filedaemon.service.
Setting up bareos-tools (22.0.2~pre-11) ...
Setting up bareos-storage (22.0.2~pre-11) ...
  Password = "XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX' with 'adZw+WMvQfVXzIt3gkV+TVl9Ar5XbUe/lRtfICfmh8df' in /etc/bareos/bareos-sd.d/director/bareos-dir.conf
  Password = "XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_STORAGE_MONITOR_PASSWORD_XXX' with 'hfLAzBtuKJRD6vLaSEs6nTsK1SCNYZn5EYwbAMZoVnlU' in /etc/bareos/bareos-sd.d/director/bareos-mon.conf
/usr/lib/bareos/scripts/bareos-config: 370: usermod -G bareos,tape,disk: not found
Warning: failed: usermod -G bareos,tape,disk bareos
Created symlink /etc/systemd/system/bareos-sd.service → /lib/systemd/system/bareos-storage.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-storage.service → /lib/systemd/system/bareos-storage.service.
Setting up bareos-bconsole (22.0.2~pre-11) ...
  Password = "XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX' with 'NyQw+dC+zgoCK6tt80cOqpjGaG7ubs61GLcWcLABdZvQ' in /etc/bareos/bconsole.conf
Setting up bareos-client (22.0.2~pre-11) ...
Setting up dbconfig-pgsql (2.0.19) ...
Setting up bareos-database-postgresql (22.0.2~pre-11) ...
Setting up bareos-database-common (22.0.2~pre-11) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.)
debconf: falling back to frontend: Readline
(config) dbc_go() bareos-database-common configure.
dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
dbc_read_package_config() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
settings determined from dbc_read_package_debconf:.
        dbc_install=true.
        dbc_upgrade=true.
        dbc_remove=true.
        dbc_dbtype=pgsql.
        dbc_dbuser=.
        dbc_dbpass=.
        dbc_dballow=.
        dbc_dbadmin=postgres.
        dbc_dbadmpass=.
        dbc_dbserver=localhost.
        dbc_dbport=.
        dbc_dbname=.
        dbc_authmethod_admin=ident.
        dbc_authmethod_user=password.
        dbc_ssl=.
dbc_preseed_package_debconf() .
Configuring bareos-database-common
----------------------------------

The bareos-database-common package must have a database installed and configured before it can be used. This can be optionally handled with dbconfig-common.

If you are an advanced database administrator and know that you want to perform this configuration manually, or if your database has already been installed and configured, you should refuse this option. Details on
what needs to be done should most likely be provided in /usr/share/doc/bareos-database-common.

Otherwise, you should probably choose this option.

Configure database for bareos-database-common with dbconfig-common? [yes/no] yes

dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() pgsql.
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
dbc_register_debconf() .
Please select the remote hostname to use, or select "new host" to enter a new host.

  1. new host 2. localhost
Host name of the PostgreSQL database server for bareos-database-common: 2

dbc_get_app_pass() .
Please provide a password for bareos-database-common to register with the database server. If left blank, a random password will be generated.

If you are using "ident" authentication, the supplied password will not be used and can be left blank. Otherwise, PostgreSQL access may need to be reconfigured to allow password-authenticated access.

PostgreSQL application password for bareos-database-common:

(postinst) dbc_go() bareos-database-common configure.
dbc_config() bareos-database-common configure.
dbc_set_dbtype_defaults() .
dbc_read_package_debconf() .
dbc_set_dbtype_defaults() pgsql.
settings determined from dbc_read_package_debconf:.
        dbc_install=true.
        dbc_upgrade=true.
        dbc_remove=true.
        dbc_dbtype=pgsql.
        dbc_dbuser=bareos.
        dbc_dbpass=UgR0xbNKSVVf.
        dbc_dballow=localhost.
        dbc_dbadmin=postgres.
        dbc_dbadmpass=.
        dbc_dbserver=localhost.
        dbc_dbport=.
        dbc_dbname=bareos.
        dbc_authmethod_admin=ident.
        dbc_authmethod_user=password.
        dbc_ssl=.
dbc_write_package_config() .
dbconfig-common: writing config to /etc/dbconfig-common/bareos-database-common.conf

Creating config file /etc/dbconfig-common/bareos-database-common.conf with new version
dbc_read_package_config() .
dbc_detect_installed_dbtype() pgsql.
_dbc_detect_installed_dbtype() pgsql.
runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.UAoE90' PGPASSFILE='/tmp/dbconfig-common.psql_home.UAoE90/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' template1" 2>&1.
dbc_get_admin_pass() .
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.jgT12d' PGPASSFILE='/tmp/dbconfig-common.psql_home.jgT12d/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
creating postgres user bareos: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.CYetnn' PGPASSFILE='/tmp/dbconfig-common.psql_home.CYetnn/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.5YDyUn' PGPASSFILE='/tmp/dbconfig-common.psql_home.5YDyUn/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' -U 'postgres' template1" 2>&1.
success.
verifying creation of user: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.sfpNdz' PGPASSFILE='/tmp/dbconfig-common.psql_home.sfpNdz/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
success.
dbc_get_admin_pass() .
_dbc_detect_installed_dbtype() psql.
runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.f8njWf' PGPASSFILE='/tmp/dbconfig-common.psql_home.f8njWf/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' template1" 2>&1.
creating database bareos: runuser --user postgres -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.kekyCc' PGPASSFILE='/tmp/dbconfig-common.psql_home.kekyCc/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -U 'postgres' -U 'postgres'" 2>&1.
success.
verifying database bareos exists: success.
populating database via sql... runuser --user root -- /bin/sh -c "env HOME='/tmp/dbconfig-common.psql_home.FGSGYF' PGPASSFILE='/tmp/dbconfig-common.psql_home.FGSGYF/.pgpass' PGSSLMODE='prefer' psql --set \"ON_ERROR_STOP=1\" -q -h 'localhost' -U 'bareos' bareos" 2>&1.
done.
dbc_postinst_cleanup() .
dbc_forget_dbadmin_password() .
dbconfig-common: flushing administrative password
dbc_forget_app_password() .
Warning: failed to find config for component "bareos-dir".
Warning: failed to find config for component "bareos-dir".
Warning: failed to find config for component "bareos-dir".
Warning: failed to find config for component "bareos-dir".
Setting up bareos-database-tools (22.0.2~pre-11) ...
Setting up bareos-director (22.0.2~pre-11) ...
  Address = XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX # N.B. Use a fully qualified name here (do not use "localhost" here).
grep: XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_LOCAL_HOSTNAME_XXX' with 'ddf2b372798d' in /etc/bareos/bareos-dir.d/storage/File.conf
  Password = "XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX" # Console password
grep: XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_DIRECTOR_PASSWORD_XXX' with 'NyQw+dC+zgoCK6tt80cOqpjGaG7ubs61GLcWcLABdZvQ' in /etc/bareos/bareos-dir.d/director/bareos-dir.conf
  Password = "XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX" # password for FileDaemon
grep: XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_CLIENT_PASSWORD_XXX' with 'iYbq9I/u4oI4odVDhNdGlHH774+P/oZ0fLea0e7TKj0v' in /etc/bareos/bareos-dir.d/client/bareos-fd.conf
  Password = "XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_STORAGE_PASSWORD_XXX' with 'adZw+WMvQfVXzIt3gkV+TVl9Ar5XbUe/lRtfICfmh8df' in /etc/bareos/bareos-dir.d/storage/File.conf
  Password = "XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX"
grep: XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX: No such file or directory
Info: replacing 'XXX_REPLACE_WITH_DIRECTOR_MONITOR_PASSWORD_XXX' with '/CSbW/cJ6nFcYB3y/b/FWCF2UTxUNlku9uaiH6srF4c1' in /etc/bareos/bareos-dir.d/console/bareos-mon.conf
Created symlink /etc/systemd/system/bareos-dir.service → /lib/systemd/system/bareos-director.service.
Created symlink /etc/systemd/system/multi-user.target.wants/bareos-director.service → /lib/systemd/system/bareos-director.service.
Setting up bareos (22.0.2~pre-11) ...
Processing triggers for man-db (2.9.4-2) ...
root@ddf2b372798d:/# bconsole
Connecting to Director localhost:9101
^C
root@ddf2b372798d:/# systemctl enable --now bareos-dir bareos-sd bareos-fd
Failed to enable unit, refusing to operate on linked unit file bareos-dir.service
root@ddf2b372798d:/# systemctl enable --now bareos-director bareos-storage bareos-filedaemon
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
root@ddf2b372798d:/# bconsole
Connecting to Director localhost:9101
 Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3
1000 OK: bareos-dir Version: 22.0.2~pre (02 January 2023)
Bareos community build (UNSUPPORTED).
Get professional support from https://www.bareos.com
You are connected using the default console

Enter a period (.) to cancel a command.
*
marcati

marcati

2023-01-23 15:07

reporter   ~0004868

Thanks Bruno, I did exactly the same as you.
Is it possible that it's because I'm using Raspbian (https://www.raspbian.org/)?
bruno-at-bareos

bruno-at-bareos

2023-01-23 15:45

developer   ~0004869

So you don't use Debian 11 but raspbian, and I mean not on a x86/x86_64 bits ?

We don't provide binaries for arm actually, it is in a early stage for the moment.
Then you got the older no more supported 16x version done by the distribution which has been retired in debian 10 if I don't get it wrong (raspbian should either remove them like debian has done it, or provide new builds)

Would you be able to build bareos from sources or provide some real arm hardware to the project?

Issue History

Date Modified Username Field Change
2023-01-23 12:58 marcati New Issue
2023-01-23 13:50 bruno-at-bareos Note Added: 0004864
2023-01-23 14:16 marcati Note Added: 0004865
2023-01-23 14:24 marcati Note Added: 0004866
2023-01-23 14:30 bruno-at-bareos Note Added: 0004867
2023-01-23 15:07 marcati Note Added: 0004868
2023-01-23 15:45 bruno-at-bareos Note Added: 0004869
2023-01-24 09:43 bruno-at-bareos Priority high => low
2023-01-24 09:43 bruno-at-bareos Summary Trying to install version 22.0.2 on Debian 11 => Trying to install version 22.0.2 on raspbian 11