View Issue Details

IDProjectCategoryView StatusLast Update
0001498bareos-corewebuipublic2024-05-15 15:38
Reporteralexanderbazhenov Assigned Tofrank  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionopen 
Summary0001498: Failed to send result as json. Maybe the result message is too long?
DescriptionGot something like this again in 21.0 version: https://bugs.bareos.org/view.php?id=719

Failed to retrieve data from Bareos director
Error message received from director:

Failed to send result as json. Maybe the result message is too long?
Steps To ReproduceDon't know the steps, but as I got it happens when more volumes or output used. Especcially when you run a script on a client, e.g. gitlab dump:

sudo mkdir /var/opt/gitlab/backups
sudo chown git /var/opt/gitlab/backups
sudo gitlab-rake gitlab:backup:create SKIP=artifacts

If you got this once you'll not be able to open any job details (the same message all the time) until all backup jobs will finish.
Additional InformationI don't know is it web bug or just director, but there is no error in director logs.

Additional info:

root@bareos:/etc/bareos/bareos-dir.d/catalog# dpkg -l | grep bareos
ii bareos 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - metapackage
ii bareos-bconsole 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - text console
ii bareos-client 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - client metapackage
ii bareos-common 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - common files
ii bareos-database-common 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - common catalog files
ii bareos-database-postgresql 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - PostgreSQL backend
ii bareos-database-tools 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - database tools
ii bareos-director 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - director daemon
ii bareos-filedaemon 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - file daemon
ii bareos-storage 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - storage daemon
ii bareos-tools 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - common tools
ii bareos-traymonitor 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - tray monitor
ii bareos-webui 21.0.0-4 all Backup Archiving Recovery Open Sourced - webui

Postgre installed with defaults:

root@bareos:/etc/bareos/bareos-dir.d/catalog# dpkg -l | grep postgresql
ii bareos-database-postgresql 21.0.0-4 amd64 Backup Archiving Recovery Open Sourced - PostgreSQL backend
ii pgdg-keyring 2018.2 all keyring for apt.postgresql.org
ii postgresql-14 14.1-2.pgdg20.04+1 amd64 The World's Most Advanced Open Source Relational Database
ii postgresql-client-14 14.1-2.pgdg20.04+1 amd64 front-end programs for PostgreSQL 14
ii postgresql-client-common 232.pgdg20.04+1 all manager for multiple PostgreSQL client versions
ii postgresql-common 232.pgdg20.04+1 all PostgreSQL database-cluster manager

root@bareos:/etc/bareos/bareos-dir.d/catalog# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

Any ideas? Or what other info I should provide.
Tagsdirector, job, postgresql, ubuntu20.04, webui

Activities

bruno-at-bareos

bruno-at-bareos

2022-12-15 16:54

manager   ~0004839

To help debugging, it would be nice to have at least one of the offending joblog, which can be extracted with bconsole.
please to so and attach the output here (if < 2MB) or on an accessible share.

Developper can be also interested by the same output in json, to do so you can switch bconsole output to ".api 2"

bconsole <<<"@output /var/tmp/joblog_jobidXXXX_json.log
.api 2
list joblog jobid=XXXX
"

where XXX is the problematic jobid.
alexanderbazhenov

alexanderbazhenov

2022-12-15 19:15

reporter   ~0004840

Here is one of them.
joblog_jobid4230_json.log (282,928 bytes)
arogge

arogge

2024-05-15 15:38

manager   ~0005926

This was reported for an end-of-life (EOL) version of Bareos.

If you can reproduce this bug against a currently maintained version of
Bareos please feel free to open a new issue against that version at
https://github.com/bareos/bareos/issues

Thank you for reporting this bug and we are sorry it could not be fixed.

Issue History

Date Modified Username Field Change
2022-12-15 15:00 alexanderbazhenov New Issue
2022-12-15 15:00 alexanderbazhenov Tag Attached: webui
2022-12-15 15:00 alexanderbazhenov Tag Attached: director
2022-12-15 15:01 alexanderbazhenov Tag Attached: job
2022-12-15 15:01 alexanderbazhenov Tag Attached: postgresql
2022-12-15 15:01 alexanderbazhenov Tag Attached: ubuntu20.04
2022-12-15 16:54 bruno-at-bareos Note Added: 0004839
2022-12-15 19:15 alexanderbazhenov Note Added: 0004840
2022-12-15 19:15 alexanderbazhenov File Added: joblog_jobid4230_json.log
2022-12-21 11:45 bruno-at-bareos Assigned To => frank
2022-12-21 11:45 bruno-at-bareos Status new => assigned
2024-05-15 15:38 arogge Note Added: 0005926
2024-05-15 15:38 arogge Status assigned => closed