Coder Social home page Coder Social logo

officepack's People

Contributors

atineon avatar charleneauger avatar damienbelliard avatar djily90 avatar eduardomozart avatar fbomj avatar gehasia avatar gillesdubois avatar lea9250 avatar rudylaurent avatar vdeville avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

officepack's Issues

Plugin problem with OCS Server v2.6

Hi,

I'm using OCS Server v2.6 on Debian 9.9
Officepack is installed this way:

aptitude install python3-pip -y
pip3 install scp
cd /usr/share/ocsinventory-reports/ocsreports/extensions
wget https://github.com/PluginsOCSInventory-NG/officepack/releases/download/3.0/officepack.zip
unzip officepack.zip
rm -f officepack.zip
# Go to http://server/ocsreports and install the plugin
cd /usr/share/ocsinventory-reports/ocsreports/tools
python3 install_plugin.py

So far, so good.

Now, I'm trying to inventory 2 PC:

  • Windows 10 x64 with Office 2019 x64 and Windows agent v2.6.0.0 standalone
  • Windows 7 x86 with Office 2007 x86 and Windows agent v2.3.1.1 standalone
    I've manually copied the vbs script into the Plugins directory on both PCs

When I launch the inventory, none of the computers shows up in OCS interface.
If I delete msofficekey.vbs and relaunch the inventory, both computers shows up in OCS interface.

When I launch msofficekey.vbs manually, I can see MS Office version and key correctly.

Any advice? Thanks in advance

i can't see the licences

Hi all,

Im sorry but i try to found a solution but is not posible, i installed the plugins, and i can see in Mysql DB and log of agent the data is send to server.

mysqloffice

but when i access to ocs inventory ad the software option that this pc, i have this

resultadohtmloffice

i don't know what i have bad.

sorry for my english i speak spanish.

Thanks

ms_officepack.php query error

Greetings,

you have wrong syntax in file ms_officepack on line 38:
$sql['SQL'] .= "FROM officepack WHERE 1";
should be
$sql['SQL'] .= "FROM officepack WHERE install=1";

Also are you planning on adding all the features from previous officepack version for version 2.1?
Summary of licences was awesome feature which is missing here.

Best Regards.

a problem with key removal

Hey,
I have a problem with the 2016 office keys reporting, with the last 5 characters. The OCS agent will send 3 keys and the server will receive them, but after a while the key with the correct last octet will be removed from the server. Does anyone know why he is removed?

It's about the key from the photo
przechwytywanie

Amélioration plugin office

Améliorer le plugin Office afin :

  1. D'avoir le nombre de poste par "office key"
  2. D'avoir la liste des postes par "office key"
  3. D'avoir le nom de licences par "office key"
  4. Avoir le nom du poste associé à chaque licence ainsi que le tag
  5. Dans la liste inventaire, sous le poste avoir la possibilité d'afficher la licence office.

Office 2016 standard retrieve incomplete

Hello OCSNG team,

I have a problem for retrieving Office 2016 standard key.
phpmyadmin

The bit is 64 but retrieve value is 1.
The key is incomplete, only last five letter be caught.
It is current for retriving Office 2013 key.

Debian 9
php7
OCSNG 2.3.1
officepack 1.1.1
windows agent 2.3.0.0

Where I can find the Keys?

I don't know if this is a real issue or it's just my mistake but I dont know where I can view the office license keys.
I installed the Plugin and it showed me that there is installed office available. But I dont see where I can get the keys ?
plugin_surface
software_surface

Can't install officekey plugin after 2.7 OCS update

I have updated OCS Server from 2.6 to 2.7 version. After the installation can't install officepack plugin.

I have deleted every element of old officepack installation even I dropped the tables in MySQL, but when I click Install in extensionmanager page produces the next message:
"Extension successfull installed !
Please, logout and re-log to finish the console installation."
Later I logout and re-log but the table in the same webpage(extensionmanager) where plugin must show is empty and if I look for the tables in MySQL I only find officepack, the first table that script creates.

