Re: [Bacula-users] Baculum job history, details page does not show job files

2020-05-26 Thread Marcin Haba
Hi Yakup,

Great. Good to hear you solved this problem.

Yes, it case many records the memory limit 128M can be insufficient.

Best regards,
Marcin Haba (gani)

On Tue, 26 May 2020 at 23:15, Yakup Kaya  wrote:
>
> Hi Marcin,
>
> Thank you very much for your reply. It seems like we are having problem 
> because of the allocated memory size for PHP.
>
> Here are my findings:
>
> - Without enabling debug, I have been able to see the file list from bconsole 
> with the command you provided (list files jobid=2089). This job had 301903 
> files
> - After enabling debug I see the following error message when I click the job 
> files tab. This log is from /var/log/httpd/baculum-api-error.log. This log 
> showed me the actual reason why we cannot see the file list.
>
> [Tue May 26 20:59:31.159529 2020] [:error] [pid 11213] [client 
> 127.0.0.1:50964] PHP Fatal error:  Allowed memory size of 134217728 bytes 
> exhausted (tried to allocate 72 bytes) in 
> /usr/share/baculum/htdocs/protected/API/Class/Bconsole.php on line 168
>
> From /etc/php.ini I have seen the memory limit is set to 128 M, which is the 
> exact same amount on the error log (134217728 bytes / 1024 / 1024 = 128M).
> memory_limit = 128M
>
> I changed the memory limit to 1024M for testing and voila, I can now see the 
> list of files from Baculum for the mentioned jobs.
>
> Thank you very much for all your help!
>
> Kind regards,
>
> Yakup Kaya
>
>
> 
> From: Marcin Haba 
> Sent: Tuesday, May 26, 2020 6:21 PM
> To: Yakup Kaya
> Cc: bacula-users@lists.sourceforge.net; Markus Flaisch
> Subject: Re: [Bacula-users] Baculum job history, details page does not show 
> job files
>
> Hello Yakup,
>
> I am not able to reproduce this problem. Could I ask you about
> enabling debug on the API side in
>
> /usr/share/baculum/htdocs/protected/API/Config/api.conf
>
> (debug option in [api] section set to "1")
>
> and check if file list is visible in API debug file. If not, I propose
> to check bconsole command
>
> list files jobid=your_jobid
>
> Also checking web server logs might be useful.
>
> More information about debugging you can find in the console manual:
> https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0036
>
> Thanks in advance for your feedback.
>
> Best regards,
> Marcin Haba (gani)
>
> On Tue, 26 May 2020 at 15:15, Yakup Kaya  
> wrote:
> >
> > Hello everybody,
> >
> >
> > I am trying to see the job files on the details of a job, from the Job 
> > History page, on the Baculum interface. On the release notes, I see this 
> > functionality of job files tab is added at version 9.6.2. We are now using 
> > 9.6.3.
> >
> >
> > But it does not seem to be working, if there are too many files backed up.
> >
> >
> > For example:
> >
> >
> > One of my full backups has 100 files in it, and when I go to "Job History - 
> > Details (from Action column) - Job Files tab', I can see the files list.
> >
> > Another full backup has 301.903 files in it and when I go to "Job Files" 
> > tab, it waits for some time (about 7-8 seconds) and it says "No item result"
> >
> >
> > By the way, I can see the number of files from the Details page for the 
> > same job. Is there a limit for showing job files for a backup?
> >
> >
> > Operating system: CentOS Linux release 7.6.1810 (Core)
> >
> > Database used: PostgreSQL (version 9.2.24)
> >
> > Bacula version: 9.6.3-1
> >
> > Baculum version: 9.6.3-1
> >
> > Baculum API version: 9.6.3-1
> >
> > Authentication method for users: Oauth2
> >
> >
> > Thank you very much in advance. We have installed bacula and baculum via 
> > rpms, so it seems we do not have a config.out file. So I wrote the versions 
> > we used manually.
> >
> >
> > Kind regards,
> >
> >
> > Yakup Kaya
> > ___
> > Bacula-users mailing list
> > Bacula-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
>
> --
> "Greater love hath no man than this, that a man lay down his life for
> his friends." Jesus Christ
>
> "Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
> za przyjaciół swoich." Jezus Chrystus



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum job history, details page does not show job files

2020-05-26 Thread Yakup Kaya
Hi Marcin,

Thank you very much for your reply. It seems like we are having problem because 
of the allocated memory size for PHP.

Here are my findings:

- Without enabling debug, I have been able to see the file list from bconsole 
with the command you provided (list files jobid=2089). This job had 301903 files
- After enabling debug I see the following error message when I click the job 
files tab. This log is from /var/log/httpd/baculum-api-error.log. This log 
showed me the actual reason why we cannot see the file list.

[Tue May 26 20:59:31.159529 2020] [:error] [pid 11213] [client 127.0.0.1:50964] 
PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to 
allocate 72 bytes) in 
/usr/share/baculum/htdocs/protected/API/Class/Bconsole.php on line 168

>From /etc/php.ini I have seen the memory limit is set to 128 M, which is the 
>exact same amount on the error log (134217728 bytes / 1024 / 1024 = 128M).
memory_limit = 128M

I changed the memory limit to 1024M for testing and voila, I can now see the 
list of files from Baculum for the mentioned jobs.

Thank you very much for all your help!

Kind regards,

Yakup Kaya



From: Marcin Haba 
Sent: Tuesday, May 26, 2020 6:21 PM
To: Yakup Kaya
Cc: bacula-users@lists.sourceforge.net; Markus Flaisch
Subject: Re: [Bacula-users] Baculum job history, details page does not show job 
files

Hello Yakup,

I am not able to reproduce this problem. Could I ask you about
enabling debug on the API side in

/usr/share/baculum/htdocs/protected/API/Config/api.conf

(debug option in [api] section set to "1")

and check if file list is visible in API debug file. If not, I propose
to check bconsole command

list files jobid=your_jobid

Also checking web server logs might be useful.

More information about debugging you can find in the console manual:
https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0036

Thanks in advance for your feedback.

Best regards,
Marcin Haba (gani)

On Tue, 26 May 2020 at 15:15, Yakup Kaya  wrote:
>
> Hello everybody,
>
>
> I am trying to see the job files on the details of a job, from the Job 
> History page, on the Baculum interface. On the release notes, I see this 
> functionality of job files tab is added at version 9.6.2. We are now using 
> 9.6.3.
>
>
> But it does not seem to be working, if there are too many files backed up.
>
>
> For example:
>
>
> One of my full backups has 100 files in it, and when I go to "Job History - 
> Details (from Action column) - Job Files tab', I can see the files list.
>
> Another full backup has 301.903 files in it and when I go to "Job Files" tab, 
> it waits for some time (about 7-8 seconds) and it says "No item result"
>
>
> By the way, I can see the number of files from the Details page for the same 
> job. Is there a limit for showing job files for a backup?
>
>
> Operating system: CentOS Linux release 7.6.1810 (Core)
>
> Database used: PostgreSQL (version 9.2.24)
>
> Bacula version: 9.6.3-1
>
> Baculum version: 9.6.3-1
>
> Baculum API version: 9.6.3-1
>
> Authentication method for users: Oauth2
>
>
> Thank you very much in advance. We have installed bacula and baculum via 
> rpms, so it seems we do not have a config.out file. So I wrote the versions 
> we used manually.
>
>
> Kind regards,
>
>
> Yakup Kaya
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



--
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Baculum job history, details page does not show job files

2020-05-26 Thread Marcin Haba
Hello Yakup,

I am not able to reproduce this problem. Could I ask you about
enabling debug on the API side in

/usr/share/baculum/htdocs/protected/API/Config/api.conf

(debug option in [api] section set to "1")

and check if file list is visible in API debug file. If not, I propose
to check bconsole command

list files jobid=your_jobid

Also checking web server logs might be useful.

More information about debugging you can find in the console manual:
https://www.bacula.org/9.6.x-manuals/en/console/Baculum_API_Web_GUI_Tools.html#SECTION0036

Thanks in advance for your feedback.

Best regards,
Marcin Haba (gani)

On Tue, 26 May 2020 at 15:15, Yakup Kaya  wrote:
>
> Hello everybody,
>
>
> I am trying to see the job files on the details of a job, from the Job 
> History page, on the Baculum interface. On the release notes, I see this 
> functionality of job files tab is added at version 9.6.2. We are now using 
> 9.6.3.
>
>
> But it does not seem to be working, if there are too many files backed up.
>
>
> For example:
>
>
> One of my full backups has 100 files in it, and when I go to "Job History - 
> Details (from Action column) - Job Files tab', I can see the files list.
>
> Another full backup has 301.903 files in it and when I go to "Job Files" tab, 
> it waits for some time (about 7-8 seconds) and it says "No item result"
>
>
> By the way, I can see the number of files from the Details page for the same 
> job. Is there a limit for showing job files for a backup?
>
>
> Operating system: CentOS Linux release 7.6.1810 (Core)
>
> Database used: PostgreSQL (version 9.2.24)
>
> Bacula version: 9.6.3-1
>
> Baculum version: 9.6.3-1
>
> Baculum API version: 9.6.3-1
>
> Authentication method for users: Oauth2
>
>
> Thank you very much in advance. We have installed bacula and baculum via 
> rpms, so it seems we do not have a config.out file. So I wrote the versions 
> we used manually.
>
>
> Kind regards,
>
>
> Yakup Kaya
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users



-- 
"Greater love hath no man than this, that a man lay down his life for
his friends." Jesus Christ

"Większej miłości nikt nie ma nad tę, jak gdy kto życie swoje kładzie
za przyjaciół swoich." Jezus Chrystus


___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Baculum job history, details page does not show job files

2020-05-26 Thread Yakup Kaya
Hello everybody,


I am trying to see the job files on the details of a job, from the Job History 
page, on the Baculum interface. On the release notes, I see this functionality 
of job files tab is added at version 9.6.2. We are now using 9.6.3.


But it does not seem to be working, if there are too many files backed up.


For example:


One of my full backups has 100 files in it, and when I go to "Job History - 
Details (from Action column) - Job Files tab', I can see the files list.

Another full backup has 301.903 files in it and when I go to "Job Files" tab, 
it waits for some time (about 7-8 seconds) and it says "No item result"


By the way, I can see the number of files from the Details page for the same 
job. Is there a limit for showing job files for a backup?


Operating system: CentOS Linux release 7.6.1810 (Core)

Database used: PostgreSQL (version 9.2.24)

Bacula version: 9.6.3-1

Baculum version: 9.6.3-1

Baculum API version: 9.6.3-1

Authentication method for users: Oauth2


Thank you very much in advance. We have installed bacula and baculum via rpms, 
so it seems we do not have a config.out file. So I wrote the versions we used 
manually.


Kind regards,


Yakup Kaya
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users