The Network Status is “The PKP PLN can accept deposits from this journal” But nothing is being sent

Description of issue or problem I’m having:

With the OJS 3.3.0.8 and PKP PN Plugin version 2.0.4.2

The Network Status was “The PKP PLN does not know about this journal yet”

On 7 July we have updated to the latest version OJS 3.3.0.11 and PKP PN Plugin version 2.0.4.2

The Network Status has been changed to “The PKP PLN can accept deposits from this journal”

But nothing is being sent

Steps I took leading up to the issue

I checked the schedule task logs for the PLN task.
started-

[2022-07-11 22:20:05] http://jiamcs.centre-univ-mila.dz

[2022-07-11 22:20:05] [Notice] Task process started.

[2022-07-11 22:20:05] [Notice] PLN Depositor execute Actions started

[2022-07-11 22:20:05] [Notice] Depositor processing for Journal of Innovative Applied Mathematics and Computational Sciences.

[2022-07-11 22:20:05] [Warning] Your system must have a tar executable.

[2022-07-11 22:20:05] [Notice] Task process stopped.

Which show the requirement of Archive_Tar extension, however, Archive_Tar and ZIP both already installed on the server.

I found this post “Regarding PKP PN Setting & Status - #11 by aabahishti
that suggest downgrading PHP version from 7.4 to 7.3 but my PHP version is already 7.3

How could we solve this issue?
Thanks & Regards

Applications
Current OJS version: 3.3.0.11 (July 7, 2022 - 10:15 AM)
PN Plugin version 2.0.4.2
PHP version 7.3.33
journal’s unique identifier for the PKP PN:
5DEBFCC5-9C51-4FAA-8DF7-A57B22ABE457
URL: http://jiamcs.centre-univ-mila.dz/index.php/jiamcs/index

Additional information
image

image

Hi @jiamcs,

According to the error log [2022-07-11 22:20:05] [Warning] Your system must have a tar executable., looks like the plugin couldn’t find the Archive_Tar, which is a PEAR package.

The next release of the plugin will not require the Archive_Tar anymore, but for now, you must ensure that your PHP is configured to include the path where the PEAR packages are installed, using the include_path setting of the php.ini, you might search about how to install PEAR in Google.

Best,
Jonas

1 Like

Thank you very much for your assistance
Following your guidance, the status now is pending for the first issue (after an error I have reset the process) and in progress for the second and third issues. We hope the deposit will complete without further errors.
Thanks again

image

Hi @jonasraoni
The status today is
Issue 1: Deposit Import/export error
Issue 2: In Progress
Issue 3: Unknown processing state xml-error

here is the PKPPNDepositorTask file

PKPPNDepositorTask-62d206f6576e1-20220716.log

[2022-07-16 00:31:50] http://jiamcs.centre-univ-mila.dz
[2022-07-16 00:31:50] [Notice] Task process started.
[2022-07-16 00:31:50] [Notice] PLN Depositor executeActions started
[2022-07-16 00:31:50] [Notice] Depositor processing for

Journal of Innovative Applied Mathematics and Computational Sciences.
[2022-07-16 00:31:50] [Notice] Getting service document.
[2022-07-16 00:31:51] [Notice] Processing deposit status updates.
[2022-07-16 00:31:51] [Notice] Trying

status update for 2 (Issue: 2) (Local Status: [Transferred], Processing Status: [Validated], Lockss Status: [Unknown])
[2022-07-16 00:31:51] [Notice] Processing status got for 2 → (reserialized)
[2022-07-16 00:31:51] [Notice] Trying status

update for 3 (Issue: 3) (Local Status: [Transferred], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-16 00:31:52] [Notice] Processing status got for 3 → (xml-error)
[2022-07-16 00:31:52] [Notice] Deposit 3 has unknown

processing state xml-error
[2022-07-16 00:31:52] [Notice] Processing updated content.
[2022-07-16 00:31:52] [Notice] Processing new content.
[2022-07-16 00:31:52] [Notice] Packaging content for deposit.
[2022-07-16 00:31:52] [Notice]

Sending deposits to the PKP PN.
[2022-07-16 00:31:52] [Notice] Task process stopped.

image

Is there anything else I need to do with the system configuration?
I appreciate your assistance.

Bast regards,
Abdelouahab

Hi @jiamcs!

The deposit has been received, but unfortunately it’s empty. An unexpected error probably happened while it was being generated by the “Native Import/Export Plugin”.

Can you share the messages from your server/PHP error log that happened around the same time?

I know one thing that can generate this problem: PLN not accepting deposit - #10 by jonasraoni

Best,
Jonas

Hi,
The PKPPNDepositorTask file log is:

PKPPNDepositorTask-62d2062cc13ff-20220716.log
[2022-07-16 00:28:28] http://jiamcs.centre-univ-mila.dz
[2022-07-16 00:28:28] [Notice] Task process started.
[2022-07-16 00:28:28] [Notice] PLN Depositor executeActions started
[2022-07-16 00:28:28] [Notice] Depositor processing for Journal of Innovative Applied Mathematics and Computational Sciences.
[2022-07-16 00:28:28] [Notice] Getting service document.
[2022-07-16 00:28:31] [Notice] Processing deposit status updates.
[2022-07-16 00:28:31] [Notice] Trying status update for 2 (Issue: 2) (Local Status: [Transferred], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-16 00:28:31] [Notice] Processing status got for 2 → (reserialized)
[2022-07-16 00:28:31] [Notice] Trying status update for 3 (Issue: 3) (Local Status: [Transferred], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-16 00:28:32] [Notice] Processing status got for 3 → (xml-error)
[2022-07-16 00:28:32] [Notice] Deposit 3 has unknown processing state xml-error
[2022-07-16 00:28:32] [Notice] Processing updated content.
[2022-07-16 00:28:32] [Notice] Processing new content.
[2022-07-16 00:28:32] [Notice] Packaging content for deposit.
[2022-07-16 00:28:32] [Notice] Trying package deposit 1 (Issue: 1) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-16 00:28:33] [Notice] Native Import/Export plugin failed for deposit 1, when trying to package it

At the same time the messages from our server/PHP error log is

Server/PHP error log
[Sat Jul 16 00:28:32.702900 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/11/61ccd59c1f85f.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:32.903788 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/6/61cd0fc48ec35.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:32.974083 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/5/61cc414a4288b.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:32.978976 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/5/61cc414a4288b.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:32.984008 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/5/61cc46660cdf9.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:32.984043 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/5/61cc42f415c21.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:33.071541 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/4/61ccf9cd0b60f.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:33.130602 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/2/61cdab5b558ca.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:33.135740 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/2/61cdaf9f6604e.pdf in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/SubmissionFileNativeXmlFilter.inc.php on line 142
[Sat Jul 16 00:28:33.139878 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: DOMElement::setAttribute() expects parameter 2 to be string, array given in
www/jiamcs/ojs/lib/pkp/plugins/importexport/native/filter/PKPPublicationNativeXmlFilter.inc.php on line 89
[Sat Jul 16 00:28:33.164813 2022] [php7:notice] [pid 27205] [client 196.89.142.38:57091] PHP Notice: Trying to get property ‘documentElement’ of non-object in www/jiamcs/ojs/plugins/importexport/native/filter/IssueNativeXmlFilter.inc.php
on line 204
[Sat Jul 16 00:28:33.167843 2022] [php7:warn] [pid 27205] [client 196.89.142.38:57091] PHP Warning: Cannot modify header information - headers already sent in www/jiamcs/ojs/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line
170

Thanks,

Hi! FYI I’ll be away until the end of the month, then we can resume this conversation.

Hi @jonasraoni! Thank you for your response.
Have a great time!

Hi @jiamcs!

This error is blocking the process:
Warning: filesize(): stat failed for www/jiamcs/ojs/jiamcsfiles/journals/1/articles/11/61ccd59c1f85f.pdf. The code is trying to access this file, but it doesn’t exist or it’s not accessible…

If those files don’t exist, and you can’t find them on a backup, then you’ll have to fix it in a bad way, basically add a similar file in the same place or remove the database record manually (this should be done carefully).

Best,
Jonas

Hi @jonasraoni!
Yes, those files don’t exist. I have resolved this issue by adding similar files to the same place.
Now the Native XML Plugin exports the articles and issues carefully.
The PKP PN status shows “Error … Unknown LOCKSS state in Progress” for the first and second issues (v.2 , i. 1 and v. 2, i. 2 ) and “completed” for the third issue (v.1, i.1).
this is the PKPPNDepositorTask file log:

PKPPNDepositorTask file log
[2022-07-27 04:33:25] http://jiamcs.centre-univ-mila.dz
[2022-07-27 04:33:25] [Notice] Task process started.
[2022-07-27 04:33:25] [Notice] PLN Depositor executeActions started
[2022-07-27 04:33:25] [Notice] Depositor processing for Journal of Innovative Applied Mathematics and Computational Sciences.
[2022-07-27 04:33:25] [Notice] Getting service document.
[2022-07-27 04:33:27] [Notice] Processing deposit status updates.
[2022-07-27 04:33:27] [Notice] Trying status update for 1 (Issue: 1) (Local Status: [Transferred], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-27 04:33:28] [Notice] Processing status got for 1 → (deposited)
[2022-07-27 04:33:28] [Notice] Deposit 1 has unknown LOCKSS state inProgress
[2022-07-27 04:33:28] [Notice] Trying status update for 2 (Issue: 2) (Local Status: [Transferred], Processing Status: [Unknown], Lockss Status: [Unknown])
[2022-07-27 04:33:28] [Notice] Processing status got for 2 → (deposited)
[2022-07-27 04:33:28] [Notice] Deposit 2 has unknown LOCKSS state inProgress
[2022-07-27 04:33:28] [Notice] Processing updated content.
[2022-07-27 04:33:28] [Notice] Processing new content.
[2022-07-27 04:33:28] [Notice] Packaging content for deposit.
[2022-07-27 04:33:28] [Notice] Sending deposits to the PKP PN.
[2022-07-27 04:33:28] [Notice] Task process stopped.

Our server/PHP error log shows no messages at the same time!

After resetting both processes several times, they still return to the same state!

When I checked the status on PKP PN Journal list I find only the second and third issues (v.2 , i. 2 and v. 1, i. 1 )!

PKP PN Journal list
2773-4196,“Journal of Innovative Applied Mathematics and Computational Sciences”,“Institute of Sciences and Technology, University Center Abdelhafid Boussouf , MILA, ALGERIA.”,http://172.30.30.145/index.php/jiamcs,2,2,2022-05-07,2022-07-26
2773-4196,“Journal of Innovative Applied Mathematics and Computational Sciences”,“Institute of Sciences and Technology, University Center Abdelhafid Boussouf , MILA, ALGERIA.”,http://172.30.30.145/index.php/jiamcs,1,1,2021-12-30,2022-07-26

Is it possible to confirm the receipt of those issues?
I appreciate your help. Thanks

You can ignore this error, this is just a bug in the plugin, which will be addressed in the next release :slight_smile:

The real meaning of “Unknown LOCKSS state in Progress” is that the deposit is being preserved.

Best,
Jonas

As everything seems to be working fine, I’ll close this issue!