This repository was archived by the owner on Dec 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
This repository was archived by the owner on Dec 7, 2021. It is now read-only.
Plugin can not be deployed #2
Copy link
Copy link
Open
Description
Hi @Emmanuel35,
I had a try with your OS template.
It seems that it does not work properly on my env (minishift).
When the gateway is starting, I have a lot of access denied error:
19:30:52.444 [gravitee] [] ERROR i.g.p.c.internal.PluginRegistryImpl - An unexpected error occurs while loading plugin archive /opt/graviteeio-gateway/plugins/gravitee-repository-ehcache-1.0.0.zip
--
| java.nio.file.AccessDeniedException: /opt/graviteeio-gateway/plugins/.work
| at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
| at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
| at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
| at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
| at java.nio.file.Files.createDirectory(Files.java:674)
| at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
| at java.nio.file.Files.createDirectories(Files.java:767)
| at io.gravitee.plugin.core.utils.FileUtils.unzip(FileUtils.java:75)
| at io.gravitee.plugin.core.internal.PluginRegistryImpl.loadPlugin(PluginRegistryImpl.java:190)
| at io.gravitee.plugin.core.internal.PluginRegistryImpl.loadPlugins(PluginRegistryImpl.java:131)
| at io.gravitee.plugin.core.internal.PluginRegistryImpl.loadPluginsFromRegistry(PluginRegistryImpl.java:118)
| at io.gravitee.plugin.core.internal.PluginRegistryImpl.init(PluginRegistryImpl.java:101)
| at io.gravitee.plugin.core.internal.PluginRegistryImpl.doStart(PluginRegistryImpl.java:81)
| at io.gravitee.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:32)
| at io.gravitee.common.node.AbstractNode.doStart(AbstractNode.java:53)
| at io.gravitee.common.component.AbstractLifecycleComponent.start(AbstractLifecycleComponent.java:32)
| at io.gravitee.gateway.standalone.Container.start(Container.java:108)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
| at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
| at java.lang.reflect.Method.invoke(Method.java:498)
| at io.gravitee.gateway.standalone.boostrap.Bootstrap.start(Bootstrap.java:162)
| at io.gravitee.gateway.standalone.boostrap.Bootstrap.main(Bootstrap.java:171)
Do you know the cause of such error. Did you change something in your gravitee images ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels