Discussion:
[bareos-users] webacula, bareos-webui and bacula-web install errors
h***@gmail.com
2015-01-30 22:52:33 UTC
Permalink
I tried to install the bareos contrib applications and have found the following problems:

1) yum reports: bareos-webui-0.1.git.1418833784-42.2.fc18.noarch (contrib)
Requires: php-ZendFramework2 >= 2.2.0 and fails


2) webacula.noarch 0:5.5.2.2.git.1420467742-34.1.fc18
bacula-web.noarch 0:5.2.13.1-4.3.fc18
bareos-webui-0.1.git.1418833784-42.2.fc18.noarch

My bareos system is PostgreSQL based, shouldn't they use postgres?
For all three systems, yum tried to install php-mysql, is that correct?
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Bergkemper
2015-02-02 12:32:23 UTC
Permalink
Post by h***@gmail.com
1) yum reports: bareos-webui-0.1.git.1418833784-42.2.fc18.noarch (contrib)
Requires: php-ZendFramework2 >= 2.2.0 and fails
Sorry, we have only tested up from Fedora 19 and it seems Fedora 18 does
not ship with Zend Framework 2.

I feel sorry, but as Fedora 18 is pretty old now, we are going to
disable the build, so there won't be any updates or Zend Framework 2
packages from our site.

I would recommend upgrading your distribution >= Fedora 20 if you
would like to use bareos-webui.
Post by h***@gmail.com
2) webacula.noarch 0:5.5.2.2.git.1420467742-34.1.fc18
bacula-web.noarch 0:5.2.13.1-4.3.fc18
bareos-webui-0.1.git.1418833784-42.2.fc18.noarch
My bareos system is PostgreSQL based, shouldn't they use postgres?
For all three systems, yum tried to install php-mysql, is that correct?
Yes, it is correct as php5-mysql is a dependency by all of them, e.g. it
delivers php5-pdo-mysql for the php5-pdo extension.

Regards
Frank
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
h***@gmail.com
2015-02-02 21:56:32 UTC
Permalink
Post by Frank Bergkemper
Post by h***@gmail.com
1) yum reports: bareos-webui-0.1.git.1418833784-42.2.fc18.noarch (contrib)
Requires: php-ZendFramework2 >= 2.2.0 and fails
Sorry, we have only tested up from Fedora 19 and it seems Fedora 18 does
not ship with Zend Framework 2.
I feel sorry, but as Fedora 18 is pretty old now, we are going to
disable the build, so there won't be any updates or Zend Framework 2
packages from our site.
I would recommend upgrading your distribution >= Fedora 20 if you
would like to use bareos-webui.
Post by h***@gmail.com
2) webacula.noarch 0:5.5.2.2.git.1420467742-34.1.fc18
bacula-web.noarch 0:5.2.13.1-4.3.fc18
bareos-webui-0.1.git.1418833784-42.2.fc18.noarch
My bareos system is PostgreSQL based, shouldn't they use postgres?
For all three systems, yum tried to install php-mysql, is that correct?
Yes, it is correct as php5-mysql is a dependency by all of them, e.g. it
delivers php5-pdo-mysql for the php5-pdo extension.
Regards
Frank
As per your suggestion, I tried a fresh install of Centos7
yum refused to install webacula because of a php-Zend Framework dependency but Zend was already installed during the installation of bareos-webui. Looks like a bug on the yum dependency list.

Also, I notice that the contrib repo for redhat/fedora systems are in a mixed state, some have zend in it, but version 1, etc etc. Probably they are not up to date.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hunt, Phillip
2015-02-03 04:23:03 UTC
Permalink
Re webacula and centos7

I had the same problems in centos7

Zend is superceded with zend2 which is NOT supported by webacula. I was reportibg all this to the webacula author working thru problems until he stopped responding or doing a new version

If I remember, i found an old zend kit for centos7 and it required a few ln links to make it even install. When running, the web screens didnt show graphics and worked intermittently. I gave up.

This was back in October, if you want to see where I got

Phil

