open-im-server icon indicating copy to clipboard operation
open-im-server copied to clipboard

openim starts kafka and reports error bash: line 1: /opt/bitnami/kafka/create-topic.sh: Permission denied

Open 17674100338 opened this issue 1 year ago • 8 comments

OpenIM Server Version

3.8

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Docker Deployment

Bug Description and Steps to Reproduce

如图,kafka报错 图片

Screenshots Link

No response

17674100338 avatar Aug 23 '24 07:08 17674100338

重启docker后又有新报错 image

17674100338 avatar Aug 23 '24 10:08 17674100338

Please check whether the script has execution permission. Most likely it is because you transferred the code from Windows or other platforms to the server, which caused the script permission problem.

Bloomingg avatar Aug 23 '24 11:08 Bloomingg

请检查脚本是否有执行权限,很可能是您将代码从Windows或其他平台传输到服务器,导致脚本权限问题。

文件位置没有看到有这个脚本,脚本是在别的位置吗?我这个是直接docker打包传输过去的

17674100338 avatar Aug 25 '24 08:08 17674100338

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


Please check whether the script has execution permissions. It is likely that you transferred the code from Windows or other platforms to the server, causing script permission issues.

I don't see this script in the file location. Is the script located somewhere else? I packaged this directly with docker and transferred it there.

OpenIM-Robot avatar Aug 25 '24 08:08 OpenIM-Robot

请检查脚本是否有执行权限。最有可能是因为您将代码从 Windows 或其他平台传输到服务器,从而导致了脚本权限问题。

现在又是新的报错了 图片

17674100338 avatar Aug 28 '24 06:08 17674100338

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


Please check whether the script has execution permission. Most likely, you are transferring code from Windows or another platform to the server, causing a script permissions issue.

Now there is a new error Picture

OpenIM-Robot avatar Aug 28 '24 06:08 OpenIM-Robot

docker ps

skiffer-git avatar Sep 27 '24 11:09 skiffer-git

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


docker ps

OpenIM-Robot avatar Sep 27 '24 11:09 OpenIM-Robot

The new version has removed all scripts, so this issue will no longer exist.

skiffer-git avatar Nov 21 '24 11:11 skiffer-git