Hi,
From Home | Stardog Documentation Latest I learnt that Stardog 7 is not supported as a local installation on Windows:
For Windows users, Stardog 7 is supported by running within a Docker container.
So as advised, I pulled the docker image
docker pull stardog/stardog:latest
docker run -it -v C:\Users\Sander\Stardog-Docker:/var/opt/stardog stardog/stardog
(Note that you may wish to update Stardog Cloud | Stardog, the second command listed there does not end with stardog/stardog
.)
When starting the Stardog docker container this way, I get 45 errors. I'm pasting the last one here, since they didn't all fit on my terminal window, and at least the last few are the same errors anyway:
45) Error in custom provider, java.io.IOException: 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:239)
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:263)
at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:263) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
at com.complexible.stardog.BaseStardogModule.getSystemIndex(BaseStardogModule.java:263) (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:102)
at com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.class(DefaultVirtualGraphRegistry.java:68)
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:68)
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=38, type=MULTIBINDER, keyType=)
at com.complexible.stardog.docs.db.BitesDbModule.configure(BitesDbModule.java:26) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.docs.BitesModule -> com.complexible.stardog.docs.db.BitesDbModule -> 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:140) (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:288)
at com.complexible.stardog.StardogKernel.class(StardogKernel.java:288)
while locating com.complexible.stardog.StardogKernel
while locating com.complexible.stardog.Kernel
Caused by: java.io.IOException: IO error: While fsync: a directory: Invalid argument
at com.stardog.starrocks.NativeStorageKernel.open(Native Method)
at com.stardog.starrocks.NativeStorageKernel.open(NativeStorageKernel.java:243)
at com.complexible.stardog.index.disk.rocks.RocksIndexModule.getStorageKernel(RocksIndexModule.java:104)
at com.complexible.stardog.index.disk.rocks.RocksIndexModule$$FastClassByGuice$$55110a28.invoke(<generated>)
at com.google.inject.internal.ProviderMethod$FastClassProviderMethod.doProvision(ProviderMethod.java:272)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:172)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
at com.google.inject.spi.ProviderLookup$1.get(ProviderLookup.java:104)
at com.google.inject.internal.ProviderMethod.get(ProviderMethod.java:167)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at com.complexible.stardog.virtual.MappingsStore.<init>(MappingsStore.java:49)
at com.complexible.stardog.virtual.MappingsStore$$FastClassByGuice$$a492935c.newInstance(<generated>)
at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:61)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:105)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:375)
at com.google.inject.multibindings.Multibinder$RealMultibinder.get(Multibinder.java:258)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:81)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:53)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.SingleParameterInjector.inject(SingleParameterInjector.java:38)
at com.google.inject.internal.SingleParameterInjector.getAll(SingleParameterInjector.java:62)
at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:104)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:267)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:56)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1016)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1092)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1012)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1051)
at com.complexible.stardog.Stardog.initKernel(Stardog.java:247)
at com.complexible.stardog.Stardog.<init>(Stardog.java:235)
at com.complexible.stardog.Stardog.<init>(Stardog.java:64)
at com.complexible.stardog.Stardog$StardogBuilder.create(Stardog.java:653)
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:160)
at com.complexible.stardog.cli.impl.ServerStart.call(ServerStart.java:42)
at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:55)
at com.complexible.stardog.cli.admin.CLI.main(CLI.java:197)
45 errors
I actually wanted to add to Stardog 7 on Windows 10 via Docker that I also couldn't run Stardog with Docker on Windows but I see that thread is closed.
I have a colleague that has a working docker image for stardog so I'll switch to using that for now.
Kind regards,
Sander