Delay on PKP PLN sync

Hi,
I need some help/clarification about the PKP PLN plugin that I am using on a 2.4.8 journal.

I set up the plugin and I got the status “The status is The PKP PLN does not know about this journal yet.”

After a couple of days the status is “The PKP PLN can accept deposits from this journal.” but no issues/deposits are shown in the table: the situation remains the same since 10th of June

What’s next? The page is showing none article, as below.

The journal published some issues in the past: how can I deposit these issues?

I checked that acron plugin is enabled and I can not find errors.

Is it a normal delay or there are any problems?

Thanks,
andrea

Hello Andrea.

Can you post the URL and title for the journal?

Hi @mjoyce,
the journal title is Between and the url is
http://ojs.unica.it/index.php/between

Same for Anuac, http://ojs.unica.it/index.php/anuac

andrea

That’s interesting.

Between exists at two different urls:

The unica.it journal was whitelisted on June 9. Since then, it has contacted the PKP PLN every day, requesting a service document. But it hasn’t attempted to make a deposit yet. There’s nothing on our end that would prevent that from happening: we’re responding to the journal and telling it to make deposits.

Can you send me the scheduled task logs for Between for June 9, 10, 11, and 12?

The journal at splab01 is a test instance (sorry for forgetting, I’ve just disabled the pln plugin).

For unica I find logs only for last two days becuase we deleted the previous days logs.

Here the log contents:

