Giter Club home page Giter Club logo

docker-mycontroller's People

Contributors

arturmon avatar githubcdr avatar renovate-bot avatar renovate[bot] avatar zpimenta avatar

Stargazers

 avatar

Watchers

 avatar  avatar

docker-mycontroller's Issues

Start with a Docker..

Hi,

My name is Antoni and I'm not familiarized working with the Docker's platform..

I have a Synology NAS with a Docker process and your docker-mycontroller package but I don't know how to change the "mycontroller.properties" file and others settings, etc..

Is it possible to need something like?:

docker run -d -p 1883 -p 8443 --name mycontroller cdrocker/mycontroller -v <path_to_config>:/conf -v <path_to_temp>:/temp ???

Could you help me, please?

Best regards.
Antoni.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • alpine 20231219
github-actions
.github/workflows/docker.yml
  • docker/metadata-action v5
  • docker/setup-qemu-action v3
  • docker/setup-buildx-action v3
  • docker/login-action v3
  • docker/build-push-action v5

  • Check this box to trigger a request for Renovate to run again on this repository

Persistent storage

Hello!

It would be good to document which folders it makes sense to put on the volumes to avoid data loss on container re-creation.

Comparing files before and after starting the server, I see the following changed folders/files:

  • /usr/local/backup
  • /usr/local/conf/mycontroller.mv.db
  • /usr/local/conf/mycontroller.trace.db
  • /usr/local/conf/persistent_stores
  • /usr/local/mycontroller/conf/keystore.jks
  • /usr/local/mycontroller/conf/resources/dashboards
  • /usr/local/mycontroller/conf/resources/scripts
  • /usr/local/logs
  • /usr/local/mycontroller/www/_configurations

Maybe it is possible to optimize the configuration a little to move all resources under one root folder.

Unable to start the docker container

I used your image for a long time, but at the moment i'm unable to start succesfully the container.
This is the log:
SSLsocket creation: java.io.IOException: java.security.ProviderException: Could not initialize NSS
java.io.IOException: java.security.ProviderException: Could not initialize NSS
at Acme.Serve.SSLAcceptor.init(SSLAcceptor.java:187)
at Acme.Serve.Serve.createAcceptor(Serve.java:912)
at Acme.Serve.Serve.init(Serve.java:769)
at Acme.Serve.Serve.runInBackground(Serve.java:649)
at org.jboss.resteasy.plugins.server.tjws.TJWSServletServer.start(TJWSServletServer.java:179)
at org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer.start(TJWSEmbeddedJaxrsServer.java:58)
at org.mycontroller.standalone.StartApp.startHTTPWebServer(StartApp.java:236)
at org.mycontroller.standalone.StartApp.startServices(StartApp.java:323)
at org.mycontroller.standalone.StartApp.startMycontroller(StartApp.java:133)
at org.mycontroller.standalone.StartApp.main(StartApp.java:119)
java.security.ProviderException: Could not initialize NSS
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:223)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
at java.security.Security.insertProviderAt(Security.java:395)
at java.security.Security.addProvider(Security.java:438)
at Acme.Serve.SSLAcceptor.init(SSLAcceptor.java:181)
at Acme.Serve.Serve.createAcceptor(Serve.java:912)
at Acme.Serve.Serve.init(Serve.java:769)
at Acme.Serve.Serve.runInBackground(Serve.java:649)
at org.jboss.resteasy.plugins.server.tjws.TJWSServletServer.start(TJWSServletServer.java:179)
at org.jboss.resteasy.plugins.server.tjws.TJWSEmbeddedJaxrsServer.start(TJWSEmbeddedJaxrsServer.java:58)
at org.mycontroller.standalone.StartApp.startHTTPWebServer(StartApp.java:236)
at org.mycontroller.standalone.StartApp.startServices(StartApp.java:323)
at org.mycontroller.standalone.StartApp.startMycontroller(StartApp.java:133)
at org.mycontroller.standalone.StartApp.main(StartApp.java:119)
Caused by: java.io.FileNotFoundException: /usr/lib/libnss3.so
at sun.security.pkcs11.Secmod.initialize(Secmod.java:193)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:218)

... 25 more
I just started the cointainer with the following: docker run -d -p 1883 -p 8443 --name mycontroller cdrocker/mycontroller

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.