openimsdk / openim-docker

openim-docker configuration for deploying OpenIM. Provides a build solution for a stable distribution, as well as a docker compose deployment strategy
https://openim.io
Apache License 2.0
36 stars 46 forks source link

!!! Error in /openim/openim-server/scripts/start-all.sh:55 #95

Closed linux-8 closed 7 months ago

linux-8 commented 7 months ago

What happened?

!!! Error in /openim/openim-server/scripts/start-all.sh:55 !!! Error in /openim/openim-server/scripts/docker-start-all.sh:33

What did you expect to happen?

0d6c2b22623ac4c68d9407a4b5883079

How can we reproduce it (as minimally and precisely as possible)?

![Uploading 0d6c2b22623ac4c68d9407a4b5883079.png…]()

Anything else we need to know?

No response

version

rockylinux9.3 docker24

Cloud provider

rockylinux9.3 docker24

OS version

rockylinux9.3 docker24

Install tools

cubxxw commented 7 months ago

Could you please take a look at the openim-server/_output/logs/ directory? It seems that this log indicates a failure in starting the openim-api. Thank you for your attention to this matter.

linux-8 commented 7 months ago

你能看一下openim-server/_output/logs/目录吗?似乎此日志表明启动openim-api失败。感谢您对此事的关注。 Generating /openim/openim-server/config/config.yaml as it does not exist. ⌚ Working with template file: /openim/openim-server/deployments/templates/openim.yaml to generate /openim/openim-server/config/config.yaml... Generating /openim/openim-server/config/alertmanager.yml as it does not exist. ⌚ Working with template file: /openim/openim-server/deployments/templates/alertmanager.yml to generate /openim/openim-server/config/alertmanager.yml... Generating /openim/openim-server/config/prometheus.yml as it does not exist. ⌚ Working with template file: /openim/openim-server/deployments/templates/prometheus.yml to generate /openim/openim-server/config/prometheus.yml... Generating /openim/openim-server/.env as it does not exist. ⌚ Working with template file: /openim/openim-server/deployments/templates/env-template.yaml to generate /openim/openim-server/.env... Generating /openim/openim-server/config/notification.yaml as it does not exist. 📋 Copying /openim/openim-server/deployments/templates/notification.yaml to /openim/openim-server/config/notification.yaml... Generating /openim/openim-server/config/email.tmpl as it does not exist. 📋 Copying /openim/openim-server/deployments/templates/email.tmpl to /openim/openim-server/config/email.tmpl... Generating /openim/openim-server/config/instance-down-rules.yml as it does not exist. 📋 Copying /openim/openim-server/deployments/templates/instance-down-rules.yml to /openim/openim-server/config/instance-down-rules.yml...

linux-8 commented 7 months ago

!!! Error in /openim/openim-server/scripts/install/openim-api.sh:74

linux-8 commented 7 months ago

![Uploading 7b83bdd4c1c902bcd0733a169945b91.png…]()

kubbot commented 7 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


![Uploading 7b83bdd4c1c902bcd0733a169945b91.png…]()

cubxxw commented 7 months ago

It seems that the execution hasn't been successful. It's possible that some dirty files in this directory have overwritten the configuration files in the container. Would you mind trying to stop everything, cloning in a new directory, and then restarting? Thank you so much for your help!

linux-8 commented 7 months ago

似乎执行没有成功。此目录中的某些脏文件可能覆盖了容器中的配置文件。您是否介意尝试停止所有操作,在新目录中克隆,然后重新启动?非常感谢您的帮助!

好的大神,我换个目录

kubbot commented 7 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


It seems that the execution was not successful. Some dirty files in this directory may have overwritten configuration files in the container. Would you mind trying stopping everything, cloning in a new directory, and restarting? Thank you for your help!

Okay sir, let me change the directory

linux-8 commented 7 months ago

openim_20240111.log

kubbot commented 7 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


openim_20240111.log

gll910802 commented 7 months ago

has been resolved?

skiffer-git commented 7 months ago

First, stop the related containers, then switch to a different directory, delete the images, and redeploy. https://docs.openim.io/guides/gettingStarted/dockerCompose