Permalink PIDs: UnmanagedPermaLinkProvider is not configured

54 views
Skip to first unread message

Henning Timm

unread,
Jan 16, 2025, 11:07:17 AMJan 16
to dataverse...@googlegroups.com
Hi all,

I am having some trouble setting up a Permalink pid provider on a new
Dataverse 6.5. I installed Dataverse using the Ansible Playbook, which
configures a FAKE doi provider and then manually configured an
additional perma pid provider as follows:

# Default set during installation
-Ddataverse.pid.fake.type=FAKE
-Ddataverse.pid.fake.label=Fake DOI Provider
-Ddataverse.pid.fake.authority=10.5072
-Ddataverse.pid.fake.shoulder=FK2/
# My permalink provider
-Ddataverse.pid.perma1.type=perma
-Ddataverse.pid.perma1.label=PermaLink
-Ddataverse.pid.perma1.authority=abc1234
-Ddataverse.pid.perma1.permalink.separator=-
-Ddataverse.pid.perma1.shoulder=ds-
-Ddataverse.pid.perma1.permalink.identifier-generation-style=randomString
-Ddataverse.pid.perma1.permalink.base-url=https://dataverse.abc1234.uni-due.de/
# I overwrote these settings to make perma1 the default provider, but to
offer both.
-Ddataverse.pid.providers=fake,perma1
-Ddataverse.pid.default-provider=perma1

Then I removed all PID-related settings via the `/api/admin/settings`
API and restarted payara. Both providers show up in the user interface.
Using the FAKE provider works, but when I switch to the perma provider I
get the following error in `server.log`:

CommandException, when attempting to update the dataset: PID Provider
UnmanagedPermaLinkProvider is not configured.
edu.harvard.iq.dataverse.engine.command.exception.IllegalCommandException:
PID Provider UnmanagedPermaLinkProvider is not configured.
        at
edu.harvard.iq.dataverse.engine.command.impl.CreateNewDatasetCommand.handlePid(CreateNewDatasetCommand.java:100)
        at
edu.harvard.iq.dataverse.engine.command.impl.AbstractCreateDatasetCommand.execute(AbstractCreateDatasetCommand.java:134)
        at
edu.harvard.iq.dataverse.engine.command.impl.AbstractCreateDatasetCommand.execute(AbstractCreateDatasetCommand.java:26)
        at
edu.harvard.iq.dataverse.EjbDataverseEngineInner.submit(EjbDataverseEngineInner.java:36)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at
org.glassfish.ejb.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:588)
        at
org.glassfish.ejb.security.application.EJBSecurityManager.invoke(EJBSecurityManager.java:408)
[...]


Does anyone have an idea what is going wrong here?

This is a cross-post from the following Zulip thread:
https://dataverse.zulipchat.com/#narrow/channel/378866-troubleshooting/topic/Permalink.20PIDs.3A.20UnmanagedPermaLinkProvider.20is.20not.20configured

Cheers,
Henning

James Myers

unread,
Jan 16, 2025, 6:20:54 PMJan 16
to dataverse...@googlegroups.com
I'm not seeing anything obvious, but have one guess - using '-' as a separator and in the shoulder. I wouldn't be surprised if there's a bug somewhere in recognizing perma:abc1234-ds-ACBDEF belonging to the perma1 provider. If that doesn't occur, we'd assume that the PID belongs to the UnmanagedPermaLinkProvider which is 'not configured' to let you create new datasets. If that's it, the workaround would obviously be to not duplicate '-', but please submit an issue as well.

-- Jim
--
You received this message because you are subscribed to the Google Groups "Dataverse Users Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dataverse-commu...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dataverse-community/0f8680f9-06f1-4176-81d3-82d737999b56%40uni-due.de.

Philip Durbin

unread,
Jan 17, 2025, 8:55:53 AMJan 17
to dataverse...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages