Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-12 Thread Davide F.
Hello,

Thanks for your feedback

The best would be add your comment on the issue here
https://github.com/bacula-web/bacula-web/issues/129

I have made a test using Lighttpd and it worked for me, even hosting
several virtual servers on it.

For your information, I’m really close to publish a new release which
include an update of the documentation for Lighttpd.

The new release should be available by the next few days.

In the meantime, please share your web configuration so I could help you
more easily.

Best regards

Davide

On Sat, 12 Nov 2022 at 00:21  wrote:

> On 2022-11-02 10:29, Davide F. wrote:
>
> Hello,
>
> Did you manage to make it work ?
>
> Best,
>
>
>
>
> I set up a virtual host configuration using SSL.  I set up document root
> to the bacula-web/public directory.  This did not work. I get http 500
> error.  This page is not working.  Can't currently handle request type
> error.
>
> I next modified the index.php (in the bacula-web/public directory ) to be
> the php info page:
>
>  phpinfo();
> ?>
>
> I refreshed browser and the phpinfo page was displayed.  As the phpinfo
> page works, I am guessing that the lighttpd configuration file I made for
> bacula-web works.
>
> I am unable to get get bacula-web-8.6.2 working with lighttpd using SSL
> and a configuration that points to bacula-web/public at the Document root.
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-12 Thread Davide F.
Hello Jose,

On Sat, Nov 12, 2022 at 12:38 PM Jose Alberto  wrote:

> HI.
>
> Bacula-web  can  export reports on PDF?
>

Thanks for your question.

Which report are you talking about ?

Kind reminder: If you want a new feature implemented or a bug fixed, please
consider reading this document
https://docs.bacula-web.org/en/latest/03_gethelp/support.html

That would help me a lot, thanks in advance

Best regards

Davide


> On Wed, Oct 19, 2022 at 1:05 PM Davide F.  wrote:
>
>> I'm pleased to inform you that Bacula-Web 8.6.1 is now available.
>>
>> This new release contains bug fixes and two minor features.
>>
>> More details are available on the blog using the link below
>> https://www.bacula-web.org/blog/bacula-web-8.6.1/
>>
>> Best regards
>>
>> Davide
>>
>> Web site - https://www.bacula-web.org
>> Follow the project on GitHub - https://github.com/bacula-web/bacula-web
>> ___
>> Bacula-users mailing list
>> Bacula-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
>>
>
>
> --
> #
> #   Sistema Operativo: Debian  #
> #Caracas, Venezuela  #
> #
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-12 Thread Jose Alberto
HI.

Bacula-web  can  export reports on PDF?

On Wed, Oct 19, 2022 at 1:05 PM Davide F.  wrote:

> I'm pleased to inform you that Bacula-Web 8.6.1 is now available.
>
> This new release contains bug fixes and two minor features.
>
> More details are available on the blog using the link below
> https://www.bacula-web.org/blog/bacula-web-8.6.1/
>
> Best regards
>
> Davide
>
> Web site - https://www.bacula-web.org
> Follow the project on GitHub - https://github.com/bacula-web/bacula-web
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>


-- 
#
#   Sistema Operativo: Debian  #
#Caracas, Venezuela  #
#
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-11 Thread sruckh--- via Bacula-users

On 2022-11-02 10:29, Davide F. wrote:


Hello,

Did you manage to make it work ?

Best,


I set up a virtual host configuration using SSL.  I set up document root 
to the bacula-web/public directory.  This did not work. I get http 500 
error.  This page is not working.  Can't currently handle request type 
error.


I next modified the index.php (in the bacula-web/public directory ) to 
be the php info page:




I refreshed browser and the phpinfo page was displayed.  As the phpinfo 
page works, I am guessing that the lighttpd configuration file I made 
for bacula-web works.


I am unable to get get bacula-web-8.6.2 working with lighttpd using SSL 
and a configuration that points to bacula-web/public at the Document 
root.___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-03 Thread sruckh--- via Bacula-users

On 2022-11-02 10:29, Davide F. wrote:


Hello,

Did you manage to make it work ?

Best,

On Thu, 27 Oct 2022 at 17:54 sruckh--- via Bacula-users 
 wrote:


On 2022-10-26 23:11, Davide F. wrote:

Hello,

Thanks for your feedback

First of all, I have two questions

* Just curious, why are you not using built-in authentication but HTTP 
Basic authentication instead ?

* Which OS are you running Debian, Ubuntu, etc ?

