`stardog-admin db metadata` does not work

Hi!

Trying to test the ICV guard mode on a database (called stardog), when following the instructions (see the documentation) the following occurred:

$ /opt/stardog/bin/stardog-admin db metadata set -o icv.enabled=true icv.reasoning.enabled=true stardog
Invalid or missing options:
Command 'metadata' not recognized
Type 'help db' for usage information

(FYI: I executed /opt/stardog/bin/stardog-admin db offline --timeout 0 stardog previously as stated by the docu)

I also tried just to open the help dialog:

$ /opt/stardog/bin/stardog-admin help db metadata
Unknown command db metadata

I’m using Stardog 5.2.2.

Is the documentation wrong? Or is the command missing completely?

Thanks in advance!

Ruben

Hi Ruben,

The command is stardog-admin metadata set, not stardog-admin db metadata set.

Hi Stephen!

I see, there is a mistake in the ICV examples section.

I switched to stardog-admin metadata and it seems to work.

Thanks! :slight_smile: