Hi,

this happened immediately after updating from bareos-13.2 to bareos-14.2?

bareos-14.2 allows the usage of dbconfig-common to handle database
management. When installing bareos-14.2 you should at least have seen a
configuration dialog asking if dbconfig-common should be used to handle
database management.

If you have chosen yes, the database update should have happened
automatically, or your bareos-database-common package is left in the
state of being unconfigured (error). From your dpkg output this does not
seams to be the case.

If you have chosen no, you indeed have to run the scripts
su postgres -c /usr/lib/bareos/scripts/update_bareos_tables
su postgres -c /usr/lib/bareos/scripts/grant_bareos_privileges
manually.

Please take a look in the PostgreSQL section of
http://doc.bareos.org/master/html/bareos-manual-main-reference.html#CatMaintenanceChapter

Like described there, check if you can access the database by psql and
check the bareos database version by
select * from Version;

> Granting postgresql tables
> Error: database passwords containing # are not supported.
> Error creating privileges.
>
> Note: The role 'postgres' have a password ...

In our automatic test systen, the postgres role don't use a password, so
this case is not tested that often.

So I (and the scripts) expect that the password is stored in ~/.pgpass
(like written in the Catalog Maintance chapter).

The error message is about that your Bareos database password should not
contain the "#" character, because this is used in some shell scripts as
seperator.

Hope this helps,
Jörg
-- 
 Jörg Steffens                   [email protected]
 Bareos GmbH & Co. KG            http://www.bareos.com

 Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
 Komplementär: Bareos Verwaltungs-GmbH
 Geschäftsführer:
 S. Dühr, M. Außendorf, Jörg Steffens, P. Storz, M. v. Wieringen

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to