Sent from my iPhone 6 Plus
Please ignore typos
Post by h***@gmail.com
Post by Frank Bergkemper
Post by h***@gmail.com
1) yum reports: bareos-webui-0.1.git.1418833784-42.2.fc18.noarch (contrib)
Requires: php-ZendFramework2 >= 2.2.0 and fails
Sorry, we have only tested up from Fedora 19 and it seems Fedora 18 does
not ship with Zend Framework 2.
I feel sorry, but as Fedora 18 is pretty old now, we are going to
disable the build, so there won't be any updates or Zend Framework 2
packages from our site.
I would recommend upgrading your distribution >= Fedora 20 if you
would like to use bareos-webui.
Post by h***@gmail.com
2) webacula.noarch 0:5.5.2.2.git.1420467742-34.1.fc18
bacula-web.noarch 0:5.2.13.1-4.3.fc18
bareos-webui-0.1.git.1418833784-42.2.fc18.noarch
My bareos system is PostgreSQL based, shouldn't they use postgres?
For all three systems, yum tried to install php-mysql, is that correct?
Yes, it is correct as php5-mysql is a dependency by all of them, e.g. it
delivers php5-pdo-mysql for the php5-pdo extension.
Regards
Frank
As per your suggestion, I tried a fresh install of Centos7
yum refused to install webacula because of a php-Zend Framework dependency but Zend was already installed during the installation of bareos-webui. Looks like a bug on the yum dependency list.
Also, I notice that the contrib repo for redhat/fedora systems are in a mixed state, some have zend in it, but version 1, etc etc. Probably they are not up to date.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
For more options, visit https://groups.google.com/d/optout.
________________________________
This message (including any attachments) may contain confidential, proprietary, privileged and/or private information. The information is intended to be for the use of the individual or entity designated above. If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments. Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hilario Fochi
2015-02-03 12:50:52 UTC
Permalink
Hi Phil,

Thanks very much for your report. I will stop trying testing these contrib packages for now and wait for the developers declare it stable or at least beta state.

This will let me focus on the most important thing: the backup of our data and some proficiency with plain bareos.

Best Regards,

Hilario
Post by Hunt, Phillip
Re webacula and centos7
I had the same problems in centos7
Zend is superceded with zend2 which is NOT supported by webacula. I was reportibg all this to the webacula author working thru problems until he stopped responding or doing a new version
If I remember, i found an old zend kit for centos7 and it required a few ln links to make it even install. When running, the web screens didnt show graphics and worked intermittently. I gave up.
This was back in October, if you want to see where I got
Phil
Sent from my iPhone 6 Plus
Please ignore typos
Post by h***@gmail.com
Post by Frank Bergkemper
Post by h***@gmail.com
1) yum reports: bareos-webui-0.1.git.1418833784-42.2.fc18.noarch (contrib)
Requires: php-ZendFramework2 >= 2.2.0 and fails
Sorry, we have only tested up from Fedora 19 and it seems Fedora 18 does
not ship with Zend Framework 2.
I feel sorry, but as Fedora 18 is pretty old now, we are going to
disable the build, so there won't be any updates or Zend Framework 2
packages from our site.
I would recommend upgrading your distribution >= Fedora 20 if you
would like to use bareos-webui.
Post by h***@gmail.com
2) webacula.noarch 0:5.5.2.2.git.1420467742-34.1.fc18
bacula-web.noarch 0:5.2.13.1-4.3.fc18
bareos-webui-0.1.git.1418833784-42.2.fc18.noarch
My bareos system is PostgreSQL based, shouldn't they use postgres?
For all three systems, yum tried to install php-mysql, is that correct?
Yes, it is correct as php5-mysql is a dependency by all of them, e.g. it
delivers php5-pdo-mysql for the php5-pdo extension.
Regards
Frank
As per your suggestion, I tried a fresh install of Centos7
yum refused to install webacula because of a php-Zend Framework dependency but Zend was already installed during the installation of bareos-webui. Looks like a bug on the yum dependency list.
Also, I notice that the contrib repo for redhat/fedora systems are in a mixed state, some have zend in it, but version 1, etc etc. Probably they are not up to date.
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Ashley
2015-02-05 03:52:17 UTC
Permalink
Hi Guys,

I successfully got bareos-webui working in Centos 7.

Make sure you have epel installed:

yum install epel-release

I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.

Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below

# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hilario Fochi
2015-02-25 19:17:36 UTC
Permalink
Post by Ashley
Hi Guys,
I successfully got bareos-webui working in Centos 7.
yum install epel-release
I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.
Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below
# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
Hello Ashley.
I confirm that bareos-webui did install in Centos 7 with epel-release.

Initially it presented a "Forbidden You don't have permission to access /bareos-webui/statistics/ on this server"
It only worked after I inserted the "Require all granted" line as you instructed.