[2016-06-13 13:44:09] [##common.notice##] Attività programmate avviate.
[2016-06-13 13:44:09] [##common.notice##] Versamento in corso per Cartagine. Studi e Ricerche.
[2016-06-13 13:44:09] [##common.notice##] Getting service document.
[2016-06-13 13:44:10] [Attenzione] Le condizioni d'uso della PKP PLN sono state aggiornate. Devi accettare le nuove condizioni per poter continuare a versare.
[2016-06-13 13:44:10] [##common.notice##] Versamento in corso per Anuac.
[2016-06-13 13:44:10] [##common.notice##] Getting service document.
[2016-06-13 13:44:11] [##common.notice##] Stati di versamento in corso di aggiornamento.
[2016-06-13 13:44:11] [##common.notice##] Contenuti aggiornati in lavorazione.
[2016-06-12 13:44:07] [##common.notice##] Attività programmate avviate.
[2016-06-12 13:44:07] [##common.notice##] Versamento in corso per Cartagine. Studi e Ricerche.
[2016-06-12 13:44:07] [##common.notice##] Getting service document.
[2016-06-12 13:44:08] [Attenzione] Le condizioni d'uso della PKP PLN sono state aggiornate. Devi accettare le nuove condizioni per poter continuare a versare.
[2016-06-12 13:44:08] [##common.notice##] Versamento in corso per Anuac.
[2016-06-12 13:44:08] [##common.notice##] Getting service document.
[2016-06-12 13:44:08] [##common.notice##] Stati di versamento in corso di aggiornamento.
[2016-06-12 13:44:08] [##common.notice##] Contenuti aggiornati in lavorazione.

Google Translate tells me that the fourth line (Attenzione) translates as

[12/06/2016 13:44:08] [Warning] The conditions of use of the PLN PKP were updated. You must agree to the new conditions in order to continue paying.

So it looks like you need to go to the plugin settings page and re-accept the terms of use. Please try that and let me know. I’ll keep an eye on the logs for your journal.

I have just refreshed and accepted the terms of use; I’ll let you know asap.
Thank you for your assistence,
andrea

You’re welcome Andrea. I’ve removed the old test journal from our system.

Hi @mjoyce,
I’ve updated today morning the terms of use as you suggested but the new log still note that

[2016-06-14 13:44:14] [Attenzione] Le condizioni d’uso della PKP PLN sono state aggiornate. Devi accettare le nuove condizioni per poter continuare a versare.

That’s interesting. Your journal contacted our server at 5:15 a.m. local time today, and we responded that we are ready to accept deposits. The journal hasn’t attempted a deposit. Usually that would happen immediately after.

Can you tell me a little more about your setup:

  • What OS and version are you using?
  • Which version of PHP are you using?
  • Which web server are you using (Apache, nginx, etc) and which version?
  • Do you have more than one journal in your OJS? Is the plugin enabled for all of them? Have you updated the PLN terms of use for all of them?

I’ll try to replicate your setup here to see if I can reproduce the problem.

Hi @mjoyce,
here my Server Information

  • OS platform Debian 3.2.78-1 x86_64
  • PHP version 5.4.45-0+deb7u3
  • Apache version Apache/2.2.22 (Debian)
  • Database driver postgres
  • Database server version PostgreSQL 9.1.18 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.7.2-5) 4.7.2, 64-bit

This OJS instance is hosting, at the moment, 12 journals (not all are in production); only for 2 I enabled PLN (Anuac and Between) and for both 2 I have refreshed and accepted the terms of use.

@mjoyce there is any test that I can perform on myself on the server?

I have a test server with this characteristics:
OS platform Debian 3.2.65-1+deb7u2 x86_64
PHP version 5.4.45-0+deb7u2
Apache version Apache/2.2.22 (Debian)
Database driver postgres
Database server version PostgreSQL 9.1.15 on x86_64-unknown-linux-gnu, compiled by gcc (Debian 4.7.2-5) 4.7.2, 64-bit

I can try to reproduce there the issue ore give you an access (both to ojs and ssh)

@marchitelli

I’m still trying to replicate the problem you’re experiencing, and without much luck. Another person reported a similar problem, and we’ve tracked that specific one down, although fixing it isn’t going to be simple.

In the mean time, can you answer these questions:

  • What’s in these database tables for the journal: pln_deposit_objects, pln_deposits,

  • Also, what does this SQL query produce when run in the database for your journal: SELECT * FROM plugin_settings where plugin_name=‘plnplugin’;

  • Is there anything in files/journals/$journalId/pln/ ? There should be one directory there named for the deposit UUID, and it should contain two files: one .xml and one .zip.

If you’re at all concerned about publishing this information on the web, you can send it to me via email, which I think you already have.

In ojs-uploads/unica/journals/1/ I only find articles/ and issues/ directories and some more file. I can not find any /pln/ directory

ojs-uploads/unica/journals/1/ is writeable for both owner (ojs) and group (www-data)

For the DB I’ll let you know asap

Hello @mjoyce,
these tables for the journal: pln_deposit_objects, pln_deposits are empty

I am sending you by email the result of the query
SELECT * FROM plugin_settings where plugin_name=‘plnplugin’;

Moreover, I just created a directory ojs-uploads/unica/journals/1/pln writeable for both owner (ojs) and group (www-data)

Hi @marchitelli

OJS will create the pln directory when it needs to. It hasn’t processed any files far enough to need it.

The plugin_settings table looks normal. The issue you’re experiencing isn’t like anyone else’s problem. This will take some time for me to track down.

Do the scheduled logs still say that the terms of use have been updated an need to be accepted again?

The log is about anoter journal

http://ojs.unica.it
[2016-06-17 13:45:40] [##common.notice##] Attività programmate avviate.
[2016-06-17 13:45:40] [##common.notice##] Versamento in corso per Cartagine. Studi e Ricerche.
[2016-06-17 13:45:40] [##common.notice##] Getting service document.
[2016-06-17 13:45:41] [Attenzione] Le condizioni d’uso della PKP PLN sono state aggiornate. Devi accettare le nuove condizioni per poter continuare a versare.
[2016-06-17 13:45:41] [##common.notice##] Versamento in corso per Anuac.
[2016-06-17 13:45:41] [##common.notice##] Getting service document.
[2016-06-17 13:45:42] [##common.notice##] Stati di versamento in corso di aggiornamento.
[2016-06-17 13:45:42] [##common.notice##] Contenuti aggiornati in lavorazione.

and are saying that I need to accept terms of use.

Now I disabled the plugin for al journals except Betweeen and I have just re-accepted terms of use.

Ok. Lets wait for the cron job to run tonight and look at the task log tomorrow.

Hello @mjoyce,
this is the log the day

http://ojs.unica.it
[2016-06-18 13:45:48] [Notice] Task process started.
[2016-06-18 13:45:48] [Notice] Depositor processing for .
[2016-06-18 13:45:48] [Notice] Getting service document.
[2016-06-18 13:45:48] [Notice] Processing deposit status updates.
[2016-06-18 13:45:49] [Notice] Processing updated content.

At line 2 [2016-06-18 13:45:48] [Notice] Depositor processing for . the journaltitle is missed because it was missing in the setup for English (principal language is Italian); now I provided english journaltitle, too.

In the PLN status I can not see any deposit yet.

Andrea