Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

directory ocsreports missing with OCS server GIT install?

Did an install with copy derived from

git clone https://github.com/OCSInventory-NG/OCSInventory-Server.git

This install ran fine until the point where ocsreports should be copied:

+----------------------------------------------------------+
| Installing files for Administration server...            |
+----------------------------------------------------------+

Creating PHP directory /some/path/ocsinventory-server/share/ocsreports.
Copying PHP files to /some/path/ocsinventory-server/share/ocsreports.
*** ERROR: Unable to copy files in /some/path/ocsinventory-server/share/ocsreports, please look at error in /some/path/OCSInventory-Server/ocs_server_setup.log and fix !

Installation aborted !

It appears to me as if this directory is missing from the GIT distro. Or is it not OK to install this way?

Thanks for any hints, Tom

in OCS Inventory NG server for Unix by (150 points)

1 Answer

0 votes
 
Best answer
Hi,

Use git clone https://github.com/OCSInventory-NG/OCSInventory-ocsreports.git to get ocsreports. ocsreports and ocsserver are separated on github.

Regards

Frank
by (90.2k points)
selected by

Frank, thanks, that is very helpful.

I'm not yet fully clear:

  • the "classic" download OCSNG_UNIX_SERVER-2.2RC1.tar.gz will give me both ocsreports and ocsserver, all under the OCSNG_UNIX_SERVER-master directory
  • git clone of both URLs will give me two subdirectories: OCSInventory-Server  and OCSInventory-ocsreports

Does that mean, that I should abort the ./setup.sh started within OCSInventory-Server at the "Do you wish to setup Administration Server (Web Administration Console)..." stage, and start another setup within the OCSInventory-ocsreports subdir afterwards?

Thanks, Tom

OK, the following seems to do:

ln -s ../OCSInventory-ocsreports ocsreports

Did I miss this in the docs?

 
Powered by Question2Answer
...