Problems with the DOI-CrossRef automatic registration

Hi @lnavarro,

Have you made any changes to your installation? I couldn’t find the text…

Un prefijo  DOI debe ser indicado

…anywhere in the codebase for OJS 2.4.5. Is that the exact text, i.e. did you copy/paste it here?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec, the exact text, that appear when updating is:

Un prefijo DOI debe ser indicado en las páginas de gestión para poder utilizar este plugin.
##manager.setup.doiPrefixDescription##

I think that I should change code in the file
DOIPubIdPlugin.inc.php??
regards

Hola Alec,
Could you indicate, the version plugin import export Crossref and plugin for generate DOI , that work with OJS version 2.4.5.
Maybe , we should update the plugins

Regards Laura

Hi @lnavarro,

You should use the version of the plugin that comes with your version of OJS. Have you made changes to any of that?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi Alec;
I consulted with the technology unit; and they only update the core OJS but not the plugins. Where we can download this plugins ( generated DOI and export Crossref) for OJS version 2.4.5?

Hi @lnavarro,

When they updated the OJS code to 2.4.5, this should have included the plugin code.

Unfortunately I’m not sure what to suggest for that error message – it doesn’t appear anywhere in the OJS 2.4.5 codebase that I can see, so I’m not sure where it’s coming from.

Regards,
Alec Smecher
Public Knowledge Project Team

This message was the Spanish translation of plugins.importexport.crossref.errors.noDOIprefix in 2.3.x:

As @asmecher mentioned, this indicates that your upgrade was not successful.

Backup your database and files, and then try to repair the installation by using the “Full Package” upgrade to ensure all of your files are at 2.4.5.

1 Like

Ok
Thank you.
a question: I can only upgrade the plugins without install anew OJS.?
Slds Laura

It is possible to only replace the plugins with the latest versions by just overwriting the “plugins” directory.

I strongly recommend replacing all files, however. You don’t want to have inconsistencies in the code. Right now it appears you have some 2.3.x code in your 2.4.5 install. We found this one instance, but there could be others. It would be best to ensure everything is up-to-date.

Dear All,

I encountered the same problem. It is still possible to register the DOI manually but the OJS CrossRef-Plugin doesn’t register them automatically. I also checked the setttings a few times and made sure to edit the publication date.

Any further ideas on where to look for a solution to this problem?

A big thanks to the community. Best wishes from Berlin

@wiebkeberlin, there have been multiple different issues discussed in the thread above. Can you describe your situation in some more detail?

What version of OJS are you running, and are you using cron or acron to manage the automatic registration? Do you see any errors in the logs or in your email relating to a failure for the automatic registration?

Thanks for your quick reply. I am using version 2.4.8 of OJS. I am not using cron or acron. For a long time the plugin has been working without any problems. We are neither using cron or acron. There has been no error notice send out, I noticed the problem by coincidence. Also when I check the processes it only displays the succesfull manual registration:

{“status”:“ok”,“message-type”:“deposit”,“message-version”:“1.0.0”,“message”:{“handoff”:{“try-count”:1,“delay-millis”:2718.2818284590453,“status”:“completed”,“timestamp”:1462973162732},“dois”:[“10.14512/oew310146”],“parent”:null,“filename”:null,“submitted-at”:“Wed May 11 09:26:02 EDT 2016”,“status”:“completed”,“length”:2607,“content-type”:“application/vnd.crossref.deposit+xml”,“pingback-url”:null,“submission”:{“submission-id”:“1392751891”,“batch-id”:“028d2ef9-7d2b-4450-9f39-dca697978bbd”,“record-count”:1,“success-count”:1,“warning-count”:0,“failure-count”:0,“messages”:[{“status”:“success”,“related-doi”:“10.14512/OEW310146”,“message”:“Successfully updated”,“message-types”:[]}]},“test”:false,“owner”:“oekom”,“batch-id”:“028d2ef9-7d2b-4450-9f39-dca697978bbd”}}

I’m pretty sure that fully automatic registration requires the use of the acron plugin, or the use of cron to run the crossref plugin’s scheduled task.

Either acron or cron should be used in general, as several routine tasks depend on this scheduling.

You can find the acron plugin under User Home → Journal Manager → System Plugins → Generic Plugins - > Acron. There is some older documentation on cron in the OJS 2.3.3 User Guide.

Yes. I found it. We are using the acron plugin.

Thanks.

@wiebkeberlin

You seem to have changed the journal abbreviation in the meantime and now you have an invalid character “ö”
in your DOIs. This is probably the reason why the registration fails. The allowed characters are: “a-z”, “A-Z”, “0-9” and “-.;()/". I.e. only ASCII characters are allowed – lets say English alphabet – no special characters except "-.;()/”.

Best!
Bozana

Dear Bozana,

thanks for your post. As far as I can see we had this issue with the DOIs from older issues but not with the most recent ones which failed to register via the plugin. So basically the problem occurred particularly with the most recent issues which contain “oe” instead of “ö”.

But thanks a lot for your help and your ideas!

@wiebkeberlin

Could you send a link to an Article with a DOI containing “oe” that couldn’t be registered?

Best,
Bozana

Hi @premolar,

Rather than re-opening an old thread, could you post this issue as a new topic? Also include your OJS version in your posts.

Regards,
Alec Smecher
Public Knowledge Project Team

Sorry for opening an old topic but no one replies on the new one ><

The crossref plugin is working only if i register the issues or articles manually it only take a second to get register and the username and password are working fine

all the info i read online regarding the requirements for the plugin to work automatically when i publish an issue or article are met…

yet whenever i give it a try it always give me ( not deposit ) status

I tried it with Acron plugin enabled and tried to reload schedules and tried it with Acron off
Tried to change the password and make it only alphanumeric with no capitals
i have the schedule turned on from the config.inc.php

I have tried everything but still not working … do u have any suggestions?

There is a known bug in 2.4.x where the deposit status within the Crossref plugin will not progress, even though the article is successfully registered with Crossref. This status progression was rewritten in 3.x:

https://github.com/pkp/pkp-lib/issues/3803

Can you confirm whether the issue is just a failure of updating the deposit status, or a failure of registering the DOI?

1 Like