Hello, I can confirm that after installing both server reports on the same server, makes it work, but there is still a
bug : if the two packages might be on different hosts, why is there an empty database created by server package on the
host where it is installed while it's reports package which create the tables on the host where it is installed ?
Pierre Chifflier a écrit :
severity 512660 normal
tags 512660 +wontfix
thanks
On Thu, Jan 22, 2009 at 05:33:59PM +0100, root wrote:
Package: ocsinventory-server
Version: 1.01-6
Severity: grave
Justification: renders package unusable
After installing ocsinventory-server, it doesn't work, because while the
database has been created, there is no tables inside it.
The indications given in /usr/share/doc/ocsinventory-server/README.Debian are
mainly wrong :
[...]
Post-installation notes
-----------------------
Please note that after first installation, or after an upgrade, it's recommended
to call http://localhost/ocsreports/install.php ; please also note that this
particular page is restricted to localhost in /etc/ocsinventory/ocsreports.conf.
For security reasons, this script is protected by an apache authentication,
using
/etc/ocsinventory/htpasswd.setup
install.php isn't a part of the package,
/etc/ocsinventory/dbconfig.inc.php isn't a part of the package
It seems you have missed the way ocs inventory works:
-server is the *Communication Server* only
-reports is the web interface
Basically, both are required. They are separate packages because they
can be installed on different hosts.
install.php is part of ocsinventory-reports
there isn't any ocsreports location or directory created by the package, the
only configured are the locations
ocsinventory and ocsinterface so it's impossible to call
http://localhost/ocsreports/install.php after installation
ocsreports/install.php
It seems that those file are parts of ocsinventory-reports, but there is no
dependency
# apt-cache show ocsinventory-server | grep reports
Recommends: ocsinventory-reports
-- System Information:
Debian Release: 4.0
Versions of packages ocsinventory-server recommends:
pn ocsinventory-reports <none> (no description available)
.. which you have willingly not installed. As said above, it is not a
strict dependency because it is not required to be on the same host.
I have therefore downgraded the bug report severity to normal. I'll wait
for your confirmation that installing all packages make ocs works, and
close the bug.
Cheers,
Pierre
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org