tomolimo / processmaker

GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
30 stars 11 forks source link

Problem connecting to Processmaker server #56

Closed BlackxRyan closed 6 years ago

BlackxRyan commented 6 years ago

Hi.

I have a Debian 8 and I installed GLPI (9.2.2) and Processmaker (3.2.1) on my machine. They both work correctly.

I followed the documentation to install Processmaker : http://wiki.processmaker.com/3.0/ProcessMaker_Debian_Installation

Now I must connect Processmaker to GLPI. So I downloaded the plugin, entered my informations and I have the message "Test failed stdClass Object ( )".

image

I am sure the login and the password are the correct ones.

10.0.2.15 is the local IP of my Debian, I'm using the port 8080 to access Processmaker and I use the port 80 for GLPI.

Tell me if you need more information.

Thanks in advance.

tomolimo commented 6 years ago

Hello @BlackxRyan , As written here https://github.com/tomolimo/processmaker-server/wiki/ProcessMaker-server-installation#notes, you can only use the ProcessMaker released by us: the latest release is here: https://github.com/tomolimo/processmaker-server/releases/latest Sorry for that, but currently, the plugin is only compatible with the 3.0.1.8-RE-1.8 release Thank you Regards, Tomolimo

BlackxRyan commented 6 years ago

Ok, thanks for the fast answer !

tomolimo commented 6 years ago

You're welcome, keep me informed

BlackxRyan commented 6 years ago

I'll tell you if it works :)

BlackxRyan commented 6 years ago

Ok, I just did a reboot and it works now, maybe a service needed to restart, I don't know. And it works with the last version of Processmaker.

Now it shows "Test successful"

image

And I have my processes synchronized.

image

It just still show the processes I deleted. Any idea why ?

BlackxRyan commented 6 years ago

Missclicked.

tomolimo commented 6 years ago

Hello @BlackxRyan , The version of ProcessMaker we are delivering has been modified (and sometimes fixed) to be compatible with GLPI, so you MUST use this release, that's not an option. Sorry for that, Thank you Regards, Tomolimo

BlackxRyan commented 6 years ago

No problem, I'll install this version and I'll tell you if it works :)

BlackxRyan commented 6 years ago

Ok, it works perfectly but I still have the problem i mentioned. It still show the processes which don't exist anymore.

tomolimo commented 6 years ago

Yes, they are not cleared from the list, it's in my long list of evolutions :) To clean the not already used processes (=no cases yet) from the process list when they no longer exist in PM server.

BlackxRyan commented 6 years ago

Ok I see.

I noticed I can delete them with Phpmyadmin as they are using the table "glpi_plugin_processmaker_processes".

So the solution might be using a SQL request to delete the not used processes in this table when you click "Synchronize Process List".

tomolimo commented 6 years ago

Not only, as there are also the task categories and the translations for them.

BlackxRyan commented 6 years ago

Ok.

So I'm closing the issue, thanks for your help.

tomolimo commented 6 years ago

You're welcome, and don't hesitate if you have any issue. regards, Tomolimo