Issues with PKP PN Plugin in OJS 3.4.0-5 – No deposits or logs generated

Orlando_Antonio_Guti
Fri, 07 Mar 2025 15:55:57 +0000
Software Support

I’m currently managing a server with OJS 3.4.0-5 and I’m trying to use the PKP PN plugin (version 3.0.0-1), which, according to the official GitHub repository, should be compatible with OJS 3.4. However, the plugin is not generating any deposits or logs, even though the scheduled task is being triggered (Acron updates the last_run timestamp).

Expected behavior:
The PKP PN plugin should detect new issues and generate deposits, and the process should be logged in the scheduledTaskLogs folder.

Observed behavior:

No deposits are created.

No new logs are written to /dir/dir/scheduledTaskLogs/.

The internal plugin log (php.log inside the plugin folder) hasn’t been updated since November 2024, even though the scheduled task is triggered multiple times.

No visible errors are shown when running the task manually via CLI.

Steps I took leading up to the issue

1. Installed PKP PN plugin 3.0.0-1 in plugins/generic/pln.

2. Verified the presence of scheduledTasks.xml (it was originally inside plugins/generic/pln/xml/ and we moved it to plugins/generic/pln/ to match OJS expectations).

3. Confirmed that Acron is enabled and functional.

4. Confirmed that the PKP PN task is present in the scheduled_tasks table and that last_run is updated each time the site is accessed.

5. Manually ran:

php tools/runScheduledTasks.php plugins/generic/pln/scheduledTasks.xml

No errors were shown, but no new deposits or logs were created.
6. Checked Apache error logs — the only relevant error relates to the ORCID Profile plugin configuration, not PKP PN.
7. Confirmed that Xdebug is not enabled, so debugging interference is not present.
8. Reviewed the contents of /dir/dir/scheduledTaskLogs/ — no new logs were created since January 2025, despite multiple executions.
9. The internal plugin log php.log inside the PKP PN plugin folder hasn’t been updated since November 2024.

Additional information
We have verified the following:

Acron is correctly triggering scheduled tasks.

Other scheduled tasks (such as usage stats) do seem to work.

The PKP PN plugin does not generate any errors, but also does not log anything, nor does it create deposits.

No deposit activity is visible in the plugin’s UI within OJS.

We suspect this could be related to how the plugin registers its class (Depositor) in OJS 3.4, or a silent failure that prevents execution without error feedback.

Please let us know if anyone in the community has successfully set up PKP PN in OJS 3.4 and, if so, what additional configuration or fixes were necessary.

Thank you for your help!

11 posts - 3 participants