It also presented connection failure to postgresql due to a SELinux restriction.
The solution as suggested by SELinux alert is to set a SELinux boolean:
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_network_connect_db 1

Frank Bergkemper:
May I kindly suggest that you update your installation information on github.com (INSTALL.md file) to include these instructions?
While there you could also include the information that on RedHat, the bareos-webui apache configuration file should be in /etc/httpd/conf.d instead of /etc/apache2/conf.d
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Bergkemper
2015-03-02 12:55:47 UTC
Permalink
Post by Hilario Fochi
Post by Ashley
Hi Guys,
I successfully got bareos-webui working in Centos 7.
yum install epel-release
I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.
Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below
# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
Hello Ashley.
I confirm that bareos-webui did install in Centos 7 with epel-release.
Initially it presented a "Forbidden You don't have permission to access /bareos-webui/statistics/ on this server"
It only worked after I inserted the "Require all granted" line as you instructed.
It also presented connection failure to postgresql due to a SELinux restriction.
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_network_connect_db 1
May I kindly suggest that you update your installation information on github.com (INSTALL.md file) to include these instructions?
While there you could also include the information that on RedHat, the bareos-webui apache configuration file should be in /etc/httpd/conf.d instead of /etc/apache2/conf.d
Hi Hilario,

SELinux stuff excluded, mostly done with the new release, I guess.

Steps to do, if SELinux is enabled, will be added to the documentation
after some testing with latest changes.

If you already have done that or would like to, you are welcome to
contribute something.

Frank
--
Frank Bergkemper ***@dass-it.de
dass IT GmbH Phone: +49.221.3565666-94
http://www.dass-IT.de/ Fax : +49.221.3565666-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hilario Fochi
2015-03-06 13:59:10 UTC
Permalink
Post by Frank Bergkemper
Post by Hilario Fochi
Post by Ashley
Hi Guys,
I successfully got bareos-webui working in Centos 7.
yum install epel-release
I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.
Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below
# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
Hello Ashley.
I confirm that bareos-webui did install in Centos 7 with epel-release.
Initially it presented a "Forbidden You don't have permission to access /bareos-webui/statistics/ on this server"
It only worked after I inserted the "Require all granted" line as you instructed.
It also presented connection failure to postgresql due to a SELinux restriction.
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_network_connect_db 1
May I kindly suggest that you update your installation information on github.com (INSTALL.md file) to include these instructions?
While there you could also include the information that on RedHat, the bareos-webui apache configuration file should be in /etc/httpd/conf.d instead of /etc/apache2/conf.d
Hi Hilario,
SELinux stuff excluded, mostly done with the new release, I guess.
Steps to do, if SELinux is enabled, will be added to the documentation
after some testing with latest changes.
If you already have done that or would like to, you are welcome to
contribute something.
Frank
--
Frank Bergkemper frank.bergkemperATdass-it.de
dass IT GmbH Phone: +49.221.3565666-94
http://www.dass-IT.de/ Fax : +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan DÃŒhr, Maik Außendorf, Jörg Steffens, Philipp Storz
Frank,
I will continue to test the bareos-webui and will report any SELinux issues or solution I may have.
I will indeed install it with SELinux enforcing because it is the correct and sensible way to do it. As soon as we figure-out all the settings, than the rpm install scriptlet should be updated to fix it. Also the install docs must have a section dedicated to SELinux and how to manually set it.
All the Best,

Hilário
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Frank Bergkemper
2015-03-06 15:06:34 UTC
Permalink
Post by Hilario Fochi
Post by Frank Bergkemper
Post by Hilario Fochi
Post by Ashley
Hi Guys,
I successfully got bareos-webui working in Centos 7.
yum install epel-release
I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.
Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below
# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
Hello Ashley.
I confirm that bareos-webui did install in Centos 7 with epel-release.
Initially it presented a "Forbidden You don't have permission to access /bareos-webui/statistics/ on this server"
It only worked after I inserted the "Require all granted" line as you instructed.
It also presented connection failure to postgresql due to a SELinux restriction.
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_network_connect_db 1
May I kindly suggest that you update your installation information on github.com (INSTALL.md file) to include these instructions?
While there you could also include the information that on RedHat, the bareos-webui apache configuration file should be in /etc/httpd/conf.d instead of /etc/apache2/conf.d
Hi Hilario,
SELinux stuff excluded, mostly done with the new release, I guess.
Steps to do, if SELinux is enabled, will be added to the documentation
after some testing with latest changes.
If you already have done that or would like to, you are welcome to
contribute something.
Frank
--
Frank Bergkemper frank.bergkemperATdass-it.de
dass IT GmbH Phone: +49.221.3565666-94
http://www.dass-IT.de/ Fax : +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
Frank,
I will continue to test the bareos-webui and will report any SELinux issues or solution I may have.
I will indeed install it with SELinux enforcing because it is the correct and sensible way to do it. As soon as we figure-out all the settings, than the rpm install scriptlet should be updated to fix it. Also the install docs must have a section dedicated to SELinux and how to manually set it.
All the Best,
Hilário
Hi Hilario,

