Bug#512660: ocsinventory-server cannot work 'cause many files are missing
Le 5727 Septembre 1993, Daniel Dehennin a envoyé: Package: ocsinventory-server Version: 1.02~rc2-1 Severity: normal Hello, This is only my point of view, but why not creating the database where it is configured (using dbconfig) ? This will permit to automate the installation of OCS instead of going through install.php. Patches in #529595 make it works ;-) Regards. -- Daniel Dehennin Récupérer ma clef GPG: gpg --keyserver pgp.mit.edu --recv-keys 0x6A2540D1 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#512660: ocsinventory-server cannot work 'cause many files are missing
Package: ocsinventory-server Version: 1.02~rc2-1 Severity: normal Hello, This is only my point of view, but why not creating the database where it is configured (using dbconfig) ? This will permit to automate the installation of OCS instead of going through install.php. Regards. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (90, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29.1+hati.2 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#512660: ocsinventory-server cannot work 'cause many files are missing
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
Bug#512660: ocsinventory-server cannot work 'cause many files are missing
On Tue, Jan 27, 2009 at 10:39:12AM +0100, t...@mediaforest.net wrote: 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 ? Because there is one package creating the database, while the other is only configuring the access to a database which should already exist. The fact that it creates an empty database is only a side effect from dbconfig-common (maybe a feature request could be sent to ask dbconfig-common for a way to configure a read access on a DB without creating it). Maybe this should be clarified in the README.Debian (yet the funny this is that you get this file only *after* installing one of the packages ...) Cheers, Pierre -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#512660: ocsinventory-server cannot work 'cause many files are missing
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 : Database The Debian package uses dbconfig to automatically create the database user and the database. The schema and data will be created by the install.php script (see later for instructions). If you choose not to use dbconfig, you will have to create them manually, and configure files /etc/ocsinventory/dbconfig.inc.php and /etc/ocsinventory/ocsinventory.conf Important: even if the debian package allows to change the database name, using a different name from the default (ocsweb) will probably cause problems, as the name is hardcoded in many files. This is being fixed. 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 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 -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.24-etchnhalf.1-686 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages ocsinventory-server depends on: ii apache22.2.3-4+etch6 Next generation, scalable, extenda ii apache2-mpm-prefork [apach 2.2.3-4+etch6 Traditional model for Apache HTTPD ii cdebconf [debconf-2.0] 0.114etch1Debian Configuration Management Sy ii dbconfig-common1.8.29+etch1 common framework for packaging dat ii debconf [debconf-2.0] 1.5.11etch2 Debian configuration management sy ii libapache-dbi-perl 1.04-0.1 Connect apache server to database ii libapache2-mod-perl2 2.0.2-2.4 Integration of perl with the Apach ii libcompress-zlib-perl 1.42-2Perl module for creation and manip ii libdbd-mysql-perl 3.0008-1 A Perl5 database interface to the ii libdbi-perl1.53-1etch1 Perl5 database interface by Tim Bu ii libnet-ip-perl 1.25-2Perl extension for manipulating IP ii libxml-simple-perl 2.14-5Perl module for reading and writin ii ucf2.0020Update Configuration File: preserv Versions of packages ocsinventory-server recommends: pn ocsinventory-reports none (no description available) -- debconf information: ocsinventory-server/password-confirm: (password omitted) ocsinventory-server/mysql/admin-pass: (password omitted) * ocsinventory-server/mysql/app-pass: (password omitted) * ocsinventory-server/app-password-confirm: (password omitted) ocsinventory-server/internal/skip-preseed: true ocsinventory-server/remote/newhost: ocsinventory-server/install-error: abort ocsinventory-server/passwords-do-not-match: ocsinventory-server/upgrade-error: abort ocsinventory-server/remote/port: * ocsinventory-server/mysql/method: unix socket ocsinventory-server/database-type: mysql * ocsinventory-server/db/app-user: ocs * ocsinventory-server/mysql/admin-user: root ocsinventory-server/remove-error: abort ocsinventory-server/internal/reconfiguring: true * ocsinventory-server/dbconfig-install: true ocsinventory-server/dbconfig-upgrade: true ocsinventory-server/purge: false ocsinventory-server/upgrade-backup: true ocsinventory-server/remote/host: * ocsinventory-server/dbconfig-reinstall: true * ocsinventory-server/db/dbname: ocsweb ocsinventory-server/dbconfig-remove: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#512660: ocsinventory-server cannot work 'cause many files are missing
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