Regarding the issue you're facing (403 permission denied).
As mentioned in latest documentation, please make sure Lighttpd 
configuration is using Bacula-Web public sub-folder as a "root folder"
Assuming you've installed Bacula-Web in /var/www/html/bacula-web, 
configure it like below


server.document-root = "/var/www/html/bacula-web/public/"

This is where I see a difference in the older version (v 8.4.4) I was 
running and the current version (thanks for pointing that out).  There 
is no "public" sub-directory with the 8.4.4 version.  As mentioned, I 
do not have a virtual host configuration for bacula-web and would not 
set my document root as suggested above, because I have several web 
apps in my document-root directory.  So, I access all my apps using 
https://top.level.domain/some-directory, including the working 8.4.4 
version of bacula-web.  I would use 
https://top.level.domain/bacula-web/ .  I did not notice you have 
changed the directory structure until you pointed it out.  I can try 
making a virtual host configuration to see if that makes a difference, 
but this change, which I am not even sure I entirely understand, since 
you are putting files outside of document root, is most likely the 
reason for my error. ___


Sorry, I have not had time to mess around with it. I will certainly post 
here if I get it to work by setting up a custom configuration.


As far as authentication goes, I think I just assumed the current 
setting I am using was for no authentication, meaning any user with the 
URL could access the page.  Which is desired.  I assumed the other 
authentication meant there would have to be some type of 
username/password to access the page.___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-11-02 Thread Davide F.
Hello,

Did you manage to make it work ?

Best,

On Thu, 27 Oct 2022 at 17:54 sruckh--- via Bacula-users <
bacula-users@lists.sourceforge.net> wrote:

> On 2022-10-26 23:11, Davide F. wrote:
>
> Hello,
>
> Thanks for your feedback
>
> First of all, I have two questions
>
>- Just curious, why are you not using built-in authentication but HTTP
>Basic authentication instead ?
>- Which OS are you running Debian, Ubuntu, etc ?
>
> Regarding the issue you're facing (403 permission denied).
> As mentioned in latest documentation, please make sure
> Lighttpd configuration is using Bacula-Web public sub-folder as a "root
> folder"
>
> Assuming you've installed Bacula-Web in /var/www/html/bacula-web,
> configure it like below
>
> server.document-root = "/var/www/html/bacula-web/public/"
>
> This is where I see a difference in the older version (v 8.4.4) I was
> running and the current version (thanks for pointing that out).  There is
> no "public" sub-directory with the 8.4.4 version.  As mentioned, I do not
> have a virtual host configuration for bacula-web and would not set my
> document root as suggested above, because I have several web apps in my
> document-root directory.  So, I access all my apps using
> https://top.level.domain/some-directory, including the working 8.4.4
> version of bacula-web.  I would use https://top.level.domain/bacula-web/
> .  I did not notice you have changed the directory structure until you
> pointed it out.  I can try making a virtual host configuration to see if
> that makes a difference, but this change, which I am not even sure I
> entirely understand, since you are putting files outside of document root,
> is most likely the reason for my error.
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-27 Thread Davide F.
Hello,

Thanks for your feedback.

Indeed, I may had to make it more clear on the v8.6.0 blog post
, it's not obvious if
you don't check the release note
 in detail.

I haven't tried yet but Lighttpd seem's to be well documented regarding
virtual host.
https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSimpleVhost

To keep it simple, you can have specific document root and other options
based on the "host" value in http request.
This means you can host as many "virtual" web servers on a single host
without the need to keep everything under /var/www/html.

As I already said, I'll have a try on my side and update Bacula-Web
documentation  for next release.

Let me know if you managed to setup virtual host on your side please


   - Just curious, why are you not using built-in authentication but HTTP
   Basic authentication instead ?
   - Which OS are you running Debian, Ubuntu, etc ?

Any feedback about above questions ?

Best regards

Davide

On Thu, Oct 27, 2022 at 5:54 PM sruckh--- via Bacula-users <
bacula-users@lists.sourceforge.net> wrote:

> On 2022-10-26 23:11, Davide F. wrote:
>
> Hello,
>
> Thanks for your feedback
>
> First of all, I have two questions
>
>- Just curious, why are you not using built-in authentication but HTTP
>Basic authentication instead ?
>- Which OS are you running Debian, Ubuntu, etc ?
>
> Regarding the issue you're facing (403 permission denied).
> As mentioned in latest documentation, please make sure
> Lighttpd configuration is using Bacula-Web public sub-folder as a "root
> folder"
>
> Assuming you've installed Bacula-Web in /var/www/html/bacula-web,
> configure it like below
>
> server.document-root = "/var/www/html/bacula-web/public/"
>
> This is where I see a difference in the older version (v 8.4.4) I was
> running and the current version (thanks for pointing that out).  There is
> no "public" sub-directory with the 8.4.4 version.  As mentioned, I do not
> have a virtual host configuration for bacula-web and would not set my
> document root as suggested above, because I have several web apps in my
> document-root directory.  So, I access all my apps using
> https://top.level.domain/some-directory, including the working 8.4.4
> version of bacula-web.  I would use https://top.level.domain/bacula-web/
> .  I did not notice you have changed the directory structure until you
> pointed it out.  I can try making a virtual host configuration to see if
> that makes a difference, but this change, which I am not even sure I
> entirely understand, since you are putting files outside of document root,
> is most likely the reason for my error.
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-27 Thread sruckh--- via Bacula-users

On 2022-10-26 23:11, Davide F. wrote:


Hello,

Thanks for your feedback

First of all, I have two questions

* Just curious, why are you not using built-in authentication but HTTP 
Basic authentication instead ?

* Which OS are you running Debian, Ubuntu, etc ?

Regarding the issue you're facing (403 permission denied).
As mentioned in latest documentation, please make sure Lighttpd 
configuration is using Bacula-Web public sub-folder as a "root folder"

_ _
Assuming you've installed Bacula-Web in /var/www/html/bacula-web, 
configure it like below


server.document-root = "/var/www/html/bacula-web/public/"


This is where I see a difference in the older version (v 8.4.4) I was 
running and the current version (thanks for pointing that out).  There 
is no "public" sub-directory with the 8.4.4 version.  As mentioned, I do 
not have a virtual host configuration for bacula-web and would not set 
my document root as suggested above, because I have several web apps in 
my document-root directory.  So, I access all my apps using 
https://top.level.domain/some-directory, including the working 8.4.4 
version of bacula-web.  I would use https://top.level.domain/bacula-web/ 
.  I did not notice you have changed the directory structure until you 
pointed it out.  I can try making a virtual host configuration to see if 
that makes a difference, but this change, which I am not even sure I 
entirely understand, since you are putting files outside of document 
root, is most likely the reason for my error.___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-26 Thread Davide F.
Hello,

Thanks for your feedback

First of all, I have two questions

   - Just curious, why are you not using built-in authentication but HTTP
   Basic authentication instead ?
   - Which OS are you running Debian, Ubuntu, etc ?

Regarding the issue you're facing (403 permission denied).
As mentioned in latest documentation, please make sure
Lighttpd configuration is using Bacula-Web public sub-folder as a "root
folder"

Assuming you've installed Bacula-Web in /var/www/html/bacula-web, configure
it like below

server.document-root = "/var/www/html/bacula-web/public/"

I'll setup an environment based on Ubuntu or Debian to make some test with
Lighttpd server and will let you know how it goes.

By the way, the documentation mention how to update permissions for
application/views/cache
(see link below)
https://docs.bacula-web.org/en/latest/02_install/installarchive.html#change-files-folders-permissions

One of my objective for next release is to update the documentation which
needs some update and fixes.

I have created an issue to update the documentation with instructions for
Lighttpd https://github.com/bacula-web/bacula-web/issues/129
Feel free to add comments and suggestions on the GitHub issue

Best regards

Davide

On Thu, Oct 27, 2022 at 1:47 AM  wrote:

> On 2022-10-21 21:32, Davide F. wrote:
>
> Hello,
>
> Let me try to help you here
>
> Can you share your lighttpd config ?
>
> Could you also try to run the check from a shell please ?
>
> https://docs.bacula-web.org/en/latest/02_install/test.html#using-bacula-web-console
>
> Please note that there's a regression for users who setup Bacula-Web for
> the first time using the bwc script but I'm already working on a fix.
>
> Best regards
>
>
>
> ===
> Checking requirements
> ===
>
> PHP version Ok
> PHP timezone Ok
> Protected assets folder is writable Ok
> Smarty cache folder write permission Ok
> PHP Posix support Ok
> PHP PDO support Ok
> PHP SQLite support Ok
>
> PDO drivers (available): driver: mysql
> driver: pgsql
> driver: sqlite
> PHP Gettext support Ok
> PHP Session support Ok
>
> The lighttpd config is pretty generic.  No virtual host is configured for
> bacula-web.  It is using the main configuration where the base folder is
> defined, and web apps are put in that directory.  I also have the SSLEngine
> turned on.
>
> I still get the 403 forbidden error message.
>
> BTW -- the first time I ran bwc check I got Error.  I changed the
> permissions of the application/views/cache/ (which I did not see on the
> upgrade page) directory to be owned by lighttpd: and of course, gave write
> write permissions.
>
> I am also using 8.6.2 now.
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-26 Thread sruckh--- via Bacula-users

