PluginsOCSInventory-NG / officepack

Retrieve microsoft office keys
GNU General Public License v2.0
15 stars 27 forks source link

Issue on installing on 2.7? #64

Closed killmasta93 closed 4 years ago

killmasta93 commented 4 years ago

Hi, Currently running 2.7, on the webgui it says correctly installed that i need to log out, as soon i log out and go back in i check the extension manager and still shows the office pack to install. See pictures Thank you

image

image

TouTUN commented 4 years ago

Hi, I've got exactly the same issue, it try to install the 3.1 version of the plugin and it's ok. I think there is a problem with the 3.1.1 version.

Moreover, in the 3.1.1 version, i have issue with the mysql script, which cause error. There is some "DEFAULT NULL" value on primary key and my sever reject it

killmasta93 commented 4 years ago

thanks for the reply, could you pass me the version 3.1? Thank you

TouTUN commented 4 years ago

https://github.com/PluginsOCSInventory-NG/officepack/releases

killmasta93 commented 4 years ago

thanks installed it, quick question after installing the plugin is there another i need to take? because i dont see the keys coming in from the computers

TouTUN commented 4 years ago

Did you install the vbs script on the client ?

killmasta93 commented 4 years ago

umm thats what im wondering where can i get the vbs script?

killmasta93 commented 4 years ago

just found the scrip inside of the link you gave me above but not sure where to put the script? or do i just run it?

MarcoTorres92 commented 4 years ago

Hi, the script you must put in the following path of your agents C: \ Program Files \ OCS Inventory Agent \ Plugins (version 2.7 agent) or C: \ Program Files (x86) \ OCS Inventory Agent \ Plugins (previous versions of agent) and then run ocsinventory.

Regards!

killmasta93 commented 4 years ago

thanks for the reply, so i put the script inside and right click on the ocs inventory to re run but still shows blank on the OCS inventory web

image

image

image

MarcoTorres92 commented 4 years ago

Did you try to install agent version 2.7? The teamviewer plugin works for me, the office plugin has not tried it yet

MarcoTorres92 commented 4 years ago

Before I forget, I tell you that you also have a series of steps with python in the terminal since there it tells you how to use the new installation of extensions only applies to 2.6 and 2.7 servers at the moment, I share the page where you can see this manual in case it is useful https://wiki.ocsinventory-ng.org/10.Plugin-engine/Using-plugins-installer/

killmasta93 commented 4 years ago

Thanks for the reply, so i updated the agent the latest i found was 2.6 but still does not show any lics office keys

image as for the server part, do i need to run the commands? even if i got the extension imported?

So if i understood correctly

sudo apt install python3-pip
sudo pip3 install scp

then unzip the module and install though the web which i did then activate it

but im lost on the scripted communication server installation

killmasta93 commented 4 years ago

edit: so i ran the following and installed the packages


root@osc:/usr/share/ocsinventory-reports/ocsreports/tools# sudo python3 install_plugin.py
sudo: unable to resolve host osc
Where is the plugins location [/usr/share/ocsinventory-reports/ocsreports/extensions/]

[0] => officepack
0
The server is installed on the same server ? [y]/n

Where is the server location [/etc/ocsinventory-server]

officepackhas been successfully installed ! Don't forget to restart your Apache server
root@osc:/usr/share/ocsinventory-reports/ocsreports/tools# service ap
apache2              apache-htcacheclean  apparmor             apport               apt-daily            apt-daily-upgrade    
root@osc:/usr/share/ocsinventory-reports/ocsreports/tools# service ap
apache2              apache-htcacheclean  apparmor             apport               apt-daily            apt-daily-upgrade    
root@osc:/usr/share/ocsinventory-reports/ocsreports/tools# service apache2 restart
root@osc:/usr/share/ocsinventory-reports/ocsreports/tools# 

but checked again and nothing

killmasta93 commented 4 years ago

@gillesdubois quick question so did this problem get fixed?