tomolimo / processmaker

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

GLPI configuration not saving #61

Closed BlackxRyan closed 6 years ago

BlackxRyan commented 6 years ago

Hi tomolino.

I'm now installing the plugin on the enterprise's GLPI.

But when I put the data in the configuration page.

image

It doesn't do anything and the data disappears.

image

And the strange thing is that it automatically put the domain even before I put it and the Processmaker tab stays in GLPI even when the plugin is uninstalled.

This is a GLPI 9.1.7.1 installed on a Debian 9 with MariaDB (so it's maybe simply not compatible with MariaDB).

Also, a previous version of your plugin (3.2.5) was installed before (I uninstalled it of course but I maybe have to delete the previous data from this version).

tomolimo commented 6 years ago

Hello @BlackxRyan,

Which version of plugin do you use?

Thank you Regards, Tomolio

BlackxRyan commented 6 years ago

The last version, 3.2.8.

tomolimo commented 6 years ago

Could you have a look into the log files?

BlackxRyan commented 6 years ago

Which one(s) ?

tomolimo commented 6 years ago

GLPI and PM server

BlackxRyan commented 6 years ago

Ok, I'll watch it tomorrow in the morning (they are currently using GLPI).

There's nothing in PM logs.

BlackxRyan commented 6 years ago

Looks like there is a problem with the rights.

image

tomolimo commented 6 years ago

Then this is very easy to fix, isn't it? Just add the rights on the PM DB server for admin from machine 'glpi.1fogenie.fr'

BlackxRyan commented 6 years ago

I added the rights but it still doesn't work, and there is no more php errors.

This error is always here too : image

BlackxRyan commented 6 years ago

I noticed something strange in the database. The password is not the one I used.

image

tomolimo commented 6 years ago

the password is encrypted in the config table

BlackxRyan commented 6 years ago

Ok I see

tomolimo commented 6 years ago

regarding the issue: I've never saw that before, I believe I must connect to your installation in order to check. could it be possible this evening?

BlackxRyan commented 6 years ago

Sadly, it's a GLPI used everyday by the enterprise and this is a 500GB machine so I can't have a copy...

In my opinion, it's either an incompability with MariaDB or a conflict with an other plugin as they have many.

image (They restored the snapshot so it's normal there is an old version of your plugin)

tomolimo commented 6 years ago

Best practice is to have a test server which should be a copy of the prod server, so that you may do real tests. But anyway what is the size of the GLPI DB? Could it be possible for you to build a test server with the same DB?

BlackxRyan commented 6 years ago

The DB size is around 15MB, I could do a copy but how can I recover the copy after as it's a virtual machine ?

tomolimo commented 6 years ago

Do a dump, then copy the file on another machine (test machine VM) and do a restore on this machine. On this test machine, install GLPI, install PM, and so on... and try as most as possible to match production server settings: same OS, same PHP version, same GLPI version, same PM version, and so on.

BlackxRyan commented 6 years ago

My internship ends tomorrow, I will sadly not have enough time to solve this.

Anyway, thanks for all.

tomolimo commented 6 years ago

You're welcome, keep in touch anyway, if you need.

BlackxRyan commented 6 years ago

No problem, I'll tell you :)