SORMAS-Foundation / SORMAS-Docker

GNU General Public License v3.0
30 stars 28 forks source link

Issue while restaring the docker sormas container #526

Open meajt opened 1 year ago

meajt commented 1 year ago

While Restarting the docker the container called sormas does not function giving the error as displayed in the picture.

The current solution used: To solve this issue: We have been removing the container and recreating the container.

Error files as below:

image

2023-06-21 17:36:58 Log File: /opt/domains/sormas/logs/server.log 2023-06-21 17:36:58 Admin Port: 6048 2023-06-21 17:36:58 Command start-domain executed successfully. 2023-06-21 17:36:59 Configuring domain and database connection... 2023-06-21 17:37:02 Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) 2023-06-21 17:37:02 Command delete-jvm-options failed. 2023-06-21 17:37:04 Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) 2023-06-21 17:37:04 Command create-jvm-options failed. 2023-06-21 17:37:04 Do not Enable Glowroot 2023-06-21 17:37:04 Configuring JDBC pool 2023-06-21 17:37:04 Deleting jdbc-resource jdbc/sormasDataPool 2023-06-21 17:37:25 Waiting for sormas to start .............. 2023-06-21 17:37:25 Successfully started the domain : sormas 2023-06-21 17:37:25 domain Location: /opt/domains/sormas 2023-06-21 17:37:25 Log File: /opt/domains/sormas/logs/server.log 2023-06-21 17:37:25 Admin Port: 6048 2023-06-21 17:37:25 Command start-domain executed successfully. 2023-06-21 17:37:25 Configuring domain and database connection... 2023-06-21 17:37:29 Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) 2023-06-21 17:37:29 Command delete-jvm-options failed. 2023-06-21 17:37:31 Unable to create a system terminal, creating a dumb terminal (enable debug logging for more information) 2023-06-21 17:37:32 Command create-jvm-options failed. 2023-06-21 17:37:32 Do not Enable Glowroot 2023-06-21 17:37:32 Configuring JDBC pool 2023-06-21 17:37:32 Deleting jdbc-resource jdbc/sormasDataPool

meajt commented 1 year ago

. The steps that I have followed to resolve this issues are:

  1. I have cloned repo sormas-docker from official repo and checkout to the master branch.
  2. I have done two changes. i) change docker data path ii) have open 6080 port to host network to test in local.
  3. I have run docker-compose up sormas -d Everythink work fine upto here, we can open 6080 in web browser also.
  4. Restart sormas application container(docker restart {sormas_id}).

I have also attached a link to the recorded video of the issue. Please find the link to the video below: https://drive.google.com/file/d/1W-9365IepJRsb__H84Xi4FV_qfqT9Vh1/view?usp=sharing

Please let me know if the steps that I have followed is as per your recommendation and let me know if I am missing something there.