E-mail notification taks: usageStats/processing it's not empty

Hello Community.

I receive the following mail notidfiacion (ojs 3.1.1, php 7, postgres 9.6)

[2018-06-17 18:25:06] [Notificación] Se ha iniciado la tarea.
[2018-06-17 18:25:06] [Error] El directorio /space/html/ojs/ojs-files/usageStats/processing no está vacío. Esto podría señalar un proceso erróneo previo o un proceso ejecutándose simultáneamente. Este archivo se reprocesará automáticamente si también está usando scheduledTasksAutoStage.xml, en caso contrario deberá mover manualmente cualquier archivo huérfano del directorio de proceso al directorio principal.
[2018-06-17 19:17:15] [Notificación] El archivo /space/html/ojs/ojs-files/usageStats/processing/usage_events_20180616.log se ha procesado y archivado.
[2018-06-17 20:17:06] [Notificación] El archivo /space/html/ojs/ojs-files/usageStats/processing/usage_events_20180615.log se ha procesado y archivado.
[2018-06-17 20:17:06] [Notificación] Se ha detenido la tarea.

How could I solve it? something that I should worry about?
Regards
Cristian

1 Like

Hi @cristianviza

When usage statistics logs are processed, they are moved from first from your usageEventLogs folder first to the stage folder, and then to the processing folder. Then, depending if they are processed successfully, they are moved either to the reject or archive folder.
It seems that during a previous log file processing a log file stayed in the processing folder for some reason :-\ This is why the error is displayed. But it could be that the file was then later processed and moved correctly.
Could you check what is in your usageEventLogs/processing/ folder (in your OJS files folder) now?
Is there any log file in your usageEventLogs/reject/ folder?

Best,
Bozana

1 Like

Hi @bozana

throw the error and then process it correctly → usage_events_20180616.log, usage_events_20180615.log → in usageEventLogs/archive

usageEventsLogs/processing → in empty

usageEventLogs/reject → one file → usage_events_20180614.log

I can be erase usage_events_20180614.log?

Regards
Cristian

Hi @cristianviza

The file usage_events_20180614.log seems not to be processed successfully. Do you maybe have a file Usagestatisticsfileloadertask-...-20180614.log in your scheduledTaskLogs folder (in your OJS files folder)? If so, what do you see when you open/read it?

Everything else seem to be fine :slight_smile:

Best,
Bozana

1 Like

Hola @cristianviza yo tengo el mismo error.
¿lo borraste sin problemas?
yo moví el arch. usage_events_20170719.log de processing a la carpeta Stage.
Espero haberlo solucionado
SAludos,
Oscar

@Oscarrgomez si lo borre (guarde copia por las dudas) y soluciono el problema.

Genial @cristianviza, a mi tampoco me dio mas problemas.

Saludos