Regarding PKP PN Setting & Status

Dear Team;
I installed PKP PN 4 days back and updated yesterday with the latest version 2.0.3-1 but nothing changed in the status yet. In the setting page I can see a notification for the requirement of Archive_Tar extension, however, Archive_Tar and ZIP both already installed on the server. Screenshot of the page and required details are as follows-
OJS Version: 3.2.1.1
PN Version: 2.0.3-1
JUID: 29847A85-C9B0-4054-8CF4-402491CDAC0A
1
2

Can you please confirm if it’s normal or PN not enabled yet due to some php extension issue?

Thanks

Hi @aabahishti,

Can you check your scheduled task logs for the PLN task? These are in your files_dir (see config.inc.php) in files called scheduledTaskLogs/PKPPLNDepositorTask-*.log.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi!
Thanks @asmecher There is following Warning in the logfile after Depositor processing started-
[2020-07-23 19:16:11] [Warning] Your system must have a tar executable.

Note: When I try to install plugins from the dashboard then also this message appears “The “exec” PHP function has been disabled on your server.” After enabling exec function, I am getting this error “Files of this type can not be uploaded.” while trying to install plugin directly from the gallery.

Thanks

Hi @aabahishti,

I’d suggest following through some of the other forum threads regarding that error message. It’s probably a misconfiguration of the tar setting in your config.inc.php.

Regards,
Alec Smecher
Public Knowledge Project Team

Hi!
Thanks for the info, in config.inc.php file setting is tar = /bin/tar

I emailed the hosting provider if the path is correct. Will let you know as soon as get any update.
Thanks

Dear @asmecher
I got a reply from the hosting provider that the correct path for tar is-

tar: /bin/tar /usr/include/tar.h /usr/share/man/man1/tar.1.gz

in config.inc.php file setting is tar = /bin/tar

Kindly help me out that what configuration requires to be changed or what else information I need to ask from the hosting provider.
Sorry for bothering you, I can’t figure out these technical stuffs.
Thanks

Hi @aabahishti,

With tar configured this way, can you check the error log when you try to install a plugin from the plugin gallery to see if anything different appears there?

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks for the response. I tried plugin installation which failed but I cant see any logged error.
Thanks

Hi @aabahishti,

And you are still getting Files of this type can not be uploaded when you try to install a plugin via the Plugin Gallery?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi!
Thanks for the follow up; Yes I am getting the same message Files of this type can not be uploaded. I can’t find any solution in the forum.
Your support and help are appreciated.
Thanks

Hi @asmecher
Hope you and your team members are in good health. Yesterday I tried by downgrading PHP version from 7.4 to 7.3 after that the notification for the requirement of Archive_Tar extension from PN setting popup disappeared.
Today I can see following in PKPPNDepositorTask file-

[2020-08-17 19:38:48] [Notice] Task process started.
[2020-08-17 19:38:48] [Notice] PLN Depositor executeActions started
[2020-08-17 19:38:48] [Notice] Depositor processing for **************.
[2020-08-17 19:38:48] [Notice] Getting service document.
[2020-08-17 19:38:48] [Notice] Processing deposit status updates.
[2020-08-17 19:38:48] [Notice] Processing updated content.
[2020-08-17 19:38:48] [Notice] Processing new content.
[2020-08-17 19:38:48] [Notice] Packaging content for deposit.
[2020-08-17 19:38:48] [Notice] Trying package deposit 4 (Issue: 8) (Local Status: [New], Processing Status: [Unknown], Lockss Status: [Unknown])

The screenshot status of the journal attached below-

However, the task file shows processing for only one journal; it didn’t run for other journals in the same installation; I am not sure if all journals shall be processed same time or it will be scheduled to process later (Maybe I can watch for tomorrow and day after)

Note: Installing plugin from gallery still giving the same error Files of this type can not be uploaded

Thanks

Hi @aabahishti,

I suspect watching this for a couple of days will lead to a resolution; the deposit/harvest process is spread out.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

This topic was automatically closed after 16 hours. New replies are no longer allowed.