PKP PN Plugin is not working OJS 3.3.0.8

We have the same status. Today changes to “In Progress”
Sin título

I’m glad you got it figured out, however the status of a few new issues in my case is still “pending,” the reset button is still broken, and – in spite of all above – PKP PN IPs appear in our server’s “out” logs on a daily basis.

The same seems to be happening in our case: the status “in progress” now persists for 9 days, and everyday since then the plugin displays a new date as “last update”.

Hi @p_urbanczyk,

I see 28 successful deposits and no failed attempts when looking at the PKP|PN side of things for your journal. That suggests to me that everything that has been sent to PKP|PN has been successfully archived, but other content may have failed before it could be sent. Have you tried manually exporting issue 30 using the Native XML import/export plugin?

Regards,
Alec Smecher
Public Knowledge Project Team

@felixhelix, I see 10 or so issues ingested successfully by the PKP|PN staging server for that journal (Online-Journal); is there more content?

Regards,
Alec Smecher
Public Knowledge Project Team

Hello, Alec.

Thank you for your response.

These 28 successful deposits are from OJS 2.4.x times :slight_smile:

Indeed, there are several validation errors when exporting 5 out of 36 issues using the Native XML Plugin. On a side note, some of the issues that generate the errors have already been stored on your end (again, this was back when we were using the 2.4.x version of the system — these are issues with ids 12 and 27). And, as you might already guess, issues with id 29, 30, and 32 aren’t properly exported.

Here are the validation errors that occur (some of them multiple times) when exporting issues that PKP PN status is pending (29, 30, 32).

Element '{http://pkp.sfu.ca}file', attribute 'filesize': '' is not a valid value of the atomic type 'xs:int'.

Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': [facet 'enumeration'] The value '' is not an element of the set {'public', 'submission', 'note', 'review_file', 'review_attachment', 'final', 'fair_copy', 'editor', 'copyedit', 'proof', 'production_ready', 'attachment', 'query', 'review_revision', 'dependent'}.

Element '{http://pkp.sfu.ca}submission_file', attribute 'stage': '' is not a valid value of the local atomic type.

Element '{http://pkp.sfu.ca}issue': Missing child element(s). Expected is ( {http://pkp.sfu.ca}articles ).

If you count those two that are “completed”, you may add:

Element '{http://pkp.sfu.ca}authors': Missing child element(s). Expected is ( {http://pkp.sfu.ca}author ).

Element '{http://pkp.sfu.ca}article_galley': This element is not expected. Expected is one of ( {http://pkp.sfu.ca}languages, {http://pkp.sfu.ca}disciplines, {http://pkp.sfu.ca}subjects, {http://pkp.sfu.ca}authors ).

Element '{http://pkp.sfu.ca}article': Missing child element(s). Expected is one of ( {http://pkp.sfu.ca}submission_file, {http://pkp.sfu.ca}pkppublication, {http://pkp.sfu.ca}publication ).

Does it all make any sense to you?

Best regards,
Piotr

Hi @p_urbanczyk,

That helps – you’ll have to resolve the content problems, which likely stem from invalid data in your database. Until OJS can successfully export an issue with the native import/export plugin, it won’t be able to build a deposit package to send to the PKP|PN.

There are a few problems, at a glance:

  • Apparently a missing submission file (this will cause OJS to not be able to determine its filesize)
  • A value in submission_files.file_stage that is not valid
  • An article without any authors (at least one author is required for any article)
  • An issue without articles (at least one article is required for an issue)

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher, thanks for having a look.

Indeed, these 10 issues are all there is. So everything seems to have worked on the PKP|PN side. However, the plugin still reports the status “In Progress” and updates daily.

My suggestion is that the plugin resubmits the issues daily, and that they are re-processed by the archive server and thus get the status “In Progress”. The problem would then be with the scheduler. Could this be the case?

Thanks,
Felix

Hi @asmecher,
still no change on the client side: everyday the plugin sends the same issues:

2022-02-06 12:51:33] https://www.???.de
[2022-02-06 12:51:33] [Anmerkung] Geplante Aufgabe wurde gestartet.
[2022-02-06 12:51:33] [Anmerkung] PLN Depositor executeActions started
[2022-02-06 12:51:33] [Anmerkung] Ablieferung wird durchgeführt für ??? - Das Online-Journal | ??? - The Online Journal$
[2022-02-06 12:51:33] [Anmerkung] Hole das Service-Dokument.
[2022-02-06 12:51:34] [Anmerkung] Verarbeite die Aktualisierungen des Ablieferungsstatus.
[2022-02-06 12:51:34] [Anmerkung] ##plugins.generic.pln.depositor.statusupdates.processing##
[2022-02-06 12:51:34] [Anmerkung] ##plugins.generic.pln.depositor.statusupdates.processing.processingState##
...
[2022-02-06 12:51:38] [Anmerkung] ##plugins.generic.pln.depositor.statusupdates.processing##
[2022-02-06 12:51:39] [Anmerkung] ##plugins.generic.pln.depositor.statusupdates.processing.processingState##
[2022-02-06 12:51:39] [Anmerkung] Verarbeite aktualisierte Inhalte.
[2022-02-06 12:51:39] [Anmerkung]  Verarbeite neue Inhalte.
[2022-02-06 12:51:39] [Anmerkung] Verpacke Inhalte zur Ablieferung.
[2022-02-06 12:51:39] [Anmerkung] Sende Ablieferungen an das PLN.
[2022-02-06 12:51:39] [Anmerkung] Geplante Aufgabe wurde beendet.

I don’t know how the PKP PN Plugin decides which issues it needs to deposit: Maybe they are never marked as already deposited? Was it maybe because I manually re-depostited them?

Your’s
Felix

@asmecher Please can you have another look into the archive? So far none of our journals is in the list of journal issues http://pkp.sfu.ca/files/pkppn/onix.csv
Looking at the status reports from the plugin today, every issue has a “Unknown processing state harvest-error”. :dizzy_face:

Hi @felixhelix,

The PKP|PN server is currently halted from ingesting new content while we do a little bit of server work; it please give it a week or two and check again.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi @asmecher,

as of 2022-03-09 13:45:30 I see no changes: The PKP PN plugin still reports an Unknown processing state harvest-error . Can you please have another look?

Yours
Felix

Hi @felixhelix,

I’ve reset those deposits and they appear to have harvested OK this time, though I’m still not sure what failed when they were first harvested back in January. The next time you publish something, please watch to see its status over the following couple of days and let me know whether you encounter the same problem.

Thanks,
Alec Smecher
Public Knowledge Project Team

Thanks @asmecher,

unfortunately we still get an error:

Error 2022-03-14 13:48:34 Unknown LOCKSS state inProgress

And our other sites still have

Error 2022-03-14 16:55:37 Unknown processing state harvest-error

:confused:

Your’s

Felix

The errors persists …

2022-03-14 13:48:34 	Unknown LOCKSS state inProgress 

I just resetted one of the journal issues, to see if it does s.th. good.

The other journal, where I lastly also “resetted” an issue, now also displays the same error:

2022-03-19 16:59:20 	Unknown LOCKSS state inProgress

whereas the not resetted issues still show

2022-03-20 16:59:54 	Unknown processing state harvest-error 

What to do about it?

your’s

Felix

This topic was automatically closed after 10 days. New replies are no longer allowed.

Hi @felixhelix,

Can you send me (e.g. via private message) the identities of the journals you’re encountering this with? Their titles or URLs would be fine.

Thanks
Alec Smecher
Public Knowledge Project Team

This topic was automatically closed after 10 days. New replies are no longer allowed.