Bacularis PHP Application Launch Error

14 views
Skip to first unread message

Meth

unread,
Sep 4, 2024, 4:36:04 AMSep 4
to bacularis
Hello, I am installing Bacularis on a Prod machine, but I have encountered a screen that I have never encountered in the previous installation.

We installed it by following the links below;

https://users.bacularis.com/user/packages/
(I installed bacularis by getting the necessary repositories from here)

https://bacularis.app/doc/brief/installation.html#id2
(Here I performed the DEB-based installation)

But I encountered the screen in the image. How can I access the admin panel after this stage?
Screenshot_20240904_113423.png

Marcin Haba

unread,
Sep 4, 2024, 5:19:41 AMSep 4
to Meth, bacularis
On Wed, 4 Sept 2024 at 10:36, Meth <bys...@gmail.com> wrote:
>
> Hello, I am installing Bacularis on a Prod machine, but I have encountered a screen that I have never encountered in the previous installation.

Hi Meth,

This screen means that your web server has not enabled the PHP support.

Could you please run these commands below? This is example for PHP
8.2, but if your PHP version is different, you need to adapt the
a2enconf command to that version:

a2enmod proxy_fcgi
a2enconf php8.2-fpm
systemctl restart apache2

Is it better now?

Best regards,
Marcin Haba (gani)

Marcin Haba

unread,
Sep 4, 2024, 5:20:47 AMSep 4
to Meth, bacularis
On Wed, 4 Sept 2024 at 11:19, Marcin Haba <gani...@gmail.com> wrote:
> a2enmod proxy_fcgi
> a2enconf php8.2-fpm
> systemctl restart apache2

I forgot to mention that this is an example for the Apache web server.
Are you using Apache?

Meth

unread,
Sep 4, 2024, 5:25:57 AMSep 4
to bacularis
Hello Marcin is my saviour :)

I tested the commands you mentioned and before that I made sure about my php version. I am using 7.4.

After these commands the panel display is still the same :(


root@bacula:/etc/apache2# a2enmod proxy_fcgi
Considering dependency proxy for proxy_fcgi:
Module proxy already enabled
Module proxy_fcgi already enabled

root@bacula:/etc/apache2# php -v
PHP 7.4.3-4ubuntu2.23 (cli) (built: Jun 17 2024 13:22:20) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3-4ubuntu2.23, Copyright (c), by Zend Technologies
root@bacula:/etc/apache2# a2enconf php8.2-fpm
ERROR: Conf php8.2-fpm does not exist!
root@bacula:/etc/apache2#

4 Eylül 2024 Çarşamba tarihinde saat 12:19:41 UTC+3 itibarıyla Marcin Haba şunları yazdı:

Meth

unread,
Sep 4, 2024, 5:26:41 AMSep 4
to bacularis
Yeah, i am using Apache as a web server.

4 Eylül 2024 Çarşamba tarihinde saat 12:20:47 UTC+3 itibarıyla Marcin Haba şunları yazdı:

Marcin Haba

unread,
Sep 4, 2024, 5:28:36 AMSep 4
to Meth, bacularis
Hi Meth,

If you are using PHP 7.4 then this command is the following:

a2enconf php7.4-fpm

This is the needed change that I mentioned in the previous message :-)

And after you need to restart Apache once again:

systemctl restart apache2

Best regards,
Marcin Haba (gani)

> --
> You received this message because you are subscribed to the Google Groups "bacularis" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to bacularis+...@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/bacularis/801b2331-e571-42d4-982c-30bb63c63c94n%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Meth

unread,
Sep 4, 2024, 5:29:51 AMSep 4
to bacularis
I solved the problem :)
I actually applied a solution similar to the solution I did to Redhat;

sudo a2enconf php7.4-fpm
sudo systemctl restart apache2

Just when I had the solution, you wrote the answer.
You've shown again that you deserve the nickname ‘saviour’, thank you.

Marcin Haba

unread,
Sep 4, 2024, 6:17:54 AMSep 4
to Meth, bacularis
Hello Meth, hello Everybody,

On Wed, 4 Sept 2024 at 11:29, Meth <bys...@gmail.com> wrote:
> I solved the problem :)
> I actually applied a solution similar to the solution I did to Redhat;
>
> sudo a2enconf php7.4-fpm
> sudo systemctl restart apache2

Great :-)

By the way, a few days ago in this documentation I updated the PHP
version in this php-fpm command from 7.4 to 8.2 to keep this chapter
up-to-date with newer PHP versions. So, in the past it could work with
your PHP 7.4 without modifying this original command.

At the moment I improved this chapter and listed there the a2enconf
command for all supported PHP versions. I hope it will be easier for
users to find the proper a2enconf command. If not, please let me know.

https://bacularis.app/doc/brief/installation.html#id2

(you may need to refresh web browser cache to see this new change)

> Just when I had the solution, you wrote the answer.
> You've shown again that you deserve the nickname ‘saviour’, thank you.

:-D

Meth

unread,
Sep 4, 2024, 6:25:44 AMSep 4
to bacularis
Thanks for your suggestion, I'll let you know if I encounter any problems. :)

4 Eylül 2024 Çarşamba tarihinde saat 13:17:54 UTC+3 itibarıyla Marcin Haba şunları yazdı:
Reply all
Reply to author
Forward
0 new messages