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.

No file in deployment

Hello,

I'm trying to deploy some apllications using ocs but my server doesn't seem to want to create the packages.

When i click on validate it tells me the package has been created but the folder is empty.

i checked and i have no errors in apache and the folder with the timestamps and a file "info" is created but it's content seems odd : 

<?xml version="1.0" encoding="UTF-8"?>

<DOWNLOAD ID="1680268431" PRI="5" ACT="LAUNCH" DIGEST="" PROTO="HTTPS" FRAGS="0" DIGEST_ALGO="MD5" DIGEST_ENCODE="Hexa" NAME="executable.exe -S" NOTIFY_USER="0" NOTIFY_TEXT="" NOTIFY_COUNTDOWN="" N$

it's my first time trying deployment so i've certainly made an error but i don't find it.

Does anyone have an idea ? thanks by advance

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

5 Answers

0 votes

Hi @sphinx,

What version of the OCS server are you using? Did you install all the dependencies correctly?

Is this folder empty (/var/lib/ocsinventory-reports/download/1680268431/) ?

About creating your package:

If old version, is it a ZIP file that you sent with the "executable.exe" file as content?

My test with a package deployment on OCS server v. 2.11.1 :

<?xml version="1.0" encoding="UTF-8"?>

<DOWNLOAD ID="1680862042" PRI="5" ACT="LAUNCH" DIGEST="cd1a025ac90e725ed85d2849397e6c51" PROTO="HTTP" FRAGS="1" DIGEST_ALGO="MD5" DIGEST_ENCODE="Hexa" NAME="executable.exe -S" NOTIFY_USER="0" NOTIFY_TEXT="" NOTIFY_COUNTDOWN="" NOTIFY_CAN_ABORT="0" NOTIFY_CAN_DELAY="0" NEED_DONE_ACTION="0" NEED_DONE_ACTION_TEXT="" GARDEFOU="rien" />

It seems that your executable file was not well chosen... 

by (32.6k points)
0 votes

Hi, thanks for answering,

My version is 2.10.0, I installed it a few months ago so I don't really remember but I don't think there was a problem with any dependecy, how can I check that?

for the folder /var/lib/ocsinventory-reports/download/1680268431/ there's only the info file (showed in my first post) and nothing else.

by (200 points)
0 votes

Indeed, you have errors in the construction of the info file... and certainly for the sending of the executable file in the OCS server.

Have you tried deploying a package using the old method?

Deployment > Build > Operating system > Windows > Others > Custom package

Same issue ?

Were the OCS server installation sources from a stable or nightly release ?

by (32.6k points)
0 votes
Custom packages doesn't work either, it ends up the same way.

I don't really remember but i'm pretty sure it was a stable version.
by (200 points)
0 votes
Hi, I am facing the same issue. Have you sorted it out?
by (200 points)
 
Powered by Question2Answer
...