Re: [bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-30 Thread aeronex...@gmail.com
So, I figured that I was the only one as my configuation is very old and I do not update unless backups not working correctly. So I am on Ubuntu 22.04 using Dell XPS13 running as a server. Postgres is on a single server, no backup cluster. A script (in bareos) creates a download of all

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-30 Thread Bruno Friedmann (bruno-at-bareos)
Hello Jens, that would tend to prove the following. When the upgraded packages are installed, the dbconfig should take care of the upgrade of the database. and only then the bareos-director should be restarted. What you describe, seems to tell that for non expected reason the postgresql

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-29 Thread jens.gr...@gmail.com
Hi Bruno, I had the same issue as Bruce had. I'm working on a Debian 11.8 system and the reboot was the only way to get bareos up and running again. Greetings, Jens Bruno Friedmann (bruno-at-bareos) schrieb am Montag, 27. November 2023 um 10:30:32 UTC+1: > Hi Bruce, It look really weird to

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-27 Thread Bruno Friedmann (bruno-at-bareos)
Hi Bruce, It look really weird to me, to have to reboot a server due to Bareos update or upgrade. Mostly update just need to restart services which all can be done in one go with `systemctl restart bareos-dir bareos-sd bareos-fd` For upgrade, it has always been a good idea (beside reading the

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-11-26 Thread Bruce Eckstein
If this is the upgrade to version 23, I had a similar issue. I needed to run /usr/lib/bareos/script/update_bareos_tables to update the tables in bareos. Then I had to reboot the server. I tried to just reboot the postgresql but that did not work. best of luck. On Friday, May 5, 2023 at 4:39:51 

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-05-05 Thread Bruno Friedmann
Did you respect all steps to configure the database, espcially its initial 3 steps https://docs.bareos.org/bareos-22/IntroductionAndTutorial/InstallingBareos.html#prepare-bareos-database and https://docs.bareos.org/bareos-22/IntroductionAndTutorial/InstallingBareos.html#id5 On Friday, May 5,

[bareos-users] Re: /var/run/postgresql/.s.PGSQL.5432" failed: FATAL: role "bareos" does not exist

2023-05-05 Thread Serhii Zahuba
You need to create user bareos on you postgres server and give him rights to database bareos пʼятниця, 5 травня 2023 р. о 11:39:51 UTC+3 DUCARROZ Birgit пише: > Hi, > > Please can anyone help me with this issue? > -- > sudo -u bareos -s