You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2015-05-21 15:06:18

horihel
Member
Registered: 2012-02-17
Posts: 17

OCSNG-Plugin automatic tasks broken

I have glpi installed on a CentOS 7 box, after the last update (to 0.85.x) the OCS-Link has problems.

Automatic Action "ocsng" keeps hanging.
It is configured to run every 5 minutes in mode CLI.
Cron job runs cron.php every 3 minutes.
Everytime it actually has some work to do, it fails. cron output is then something like this:

<script language=javascript>
            NomNav = navigator.appName;
            if (NomNav=='Konqueror') {
               window.location='/srv/glpi/front/cron.php?tokonq=cwp9wy';
            } else {
               window.location='/srv/glpi/front/cron.php';
            }
         </script>

The tasks stays in status "running" until I cancel it manually via web interface.

If I set "run mode" to GLPI, the tasks won't run at all.

The only way to synchronize OCS-Data at the moment is manually syncing them - either via Tools -> OCS or by manually clicking "Execute" on the "ocsng" task.

Offline

#2 2015-06-09 14:52:17

hfmkl
Member
From: Heidelberg
Registered: 2009-07-15
Posts: 7
Website

Re: OCSNG-Plugin automatic tasks broken

Since the upgrade to GLPI 0.85x on Ubuntu 14.04.4LTS with working OCS-NG plugin we have the same problem.
Automatic job stays in "working" state and must be stopped manual. OCS-NG import have to be done manual.

Offline

#3 2015-06-11 11:19:52

horihel
Member
Registered: 2012-02-17
Posts: 17

Re: OCSNG-Plugin automatic tasks broken

Does anybody have an idea how to diagnose this? I have to unstuck the task twice a day.

Or is there a way to unstuck a task via the command line? maybe just patch the database with a cron job?

Offline

#4 2015-06-12 08:25:36

horihel
Member
Registered: 2012-02-17
Posts: 17

Re: OCSNG-Plugin automatic tasks broken

How do I file a bug?

Last edited by horihel (2015-06-24 10:58:15)

Offline

#5 2015-10-23 11:11:51

horihel
Member
Registered: 2012-02-17
Posts: 17

Re: OCSNG-Plugin automatic tasks broken

Bug is still present on GLPI 0.90 with OCSNG-Plugin 1.2.0

Offline

Board footer

Powered by FluxBB