I've already pushed a commit with an updated INSTALL.md including
SELinux configuration. By setting these two booleans, I was able to get
bareos-webui running on a CentOS 7 box with SELinux enabled.

# Allow HTTPD scripts and modules to connect to the network
setsebool -P httpd_can_network_connect on

# Allow HTTPD to connect to a remote database
setsebool -P httpd_can_network_connect_db on

See:
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Security-Enhanced_Linux/sect-Security-Enhanced_Linux-Booleans-Configuring_Booleans.html


Regards,
Frank
--
Frank Bergkemper ***@dass-it.de
dass IT GmbH Phone: +49.221.3565666-94
http://www.dass-IT.de/ Fax : +49.221.3565666-10

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Stephan Dühr
2015-03-06 18:02:10 UTC
Permalink
Post by Hilario Fochi
Post by Frank Bergkemper
Post by Hilario Fochi
Post by Ashley
Hi Guys,
I successfully got bareos-webui working in Centos 7.
yum install epel-release
I used the contrib repo from RHEL 7 as there was no Centos 7 contrib Repo yet.
Also you need to edit /etc/httpd/conf.d/bareos-webui.conf and update the Allow From syntax to the new apache 2.4 syntax like below
# Deny from all
# Allow from localhost
# Allow from ::1
Require all granted
Hello Ashley.
I confirm that bareos-webui did install in Centos 7 with epel-release.
Initially it presented a "Forbidden You don't have permission to access /bareos-webui/statistics/ on this server"
It only worked after I inserted the "Require all granted" line as you instructed.
It also presented connection failure to postgresql due to a SELinux restriction.
sudo setsebool -P httpd_can_network_connect 1
sudo setsebool -P httpd_can_network_connect_db 1
May I kindly suggest that you update your installation information on github.com (INSTALL.md file) to include these instructions?
While there you could also include the information that on RedHat, the bareos-webui apache configuration file should be in /etc/httpd/conf.d instead of /etc/apache2/conf.d
Hi Hilario,
SELinux stuff excluded, mostly done with the new release, I guess.
Steps to do, if SELinux is enabled, will be added to the documentation
after some testing with latest changes.
If you already have done that or would like to, you are welcome to
contribute something.
Frank
--
Frank Bergkemper frank.bergkemperATdass-it.de
dass IT GmbH Phone: +49.221.3565666-94
http://www.dass-IT.de/ Fax : +49.221.3565666-10
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRB52500
GF: Stephan Dühr, Maik Außendorf, Jörg Steffens, Philipp Storz
Frank,
I will continue to test the bareos-webui and will report any SELinux issues or solution I may have.
I will indeed install it with SELinux enforcing because it is the correct and sensible way to do it. As soon as we figure-out all the settings, than the rpm install scriptlet should be updated to fix it. Also the install docs must have a section dedicated to SELinux and how to manually set it.
Simply adding setsebool to %post may not be compliant with common Fedora/EPEL packaging
Guidelines and may also cause other problems if not done properly. While Bareos Packages
do not necesarily need to comply to them, nevertheless it's better to check how to do
that properly. Some popular EPEL packages like drupal or wordpress don't have any setsebool
in %post. Others have an additional -selinux package, for example dokuwiki-selinux, but
that does only set contexts.

See http://fedoraproject.org/wiki/SELinux_Policy_Modules_Packaging_Draft
and some interesting remarks here: https://bugzilla.redhat.com/show_bug.cgi?id=801752

Regards
--
Stephan Dühr ***@bareos.com
Bareos GmbH & Co. KG Phone: +49 221-630693-90
http://www.bareos.com

Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf,
J. Steffens, Philipp Storz, M. v. Wieringen
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...