Comments (10)
I did add a couple more customizable environment variables to the image. You should be able to set IGNITION_COMMISSIONING_DELAY
to something higher if the container is slow to start (perhaps due to constrained hardware or other system load issues). 10 seconds was an arbitrary pick after observing typical behavior where that commissioning servlet would be online almost immediately.
from ignition-docker.
I have tested the canonical 8.0.6 and, as all the others images that I use, starts like a charm. Problem arise only with "synology" version.
Here the registry of "synology" version with IGNITION_COMMISSIONING_DELAY = 60:
"Added Init Setting SystemName=ignition"
"Gateway Restore Options: --name ignition"
"Provisioning will be logged here: /usr/local/share/ignition/logs/provisioning.log"
"Waiting for commissioning servlet to become active..."
Then after 60 seconds it stops.
Here the "beginning" part of the registry of the canonical 8.0.6:
"wrapper | --> Wrapper Started as Console"
"�]0;Ignition Gateway�wrapper | Java Service Wrapper Standard Edition 64-bit 3.5"
"wrapper | Copyright (C) 1999-2018 Tanuki Software, Ltd. All Rights Reserved."
"wrapper | http://wrapper.tanukisoftware.com"
"wrapper | Licensed to Inductive Automation for Inductive Automation"
"wrapper | "
"wrapper | Launching a JVM..."
"jvm 1 | WrapperManager: Initializing..."
"jvm 1 | 05:33:35,726 |-INFO in ch.qos.logback.classic.LoggerContext[default] - ...."
and so on. It start very quickly.
from ignition-docker.
Can you provide the full docker run
command you are using? The other thing that would be useful to see would be to docker cp
the provisioning.log from inside the failed container instance. Inspecting that log might provide some clues—it looks like something is causing things to stall/halt, not a matter of waiting long enough.
Sent with GitHawk
from ignition-docker.
Sorry, no i cannot. I am using an app on board of a Synology NAS that shell every complexity in a nice and easy gui interface.
Some diagnostic is made through a registry and is what I was sending you.
I'am so confident with your container that I am using it (8.0.2 version on a couple of Synology NAS RS3617xs connected in High Availability and MariaDB database) since 6 months in a production environment without a glitch. Unfortunately not using any external volume due the limitation of UID and GID I mentioned.
What i can do easily is giving you a direct browser connection to a small Synology NAS with all the necessary containers already installer ready to be launched to see the problems.
Just give me a check. Synology Docker APP Interface is very easy to manage, no instruction required.
(Hope you understand my broken english.)
from ignition-docker.
One more info.
I am now able to run 8.0.6 synology image.
But when i try to map a volume ("/docker" volume on synology mapped to "/var/lib/ignition/data") as stated on you web page, conainer does not stat with this error
"/usr/local/bin/docker-entrypoint.sh: line 289: /usr/local/share/ignition/data/.docker-init-complete: Permission denied"
But i am sure that UID and GID are correct: 1024 and 100 checked via SSH on synology.
Thanks in advance.
from ignition-docker.
@proartsrl, I took a look at this and it circles back to trying to use a bind-mount to preserve the gateway data instead of a docker volume mount. The error in the provisioning log is below:
FATAL | wrapper | Unable to open configuration file: data/ignition.conf (No such file or directory)
FATAL | wrapper | Current working directory: /usr/local/share/ignition
FATAL | wrapper | The Wrapper will stop.
When you bind-mount a path into place within a container, it supersedes the information within that location. This is why the base data/ignition.conf
is not there when Ignition tries to launch in your configuration. Using a standard docker volume will inherit the files in that location and then continue to preserve them. Perhaps if I could get a view of this Synology Docker App interface I could help more. Feel free to e-mail me if you can provide that test connection.
from ignition-docker.
You are right, I understand now, not UID or GUID.
"This is why the base data/ignition.conf is not there when Ignition tries to launch in your configuration"
But in synology interface I can bind-mount only local path, not docker volumes (I cannot even create one!) and usually this works, probably because dir are empty at the begining and all files are created afterward.
I tested a container on synology (Transmission), just to be sure, that bind-mount 2 path on /config and /downloads and it worked at first glance.
And to be "more" sure I installed an ubuntu PC and tested your container bind-mounting it on a local path and have had the same result, while, as per your advice, using a volume worked like a charm.
So I am stuck once again if there is no possibility to create data/ignition.conf after the bind-mount of a local path.
Problem understood. Now it's up to you and your kindness investigate for a solution.
Anyway I tank you for your effort till now
from ignition-docker.
@proartsrl, just thought I'd mention that you can now use my image (starting with the 8.1
tag) directly on your Synology with volume persistence. All you have to do is target /data
as your mount point within the container, and then also adjust your ownership of the volume directory on your Synology (via SSH) to 999:999
.
from ignition-docker.
from ignition-docker.
from ignition-docker.
Related Issues (20)
- Update README with links to Official Image
- Add support for Docker Buildx Bake
- Linking ApexCharts-signed.modl third-party module causes container to fail-to-start HOT 1
- Third party jdbc driver not loading from /jdbc mount HOT 4
- `IGNITION_GID` value that conflicts with built-in container groups is fatal error
- host volume path HOT 11
- Modules Paths HOT 2
- Specifying only `GATEWAY_INIT_MEMORY` can cause container not to start
- Apply shellcheck corrections HOT 1
- Restoring Edge GWBK through `/restore.gwbk` comes up in Full edition mode
- Adapt auto-commissioning to use upstream capabilities HOT 1
- Correct bug in handling of GATEWAY_SYSTEM_NAME with spaces HOT 2
- Blank leased-activation config being written to disk causing error on startup
- Volume marker not being placed properly in data volume
- Empty Volume Mode for WSL2<>Windows bindings causing failures on startup
- JDBC Drivers not being properly linked in on 8.1.8
- Third-party modules licenses with filenames other than `license.html` fail to link HOT 1
- Linking Sepasoft modules HOT 3
- Add ability to run-as-root
- Upgraded module from /modules ended up in Quarantine
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ignition-docker.