jgraph / docker-drawio

Dockerized draw.io based on whichever is the most secure image at the time.
GNU General Public License v3.0
1.49k stars 361 forks source link

Container not booting up, running into boot loop #55

Open MichiFr opened 2 years ago

MichiFr commented 2 years ago

Hi!

Just updated the docker image from version 15.9.1 to the latest available (running on Synology NAS) and facing some issues with the boot process.

The last line in the log says: /usr/local/tomcat/bin/catalina.sh: line 421: /docker-java-home/bin/java: No such file or directory and the docker container falls into a boot loop.

Anybody knows how to solve this issue?

Some more lines from the log:

2022-01-03 13:58:46 | stdout | /usr/local/tomcat/bin/catalina.sh: line 421: /docker-java-home/bin/java: No such file or directory
-- | -- | --
2022-01-03 13:58:46 | stdout | Using CATALINA_OPTS:
2022-01-03 13:58:46 | stdout | Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
2022-01-03 13:58:46 | stdout | Using JRE_HOME:        /docker-java-home
2022-01-03 13:58:46 | stdout | Using CATALINA_TMPDIR: /usr/local/tomcat/temp
2022-01-03 13:58:46 | stdout | Using CATALINA_HOME:   /usr/local/tomcat
2022-01-03 13:58:46 | stdout | Using CATALINA_BASE:   /usr/local/tomcat
2022-01-03 13:58:46 | stdout | /docker-entrypoint.sh: line 143: keytool: command not found
2022-01-03 13:58:46 | stdout | /docker-entrypoint.sh: line 141: keytool: command not found
2022-01-03 13:58:46 | stdout | Generating Self-Signed certificate
2022-01-03 13:58:46 | stdout | App.prototype.isDriveDomain = function() { return true; }
2022-01-03 13:58:46 | stdout | window.EMF_CONVERT_URL = null;
2022-01-03 13:58:46 | stdout | EditorUi.enableLogging = false; //Disable logging
2022-01-03 13:58:46 | stdout | window.ICONSEARCH_PATH = null;
2022-01-03 13:58:46 | stdout | window.VSD_CONVERT_URL = null;
2022-01-03 13:58:46 | stdout | Init PostConfig.js
2022-01-03 13:58:46 | stdout | urlParams['gl'] = '0'; //Gitlab
2022-01-03 13:58:46 | stdout | urlParams['od'] = '0'; //OneDrive
2022-01-03 13:58:46 | stdout | urlParams['gapi'] = '0'; //Google Drive
2022-01-03 13:58:46 | stdout | urlParams['tr'] = '0'; //trello
2022-01-03 13:58:46 | stdout | urlParams['gh'] = '0'; //github
2022-01-03 13:58:46 | stdout | urlParams['db'] = '0'; //dropbox
2022-01-03 13:58:46 | stdout | urlParams['sync'] = 'manual'; //Disable Real-Time
MichiFr commented 2 years ago

So, I tried to revert back to an old image, e.g. jgraph/drawio:15.9.6, which now raises the same errors.

Looking at the push dates on https://hub.docker.com/r/jgraph/drawio/tags it seems that all images have been recreated and now fail, at least on my side.

Edit and FYI: a next step backwards to tag 15.9.4, which now works flawlessly again. Obviously, because it does not include tomcat?

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.