On 2022-10-21 21:32, Davide F. wrote:


Hello,

Let me try to help you here

Can you share your lighttpd config ?

Could you also try to run the check from a shell please ?

https://docs.bacula-web.org/en/latest/02_install/test.html#using-bacula-web-console

Please note that there's a regression for users who setup Bacula-Web 
for the first time using the bwc script but I'm already working on a 
fix.


Best regards


===
Checking requirements
===

PHP version Ok
PHP timezone Ok
Protected assets folder is writable Ok
Smarty cache folder write permission Ok
PHP Posix support Ok
PHP PDO support Ok
PHP SQLite support Ok

PDO drivers (available): driver: mysql
driver: pgsql
driver: sqlite
PHP Gettext support Ok
PHP Session support Ok

The lighttpd config is pretty generic.  No virtual host is configured 
for bacula-web.  It is using the main configuration where the base 
folder is defined, and web apps are put in that directory.  I also have 
the SSLEngine turned on.


I still get the 403 forbidden error message.

BTW -- the first time I ran bwc check I got Error.  I changed the 
permissions of the application/views/cache/ (which I did not see on the 
upgrade page) directory to be owned by lighttpd: and of course, gave 
write write permissions.


I am also using 8.6.2 now.___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-21 Thread Davide F.
Hello,

Let me try to help you here

Can you share your lighttpd config ?

Could you also try to run the check from a shell please ?
https://docs.bacula-web.org/en/latest/02_install/test.html#using-bacula-web-console

Please note that there’s a regression for users who setup Bacula-Web for
the first time using the bwc script but I’m already working on a fix.

Best regards

On Fri, 21 Oct 2022 at 23:43  wrote:

> On 2022-10-19 10:02, Davide F. wrote:
>
> I'm pleased to inform you that Bacula-Web 8.6.1 is now available.
>
> This new release contains bug fixes and two minor features.
>
> More details are available on the blog using the link below
> https://www.bacula-web.org/blog/bacula-web-8.6.1/
>
> Best regards
>
> Davide
>
> Web site - https://www.bacula-web.org
> Follow the project on GitHub - https://github.com/bacula-web/bacula-web
>
> ___
>
>
> I tried an upgrade.  I downloaded tar file.  Extracted contents.  Renamed
> extracted folder to match old folder name (bacula-web).  Copied over old
> config file.  Set permissions on the "protected" folder to web user
> (lighttpd).  No files in that directory (same as with older version).  I
> get a 403 forbidden error.  Using lighttpd 1.4.54 with php 7.4.32.  I have
> set config['enable_users_auth'] = false in config.php.  I have not done a
> whole lot a debugging or trying to figure out what is going on, but that
> was my initial experience.
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Bacula-Web 8.6.1 release

2022-10-21 Thread sruckh--- via Bacula-users

On 2022-10-19 10:02, Davide F. wrote:


I'm pleased to inform you that Bacula-Web 8.6.1 is now available.

This new release contains bug fixes and two minor features.

More details are available on the blog using the link below
https://www.bacula-web.org/blog/bacula-web-8.6.1/

Best regards

Davide

Web site - https://www.bacula-web.org [1]
Follow the project on GitHub - https://github.com/bacula-web/bacula-web
___


I tried an upgrade.  I downloaded tar file.  Extracted contents.  
Renamed extracted folder to match old folder name (bacula-web).  Copied 
over old config file.  Set permissions on the "protected" folder to web 
user (lighttpd).  No files in that directory (same as with older 
version).  I get a 403 forbidden error.  Using lighttpd 1.4.54 with php 
7.4.32.  I have set config['enable_users_auth'] = false in config.php.  
I have not done a whole lot a debugging or trying to figure out what is 
going on, but that was my initial experience.


Links:
--
[1] https://www.bacula-web.org/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users