Re: [Bacula-users] Bacularis 3.2.0 install nginx php-fpm

2024-06-12 Thread José Ferreira Neto
Eu uso o Bacularis com NGinx e instalei simplesmente assim:
Nginx web server¶ 

apt install bacularis bacularis-nginx

After installation you must enable the bacularis site:

ln -s /etc/nginx/sites-available/bacularis.conf /etc/nginx/sites-enabled/

At the end please restart (or reload) the new Nginx web server
configuration:

systemctl restart nginx


Em qua., 12 de jun. de 2024 22:48, Marcin Haba 
escreveu:

> On Wed, 12 Jun 2024 at 21:51, Brent  wrote:
>
>> Environment: Rocky Linux 8.9, nginx 1.25.4, php 8.3
>>
>> I have followed the "manual" install as documented:
>> https://bacularis.app/doc/brief/installation.html#install-manually
>>
>> The install process runs without a hitch.  However, when I go to the
>> bacularis URL, the server attempts to redirect to /panel/config ultimately
>> resulting an error ERR_TOO_MANY_REDIRECTS
>>
>> This is due to the nginx provided configuration:
>> try_files $uri $uri/ index.php?$args;
>>
>> If the PHP log I can see the request:
>>
>> /index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/index.php/panel/config
>>
>> How is panel/config supposed to be initiated?  I have made a few
>> speculative edits to "try_files" without making any progress.
>>
>
> Hello Brent,
>
> For the redirects loop it looks that something can be missing there that
> Bacularis is not able to determine paths properly. It can be caused for
> example by missing pathinfo value ($_SERVER['PATH_INFO']) but not only. You
> can check the values by pasting at the beginning of htdocs/index.php (but
> below 
> var_export($_SERVER);
> exit();
>
> Before doing that I would propose to revert the bacularis-nginx.conf file
> to the original (not modified) and reload the web server configuration.
>
> I have also a question if you use a HTTP proxy to connect to Bacularis?
>
>
>> Perhaps someone can give some insight that will help me.  The install
>> instructions indicate use for Bacularis 2.8.   I am guessing that there has
>> been some restructure of the Prado library with Bacularis 3.2 that is
>> causing the provided nginx configuration not to work.
>>
>
> For the install instruction for Bacularis 2.8 in the documentation, thanks
> for the notice. This version 2.8.0 there is only example that users can
> modify to the latest version. In time of writing that documentation the
> latest was 2.8.0 so this version is written there, but you can set the
> latest 3.2.0 and it will be fine as well. At the moment I updated this
> number there to 3.2.0.
>
> Best regards,
> Marcin Haba (gani)
>
> --
>
> "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 mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] Error installing Bacula 13.0.4 on Debian 12 Bookworm

2024-02-19 Thread José Ferreira Neto
Eu acabei de instalar o Bacula 13.0.4 no Debian 12 e o Bacularis como
alternativa ao Baculum e funcionou perfeitamente.
Se alguém tiver dificuldade eu posso ajudar.


José Ferreira Neto
Profissional TI
Músico cristão membro da Assembleia de Deus.
*Faça contato comigo | Visite meu site*
Emails: netto@gmail.com | netto.li...@gmail.com
Lattes: https://t.co/O3fjQb6Zfb
Twitter's: @netto_info
<http://www.facebook.com/profile.php?id=10106146383>MSN:
netto@gmail.com
Perfil: http://fb.com/nettux
LinkedIn: https://www.linkedin.com/in/nettux/




Em seg., 19 de fev. de 2024 às 15:41, Tomasz Świderski 
escreveu:

> Thanks. Now it's ok
>
> W dniu 19.02.2024 o 13:48, Eric Bollengier pisze:
> > Hello Tomasz,
> >
> > On 2/18/24 17:44, Tomasz Świderski wrote:
> >>
> >> When trying to install Bacula 13.0.4 on Debian 12 Bookworm, when I
> >> enter the "apt update" command, an error is shown:
> >>
> >> E: Splitting of clearsigned file
> >>
> /var/lib/apt/lists/partial/www.bacula.org_packages_65d0b113ad6f6_debs_13.0.4_dists_bookworm_Release
>
> >> failed as it doesn't contain all expected parts
> >> E: The repository
> >> 'https://www.bacula.org/packages/65d0b113ad6f6/debs/13.0.4 bookworm
> >> Release' provides only weak security information.
> >>
> >>
> >> It seems to me that the Packages and Release files in the
> >>
> https://www.bacula.org/packages//debs/13.0.4/dists/bookworm/main/binary-amd64/
> >> repository should not be empty.
> >>
> >> The installation from the Ubuntu jammy repository was successful.
> > I have fixed the issue and re-uploaded new binaries, it should work now.
> >
> > Best Regards,
> > Eric
>
>
> ___
> 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] Having difficulty mounting curlftpfs on bacula : "Device is BLOCKED waiting for mount of volume"