I have corrected MySQL credentials in z-ocsinventory-server.conf and zz-ocsinventory-restapi.conf but same trouble.

I have been looking for ocs, apache and MySQL logs but doesn't show any error about this.

Can you help me?

I have followed all the instructions and launched scripted installation after I created all the tables structure from .sql files and the data of Office is coming to the server. I can see data in "officepack" table, but OCS web doesn't show me the Officepack details ...

Note: Sorry for my english, I'm from Spain.

office 2016 only one entry in the list

Officepack displays only one entry for office 2016.
The problem is if we have both Office 2016 and Visio 2016 installed on one station. The agent only downloads/display the latest entry.

Another problem - all the time automatically does not find keys from Office 2013 (Office 15). I have to manually modify the vbs script and change the path to OSPP.VBS.

Erreur MySQL

Lorsque j'essaye d'installer le plugin sur OCS, celui-si m'affiche un message d'erreur MySQL. Comment faire pour regler le probleme ??

image

Windows 8.1/10

WARNING *** EXECUTABLE PLUGIN => Executable plugin <C:\Program Files (x86)\OCS Inventory Agent\plugins\msofficekey.vbs> output is not UTF-8 encoded or an XML document, trying to UTF-8 encode

Access denied

Hi,

Error message when accessing licence details

Regards

Slow licenses acquisition

When I try to force the license to the inclusion within ocsinventory, often it takes a long time before it is incorporated.

Is there any way to speed it?

Also advise me whether or not to enable SSL using this plugin?

Thx for support

Office license is not shown on the computer screen query

Plugin oficepack successfully installed, but when viewing computer data (hardware, software, devices, etc ...) could not find the office of the license information. Generating the XML file with the data from the computer, the office of the license information is there.

Configure OCS plugin office

I would like to know what procedures to properly configure OCS to download the Office keys. I followed some tutorials and I can not get the information.

I would also like to know how to view this information.

I'm using CentOS 7 and testing the agent on a Windows 10 computer.

Office Click-To-Run

Hello.

Is it possible to retrieve office key in Office Click-To-Run install?

License status

Hy,
Is there any possibility to list the license status? With the older version we can set the count of the licenses and the plugin show the percentage.

"Plugins -> Office Key Management" not existent - [WORKAROUND FIXED]

Hello, I have installed the latest OCS 2.4.1 with officekey plugin 2.0. Retrieval of office keys works and I can see the office keys under "Software" for eache computer.

However, under "Plugins" I cannot see anything else than "Plugins manager":

screenshot from 2018-04-10 17-52-57

Is there something I can do to fix this?

Mistake in vbs #2?

Hi, again

Sorry, but at line #116, in " oVer = aOffID (a, 0) " I did not find the variable a in the script.
Is it a mistake?

If I want to make a contribution, how should I do it?

Best regards

PS. Ups, MY mistake. I will close the issue.

No data available in table

Hello I installed officepack on my Centos server, I used this instructions:

http://ask.ocsinventory-ng.org/8236/plugin-officepack-for-ocsserver2-3-1-ubuntu16-04
and
http://ask.ocsinventory-ng.org/4289/officepack-in-ocs-server-2-2-problem-and-solution

I have permission to my file and folder:
File: /etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/Officepack/Map.pm
Permission: -rw-rw-rw-. 1 apache root 1064 08-02 11:19 Map.pm

File: /etc/ocsinventory-server/plugins/Officepack.conf
Permission: -rw-rw-rw-. 1 apache root 58 08-02 11:17 officepack.conf

Folder: /usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail
Permission: drwxr-xr-x. 33 apache root 4096 07-19 09:48 computer_detail

I extort get new data from computer to OCS, but still I have empty "Office Key Manager"

My server:
PHP: 5.6.36
Server WWW: httpd
MYSQL: Ver 14.14 Distrib 5.6.10

