This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #684: Long logs aren't displayed Fixes #693: bareos-webui generate error exception with certain messages
- Loading branch information
1 parent
837d6a2
commit c3c7d6c
Showing
4 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c3c7d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have applied this fix, but the error is still present.
OS: Debian 7
PHP 5.6.30
bareos-webui version: 17.1.3
An error occurred during execution; please try again later.
/var/www/bareos-webui/vendor/zendframework/zend-json/src/Json.php:68
Decoding failed: Syntax error
c3c7d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What result do you get in bconsole, when you execute the following commands?
.api 2
llist volumes
Is the json result well-formed?
c3c7d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh, stupid me, this just fixes issues with long logs, sorry. Your case is probably related to a high number of volumes and the result of llist volumes/media can not be send by the director daemon because of its size, unfortunately this is currently a limitation of the director. I'm going to have a deeper look into it.
c3c7d6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.