2023-11-30 Thread José Ferreira Neto
Não sei se isso resolve para o seu caso, mas no meu caso resolveu.

Autochanger {
  Name = Bacula-SD1
  Device = Bacula-SD1-Dev1, Bacula-SD1-Dev2
  Changer Command = ""
  Changer Device = /dev/null
}

Device {
  Name = Bacula-SD1-Dev1
  Media Type = Diretorio-Local
  Archive Device = /tmp/bacula
  *LabelMedia = yes;   # lets Bacula label unlabeled media*
  Random Access = Yes;
  AutomaticMount = yes;   # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
  Maximum Concurrent Jobs = 5
}
----
José Ferreira Neto
Profissional TI
Músico cristão membro da Assembleia de Deus.
*Faça contato comigo | Visite meu site*
Emails: netto@gmail.com | netto.li...@gmail.com
Lattes: https://t.co/O3fjQb6Zfb
Twitter's: @netto_info
<http://www.facebook.com/profile.php?id=10106146383>MSN:
netto@gmail.com
Perfil: http://fb.com/nettux
LinkedIn: https://www.linkedin.com/in/nettux/




Em qua., 29 de nov. de 2023 às 12:10, Josh Fisher via Bacula-users <
bacula-users@lists.sourceforge.net> escreveu:

>
> On 11/29/23 05:47, MylesDearBusiness via Bacula-users wrote:
> >
> > Hello, Bacula experts.
> >
> > Due to message length limitations of this mailing list, I have been
> > unable to post the majority of necessary details, which is why I was
> > using my github gist system to store, apologies for the confusion or
> > inconvenience this caused.  I just thought it would be more confusing
> > to break up the details into multiple messages.
> >
> > The latest after following up on some of Bill's suggestions, I added a
> > second device in my File Changer and now bconsole shows I am being
> > asked to execute the "label" command, which is failing.
> >
> > As a reminder, I'm running bacula-dir under user "bacula" (which does
> > not have access to the storage mount /mnt/my_backup).
> > I'm running bacula-sd and bacula-fd under user "backupuser" which has
> > sole permission to re ad/write files under this mount.
> >
>
> Is SELinux or AppArmor enabled? That could block writes even if Unix
> permissions are correct.
>
>
> > Please see
> > https://gist.github.com/mdear/99ed7d56fd5611216ce08ecff6244c8b for
> > more, I just added a new comment with additional details.
> >
> > Thanks,
> >
> > 
> >
> >
> >
> >
> > ___
> > 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
>
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] Error: failed to load the database dbi driver mysql at ./bacula-backup-lib.pl line 46

2023-06-27 Thread José Ferreira Neto
Here's a tip for those who are angry about the error in the Bacula
module in Webmin (Tested with Debian 12 and Bacula 13.0.1)
If your Bacula uses PostgreSQL
Do this: apt-get install libdbd-pg-perl
If you use MySQL
apt-get install libdbd-mysql-perl
Sorted out!



José Ferreira Neto
Profissional TI
Músico cristão membro da Assembleia de Deus.
*Faça contato comigo | Visite meu site*
Emails: netto@gmail.com | netto.li...@gmail.com
Lattes: https://t.co/O3fjQb6Zfb
Twitter's: @netto_info
<http://www.facebook.com/profile.php?id=10106146383>MSN:
netto@gmail.com
Perfil: http://fb.com/nettux
LinkedIn: https://www.linkedin.com/in/nettux/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users