Stardog 7 on Windows 10 via Docker

Hi there! I'm looking into Stardog 7 for Windows 10. I see there's no version specifically for Windows anymore, so I thought to get a look at Docker (no previous experience). I did the following steps but without being successfully in starting Stardog 7:

  1. Pull Stardog in Docker: docker pull stardog/stardog:latest
  2. Create a folder on my Windows drive and did a binary copy of the license I received previously via mail.
  3. Then I did the following command docker run -v ~/pathToMyFolder/:/var/opt/stardog stardog/stardog

When I hit enter, I receive the following errors:

39) Error in custom provider, com.stardog.starrocks.StarrocksException: IO error: While fsync: a directory: Invalid argument
  at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getStorageKernel(RocksIndexModule.java:75) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule -> com.complexible.stardog.index.disk.rocks.RocksIndexModule)
  at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getStorageKernel(RocksIndexModule.java:75) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule -> com.complexible.stardog.index.disk.rocks.RocksIndexModule)
  while locating com.stardog.starrocks.NativeStorageKernel
    for parameter 0 at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getTransactionStore(RocksIndexModule.java:67)
  at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getTransactionStore(RocksIndexModule.java:67) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule -> com.complexible.stardog.index.disk.rocks.RocksIndexModule)
  at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getTransactionStore(RocksIndexModule.java:67) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule -> com.complexible.stardog.index.disk.rocks.RocksIndexModule)
  while locating com.complexible.mvcc.api.MutableTransactionStore
    for parameter 1 at com.complexible.mvcc.impl.oracle.SimpleOracle.<init>(SimpleOracle.java:47)
  while locating com.complexible.mvcc.impl.oracle.SimpleOracle
  at com.complexible.stardog.index.mvcc.MvccModule.configure(MvccModule.java:29) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule -> com.complexible.stardog.index.mvcc.MvccModule)
  while locating com.complexible.mvcc.api.oracle.TransactionOracle
    for parameter 5 at com.complexible.stardog.index.io.IndexIO.<init>(IndexIO.java:234)
  at com.complexible.stardog.index.IndexModule.configure(IndexModule.java:35) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule -> com.complexible.stardog.index.IndexModule)
  while locating com.complexible.stardog.index.io.IndexIO
    for parameter 4 at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:250)
  at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:250) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
  at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:250) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
  while locating com.complexible.stardog.index.Index annotated with @com.google.inject.name.Named(value=system.index)
  at com.complexible.stardog.virtual.MappingsStore.<init>(MappingsStore.java:48)
  while locating com.complexible.stardog.virtual.MappingsStore
    for parameter 1 at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.<init>(DefaultVirtualGraphRegistry.java:99)
  at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.class(DefaultVirtualGraphRegistry.java:66)
  while locating com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
  at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:29) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
  while locating com.complexible.stardog.virtual.VirtualGraphRegistry annotated with @com.google.inject.name.Named(value=SecuredVirtualGraphRegistry.base)
    for parameter 0 at com.complexible.stardog.virtual.VirtualGraphService.<init>(VirtualGraphService.java:67)
  while locating com.complexible.stardog.virtual.VirtualGraphService
  at com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:25) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
  while locating com.complexible.stardog.plan.eval.service.Service annotated with @com.google.inject.multibindings.Element(setName=,uniqueId=26, type=MULTIBINDER, keyType=)
  at com.complexible.stardog.versioning.VersioningModule.configure(VersioningModule.java:31) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.versioning.VersioningModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
  while locating java.util.Set<com.complexible.stardog.plan.eval.service.Service>
    for parameter 0 at com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.<init>(DefaultServiceRegistry.java:24)
  while locating com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
  at com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:138) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
  while locating com.complexible.stardog.plan.eval.service.ServiceRegistry
    for parameter 20 at com.complexible.stardog.StardogKernel.<init>(StardogKernel.java:287)
  at com.complexible.stardog.StardogKernel.class(StardogKernel.java:287)
  while locating com.complexible.stardog.StardogKernel
  while locating com.complexible.stardog.Kernel
Caused by: com.stardog.starrocks.StarrocksException: IO error: While fsync: a directory: Invalid argument
        at com.stardog.starrocks.NativeStorageKernel.open(Native Method)
...

Just found out that Stardog v6 can still be downloaded for Windows from the download section. Thanks for this!

Anyhow, still interested to see if I can run Stardog v7 on Windows via Docker... @serge: do you have any ideas what might be going wrong?

I don't generally run Windows so I'm just curious. Is there something about 7 where it will only run in a docker container on Windows? It looks like there's still windows specific bat files in the distribution.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.