OCS: ver 2.5
OfficePack: ver 2.0
WindowsAgentOCS: ver 2.3

Office key 2013 H&B

The key of MS Office 2013 Home and Business can not be read, only version 2016 Home and Business.
I use Windows 10 Pro 64 bit. The MS Office version is 32 Bit, both 2013 and 2016.
If I start the VBS script manually, I see the output only on the computer with 2016 version. The 2013 version has neither issue nor error.
I use last version of OCS Inventory 2.3.1, Agent 2.30, and Officepack 1.1.1

Please, can someone tell me what I'm doing wrong?
Thanks in advance

About officepack - OCS 2.4 Server

Good afternoon.
I write these lines in relation to the Office plugin that you have developed for OCS. I would like to know if there is a version of your plugin to know the features of Office and that it is compatible with the latest version of OCS 2.4 Server released in December 2017.
I installed the released version 2.0 of the plugin from September 2017 (before the release of the latest version of OCS) and I have two problems:

  • The first is that the plugin does not finish installing, unless you restart the Apache server.
  • Then, the client collects the Office information with the .vbs script, but does not show anything in the Miscellaneous section of the OCS administration.
    Could you help us?
    I await your news.
    Thank you very much.

officepack releases

Hello.

Can you update officepack release? You guys made changes but release is old.

OCS don't send information

I've installed the plugin and I can see it at the plugins tab, but when I try to see the information about office license, no data is showed.
I've alrun the .vbs at the windows computer and it works.

Officepack: https://github.com/PluginsOCSInventory-NG/officepack/releases/download/1.1.1/officepack.zip
PHP Version :7.0.15
Web Server :Apache/2.4.18 (Ubuntu)
Database Server :Ubuntu) version 5.7.17-0ubuntu0.16.04.1
Version OCSReports: 2.3.1

Please, can someone tell me what I'm doing wrong?

Thanks in advance

List of Office Key

Hey,

i don´t know if the function is not available or if i only don´t know how to get it.
Is there a possibility to get a list of all office Keys? With the Windows license this is possible over search with various criteria but i didn´t get it for the office license.

OCS 2.3
officepack 1.1

msofficekey.vbs does not list ALL keys in certain circumstances

It occurred to me, that when I have a windows client that has two different MS product installations (like Visio 2010 AND Office 2013) then this script will only detect one key (Visio in my case) and that's it, never reporting the other key. I assume the script is quiting to early. I can't really read vbs but I will try again but any help on this issue would be appreciated, because for now it is not collecting all available key data as if it assumes to detect only one "officepack" and not regarding the possibility that you could have two versions installed - or just one program from an older office version (like with Visio). Can someone confirm this issue?

cant install plugin

Hello,
we use Server OCS 2.3 on Ubuntu 16.04, Agent 2.3.0.0. on Win 10.
First i tried to install the plugin with the old howto (cause i didn´t found this) but this didn´t worked.
Now i imported the plugin, but when i want to install it i get two red bars with: MySQL error: Installation aborted !

The plugin is not listed in database table plugins
i also removed all old things from teh plugin in:
/etc/ocsinventory-server/plugins/
/etc/ocsinventory-server/perl/Apache/Ocsinventory/Plugins/
/usr/share/ocsinventory-reports/ocsreports/plugins/computer_detail/

I didn´t get an error in the apache error.log also no error in the ocs log.

Officepack "MySQL error: Installation aborted !"

Bonjour, j'ai aussi voulu installé le plugin Officepack toujours erreur MySQL error: Installation aborted !
Avez vous une solution ? Je suis sur une debian 9 avec Apache2 et php7 avec un OCS 2.0.

Hello, I also wanted to install the Officepack plugin always error MySQL error: Installation aborted!
Do you have a solution ? I am on a debian 9 with Apache2 and php7 with an OCS 2.0.

I'm sorry for my english I'm french.

Installation problem

Hi,
I tried to install this officepack plugin, but I get an error message, it's contains the following:

ERROR: officepack-master is an invalid plugin, check your sources.
Installation aborted !
ocs
This plugin updated 15 days ago, so I think this is the latest version.
Can somebody help me how can I install this plugin?
Regards.

Office 2016 data showed only with /force option

Hi i ve an issue with the plugin the data about office 16 are showed only if i lunch the OCSInventory.exe /force from command prompt in a windows client. All the versions server client plugin are the last i found. Thanks

Mistake in vbs code

Hi

I do not know if this is the appropriate place for this message, I did not find another place to do this.
In a quick review, I noticed that at line #39 where " aOffID (5.1) ="16.0" " should be " aOffID (5,1) ="16.0" ".
There is a dot where there should be a comma, probably causing a failure to interpret the value of the last key of the array.
I'm wrong?

Excuse me for my bad English.

Salut

Je ne sais pas si c'est l'endroit approprié pour ce message, je n'ai pas trouvé d'autre endroit pour le faire.
Dans une revue rapide, j'ai remarqué qu'à la ligne # 39 où " aOffID (5.1) ="16.0" " devrait être " aOffID (5,1) ="16.0" ".
Il y a un point où il devrait y avoir une virgule, causant probablement un échec pour interpréter la valeur de la dernière clé du tableau.
J'ai tort?

Excusez-moi pour mon pauvre Français.

Can't install plugin

Hello!

I'm trying to install office plugin on my server, but i got error: MySQL error: Installation aborted !

