A few days after activating PLN plugin, I still have all deposits pending
I’ve activated and configured the plugin PLN some days ago. Since then, I am checking the status of deposits a few times a day and they’re always pending. Similarly to this issue, I still see the message “The PKP PLN does not know about this journal yet”.
Cron jobs are running (plugins.generic.pln.classes.tasks.Depositor last run 2022-09-28 08:10:44 , a few minutes ago).
Just in case, I tried disabling and re-enables the plugin, as well as deleting and re-installing. I have also try resetting deposits from PLN plugin GUI (I never thought it could make any changes, but I had to try).
Additional information
I see an error in log files related to this matter:
[28-Sep-2022 07:23:03 America/Argentina/Buenos_Aires] PN server returned HTTP error when attempting to get the service document.
But I am not sure if this is a communication problem on our side, a server error on PLN side, a configuration error, or something in between.
We had installed the PLN plugin for this journal on a dev environment for testing purposes. I am thinking that this testing might have generated a problem if PLN server registered the test-journal (with localhost URL perhaps?)
Any help is appreciated. Thanks in advance!
Gonzalo
I’ve just checked your case, I can confirm there are 3 entries for your journal on the server, and all of them have 0 deposits.
Can you try to check the “status” again? It should not be showing the message The PKP PLN does not know about this journal yet anymore. This state is changed once the server is able to ping you back (the ping happens asynchronously), and it has happened already.
Also, we had infrastructure issues these last days, so the service availability was affected, which explains the error message that you’ve got.
Hi @jonasraoni ,
I waited for at least 48 hs to make sure that PLN sched. task run at least twice.
I can see in scheduled_tasks table that PLN depositor run a few minutes ago:
However, I still see the message “Network Status: The PKP PLN does not know about this journal yet.” (and off course, all deposits are still pending).
In the server logs, I don’t see an error related to PLN plugin. All I see are some deprecation warnings from usageStats plugin:
PHP Deprecated: Non-static method Core::removeBaseUrl() should not be called statically in /home/admin/public_html/ojs/plugins/generic/usageStats/UsageStatsLoader.inc.php on line 777
PHP Deprecated: Non-static method Core::_getBaseUrlAndPath() should not be called statically in /home/admin/public_html/ojs/lib/pkp/classes/core/Core.inc.php on line 231
Should I keep waiting? I’m starting to think that there might be a configuration problem with the server (it’s a commercial VPS service, not a server fully manage by me), but I don’t know where to look for.
Sorry for the delay, I forgot to answer
I see your journal has sent deposits yesterday, so unless you have something else to add, I think this topic can be closed.
Hi Jonas,
I confirm that the current status is “Network Status: The PKP PLN can accept deposits from this journal.”, and that deposits status are mostly “in progress”. However, I am seeing two of them marked as Error (Deposit Import/export error). In this case, shall I reset those deposits? Or the plugin will retry by itself?
The plugin doesn’t retry, so feel free to reset. Depending on the type of problem, it’s not going to help (e.g. a failure to generate the export file needs to be corrected at the installation level, such as a publication without author, invalid dates, etc.).