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.6 available

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

2.1 to 2.2 error upgrading (ubuntu)

I'm trying to update my 2.1 installation to 2.2, after answer all questions in setup.sh it stops here:


| Installing files for Administration server...            |


Creating PHP directory /usr/share/ocsinventory-reports/ocsreports.

Copying PHP files to /usr/share/ocsinventory-reports/ocsreports.

*** ERROR: Unable to copy files in /usr/share/ocsinventory-reports/ocsreports, please look at error in /tmp/OCSInventory-Server-2.2/ocs_server_setup.log and fix !

In the log appears this:

Copying PHP files to /usr/share/ocsinventory-reports/ocsreports

cp: cannot stat 'ocsreports/*': No such file or directory

The directory exists and the permissions seems right, any hint?

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

1 Answer

+1 vote

Create a directory ocsreports in the directory where setup.sh is stored. Then download https://github.com/OCSInventory-NG/OCSInventory-ocsreports/archive/master.zip (ocsreports files). Unzip the file into <your_directory>/ocsreports.


by (79.2k points)
Thks, problem solved.
Powered by Question2Answer