apache logs:

Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @Args[...] better written as $args[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Fri Sep 14 00:07:08.871228 2018] [mpm_prefork:notice] [pid 739] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Fri Sep 14 00:07:08.871244 2018] [core:notice] [pid 739] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 06:54:30.315484 2018] [:error] [pid 3828] [client 192.168.2.102:1168] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/
[Fri Sep 14 06:54:30.315563 2018] [:error] [pid 3828] [client 192.168.2.102:1168] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/
[Fri Sep 14 06:54:49.358776 2018] [:error] [pid 3830] [client 192.168.2.102:1175] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/search/Search.php on line 661, referer: http://ocsinventory/ocsreports/?function=show_ipdiscover
[Fri Sep 14 07:16:28.095493 2018] [:error] [pid 2914] [client 192.168.2.102:1579] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?function=visu_computers
[Fri Sep 14 07:16:28.095584 2018] [:error] [pid 2914] [client 192.168.2.102:1579] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?function=visu_computers
[Fri Sep 14 07:16:39.294166 2018] [:error] [pid 2914] [client 192.168.2.102:1579] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?first
[Fri Sep 14 07:16:39.294224 2018] [:error] [pid 2914] [client 192.168.2.102:1579] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?first
[Fri Sep 14 07:18:45.711131 2018] [:error] [pid 2915] [client 192.168.2.102:1606] PHP Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/search/Search.php on line 650, referer: http://ocsinventory/ocsreports/index.php?function=visu_all_soft
[Fri Sep 14 07:21:31.675855 2018] [:error] [pid 2914] [client 192.168.2.102:1643] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?function=computer&head=1&systemid=8&cat=software
[Fri Sep 14 07:21:31.675913 2018] [:error] [pid 2914] [client 192.168.2.102:1643] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?function=computer&head=1&systemid=8&cat=software
[Fri Sep 14 07:21:45.219407 2018] [:error] [pid 2916] [client 192.168.2.102:1645] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74
[Fri Sep 14 07:21:45.219495 2018] [:error] [pid 2916] [client 192.168.2.102:1645] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103
[Fri Sep 14 07:51:35.259413 2018] [:error] [pid 2918] [client 192.168.2.102:2063] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?function=ipdiscover_info&prov=no_inv&head=1&value=192.168.2.0
[Fri Sep 14 07:51:35.259551 2018] [:error] [pid 2918] [client 192.168.2.102:2063] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?function=ipdiscover_info&prov=no_inv&head=1&value=192.168.2.0
[Fri Sep 14 08:11:14.594163 2018] [:error] [pid 3828] [client 192.168.2.102:2242] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?function=computer&head=1&systemid=37&cat=software
[Fri Sep 14 08:11:14.594218 2018] [:error] [pid 3828] [client 192.168.2.102:2242] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?function=computer&head=1&systemid=37&cat=software
[Fri Sep 14 08:15:28.426949 2018] [:error] [pid 3829] [client 192.168.2.102:2275] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?first
[Fri Sep 14 08:15:28.427054 2018] [:error] [pid 3829] [client 192.168.2.102:2275] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?first
[Fri Sep 14 08:39:49.742937 2018] [mpm_prefork:notice] [pid 739] AH00169: caught SIGTERM, shutting down
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @Args[...] better written as $args[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
Scalar value @part_query[...] better written as $part_query[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
Scalar value @Args[...] better written as $args[...] at /usr/local/share/perl/5.24.1/Apache/Ocsinventory/Interface/AssetCategory.pm line 53.
ocsinventory-server: Can't load SOAP::Transport::HTTP* - Web service will be unavailable
[Fri Sep 14 08:40:05.334042 2018] [mpm_prefork:notice] [pid 944] AH00163: Apache/2.4.25 (Debian) mod_perl/2.0.10 Perl/v5.24.1 configured -- resuming normal operations
[Fri Sep 14 08:40:05.334116 2018] [core:notice] [pid 944] AH00094: Command line: '/usr/sbin/apache2'
[Fri Sep 14 08:41:20.074465 2018] [:error] [pid 979] [client 192.168.2.102:2717] PHP Warning: vsprintf(): Too few arguments in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 74, referer: http://ocsinventory/ocsreports/index.php?function=pluginsmanager
[Fri Sep 14 08:41:20.074530 2018] [:error] [pid 979] [client 192.168.2.102:2717] PHP Warning: mysqli_query(): Empty query in /usr/share/ocsinventory-reports/ocsreports/require/function_commun.php on line 103, referer: http://ocsinventory/ocsreports/index.php?function=pluginsmanager

Debian 9.5
Apache/2.4.25 (Debian)
mysql Ver 15.1 Distrib 10.1.26-MariaDB
OCS Inventory Server 2.5

ocsweb database

Hello,

can you update your sql script to implement office 365/office 2016 ?
capture

thanks a lot

Problème remonté office dans ocs

Bonjour,

Je rencontre une difficulté pour installer le plugin office j'ai bien réussi à l’installer dans ocs et j'ai mis en place le vbs dans le dossier plugin de ocs mais aucune licence ne remonte automatiquement.
Avez-vous une solution ?

Merci d'avance.

image

image

image

Access denied on detail page of licence

Hi,
The installation of the plugin is ok, on my agent too

But when I want see result, OCS told me "ACCESS DENIED" , same result with different version
/index.php?function=officepack&value=2016
/index.php?function=officepack&value=2013
/index.php?function=officepack&value=2007

If I clic on a computer, software, at the bottom I can the the licence detail of this computer

Thanks

Office 2016

The version of Office 2016 is counted as Office 2013.

you can fix the problem?

Thank you

Office 365- 2016 pluging,

Helooo....
I use pluging officepack-3.0

ocsinventoryng repo fedora OCS Inventory 2.6

Windows agent v2.6.0.0

If the agent is automatic, office 365 and 2016 are deleted from the ocsreport.
I´m running
"OCSInventory.exe / NP / Debug = 2 / xml = c: \ temp"
and then importing "archive.xml" to the server
Office 365 and Office 2016 appear in the database.
Some help ...

I have also observed that the officepack-3.0 plugin only creation the officepack database.

in the install.php I see
// Officepark tables creation
include sql/officepack-php
include sql/officepacl-guid-fr.php
//
but officepacl-guid-fr.php not ejecuted

I have manually created all the databases in the officepack-guid-fr.sql, with all its data.
The result is the same office 365 and 2016, when it runs automatically they are deleted.

Please help ,

Thank you

Sorry for my English I use a translator.

ERROR *** AGENT => Failed to send Inventory <HTTP Status Code #500>

My configuration is OCS Server v2.6 and OfficePack v3. When I install officepack my clients can't send their inventories. Looking for the problem I have found the issue.

The offipack installation package doesn't create 2 filelds in 'officepack' table. The fields are:

  • INSTALL
  • GUID

I have created them and plugin works correctly.

I hope I can help some other people with my find.

Plugin Installation Error

While installing Office plugin I got the error:
ERROR: check if Map.pm and [pluginName].conf exist

Please help me how do I solve it?

Cant install plugin

Hi all,

When I put the officepack or other plugin in the correct download folder, it appears in the web GUI for installation. But when I hit the Install button, it goes to a blank page and it doesnt install.

I have a fresh installation of OCS 2.2 in ubuntu server 16.04

Thanks in advance

Regards
Hugo Serras

officepack destroys mysql after uninstalling

Hi,
I have Newest OCS Inventory 2.4 server installed.

  1. Tried to install several plugins.
  2. Ony on plugin officepack whn I pressed install - webbrovser tab were working on something wery long - so long my session in OCS ended.
  3. after I testes plugins I noticed officepack plugins wasnt working, there wasnt any sign office keys on OCS DB (I testes VBA stript on client pcs worked )
  4. After several weeks I decided to remove plugin
  5. pressed that X to remove plugin and my browsers tab started to woring again. Waited more than 30 minutes and afcourse OCS session was ennded.
  6. tried to log in OCS web console- none of my user accounts was able to log in OCS - no error shown.
  7. restarted apache - no success
  8. restarted whole OCS server
  9. when tried to open OCS web console got error,
    ERROR: MySql connection problem 2002
    No such file or directory
    9.1) tried to restart mysql - sql could not be restarted:
    Job for mysql.service failed because the control process exited with error code.
    See "systemctl status mysql.service" and "journalctl -xe" for details.
  10. I am not an expert in MySql so I restored OCS server from backup.
  11. after server restore tried to remove plugin again and same thing web browsers tab starts to spin like working on something. This time I didnt waited so long and tried to close and reopen OCs web console
  12. Console wasnt working again.
  13. Restarted apache and console worked
  14. loged in OCS web console and went to plugins manager - officepack plugin still present (steps 11-14 tried several times)

Wanted to mention that others (up to date plugins are working) and can be uninstalled fast and easy.

My Servers parameters:
Ubuntu 16.04.3 LTS
PHP Version :7.0.22
Web Server : Apache/2.4.18 (Ubuntu)
Database Server: (Ubuntu) version 5.7.20-0ubuntu0.16.04.1
Version OCSReports: 2.4

If you are interested in this issue I could give you more intel.
Probably could make another server clone to experiment on.

P.S. Sorry for bad English.

Ocs agent doesn't generate xml containing the office key

HI,

I installed and configured officepack plugin for OCS. However I do not see any keys being managed under the plugin.
I started debugging with running the .vbs locally and I received the correct information.
Then I run the ocs agent and I noticed that although it finds the .vbs script and it runs it, it doesn’t produce any output to send it to the server:
EXECUTABLE PLUGIN => Searching for VBS script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
EXECUTABLE PLUGIN => Found executable plugin <msofficekey.vbs>
================= TRACE START ===============

================= TRACE STOP ===============
EXECUTABLE PLUGIN => Plugin <msofficekey.vbs> executed successfully
EXECUTABLE PLUGIN => Searching for PS1 script(s) in folder <C:\Program Files (x86)\OCS Inventory Agent\plugins>
AGENT => Sending Inventory
Could someone give me an idea on how I could fix this? Or what else should I check?
The ocs server is the 2.5 version installed on a debian stretch with the latest officepack plugin (2.0.0)

Thank you in advance for your help.

Best regards,
Dana

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.