langgenius/dify-plugin-daemon:0.0.6-local docker容器日志 #67

Closed
opened 2026-02-16 00:19:35 -05:00 by yindo · 5 comments
Owner

Originally created by @zxjzzz on GitHub (Mar 26, 2025).

2025/03/27 03:15:34 run.go:131: [ERROR]plugin langgenius/openai:0.0.13 exited with error: exit status 1
pp/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aacc
dbf1
98
0
d10
71
5
50
7
67
d
6
c59
e
9d
9
3
88
d
d38
6a9
2e9f6/.venv/bin/python'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable =
'/app/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6/.venv/bin/python'
sys.base_prefix = '/usr'

sys.base_exec_prefix = '/usr'
sys.platlibdir =
'lib'
sys.executable = '/app/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6/.venv/bin/python'
sys.prefix =
'/usr'
sys.exec_prefix = '/usr'

sys.path = [
'/usr/lib/python310.zip',

'/usr/lib/python3.10',
'/usr/lib/lib-dynload',

]

Fatal Python error:
init_fs_encoding: failed to get the Python codec of the filesystem encoding

Python runtime state: core initialized

ModuleNotFoundError
No module named 'encodings'

Current thread 0x00007f2b1d76a080 (most recent call first):

2025/03/27 03:15:34 run.go:186: [INFO]plugin langgenius/openai:0.0.13 stopped

报错

Originally created by @zxjzzz on GitHub (Mar 26, 2025). 2025/03/27 03:15:34 run.go:131: [ERROR]plugin langgenius/openai:0.0.13 exited with error: exit status 1 pp/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aacc dbf1 98 0 d10 71 5 50 7 67 d 6 c59 e 9d 9 3 88 d d38 6a9 2e9f6/.venv/bin/python' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = '/app/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6/.venv/bin/python' sys.base_prefix = '/usr' sys.base_exec_prefix = '/usr' sys.platlibdir = 'lib' sys.executable = '/app/storage/cwd/langgenius/openai-0.0.13@9caa0421b5519db036aaccdbf1980d1071550767d6c59e9d9388dd386a92e9f6/.venv/bin/python' sys.prefix = '/usr' sys.exec_prefix = '/usr' sys.path = [ '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/lib-dynload', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError : No module named 'encodings' Current thread 0x00007f2b1d76a080 (most recent call first): <no Python frame> 2025/03/27 03:15:34 run.go:186: [INFO]plugin langgenius/openai:0.0.13 stopped 报错
yindo closed this issue 2026-02-16 00:19:35 -05:00
Author
Owner

@Yeuoly commented on GitHub (Mar 28, 2025):

Are you trying to change the python version? the python inside docker container should be 3.12 by default, but looks like you are using 3.10 instead

@Yeuoly commented on GitHub (Mar 28, 2025): Are you trying to change the python version? the python inside docker container should be 3.12 by default, but looks like you are using 3.10 instead
Author
Owner

@ChiayenGu commented on GitHub (Apr 2, 2025):

the same question

Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server.

Steps Taken:

Stopped the plugin container and deleted the entire plugin_daemon directory.

Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment).

Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory.

Restarted the container and successfully reinstalled plugins locally.

Observation:
The workaround resolved the issue, though the exact root cause remains unclear.

@ChiayenGu commented on GitHub (Apr 2, 2025): the same question Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server. Steps Taken: Stopped the plugin container and deleted the entire plugin_daemon directory. Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment). Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory. Restarted the container and successfully reinstalled plugins locally. Observation: The workaround resolved the issue, though the exact root cause remains unclear.
Author
Owner

@zxjzzz commented on GitHub (Apr 3, 2025):

the same question
Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server.
Steps Taken:
Stopped the plugin container and deleted the entire plugin_daemon directory.
Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment).
Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory.
Restarted the container and successfully reinstalled plugins locally.
Observation: The workaround resolved the issue, though the exact root cause remains unclear.

Offline SUCESS INSTALL ! ERROR AGAIN!!!!

镜像的问题 重新打一个镜像吧

@zxjzzz commented on GitHub (Apr 3, 2025): > > the same question > > Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server. > > Steps Taken: > > Stopped the plugin container and deleted the entire plugin_daemon directory. > > Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment). > > Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory. > > Restarted the container and successfully reinstalled plugins locally. > > Observation: The workaround resolved the issue, though the exact root cause remains unclear. > > Offline SUCESS INSTALL ! ERROR AGAIN!!!! 镜像的问题 重新打一个镜像吧
Author
Owner

@zxjzzz commented on GitHub (Apr 3, 2025):

the same question
Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server.
Steps Taken:
Stopped the plugin container and deleted the entire plugin_daemon directory.
Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment).
Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory.
Restarted the container and successfully reinstalled plugins locally.
Observation: The workaround resolved the issue, though the exact root cause remains unclear.

Offline SUCESS INSTALL ! ERROR AGAIN!!!!

镜像的问题 重新打一个镜像吧

我重新打了一个镜像 好了 可能docker 远程的镜像有问题

@zxjzzz commented on GitHub (Apr 3, 2025): > > > the same question > > > Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server. > > > Steps Taken: > > > Stopped the plugin container and deleted the entire plugin_daemon directory. > > > Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment). > > > Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory. > > > Restarted the container and successfully reinstalled plugins locally. > > > Observation: The workaround resolved the issue, though the exact root cause remains unclear. > > > > > > Offline SUCESS INSTALL ! ERROR AGAIN!!!! > > 镜像的问题 重新打一个镜像吧 我重新打了一个镜像 好了 可能docker 远程的镜像有问题
Author
Owner

@elepherai commented on GitHub (Apr 3, 2025):

the same question
Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server.
Steps Taken:
Stopped the plugin container and deleted the entire plugin_daemon directory.
Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment).
Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory.
Restarted the container and successfully reinstalled plugins locally.
Observation: The workaround resolved the issue, though the exact root cause remains unclear.

Offline SUCESS INSTALL ! ERROR AGAIN!!!!

镜像的问题 重新打一个镜像吧

我重新打了一个镜像 好了 可能docker 远程的镜像有问题

感谢!!!你也是从机器A迁移到离线的机器B吗?

我试试,有消息回复

我也是一样的问题, 请问你解决了吗?我重新commit容器为一个新的镜像,而且把db和插件文件夹也打包到离线环境了,还是报一样的错

@elepherai commented on GitHub (Apr 3, 2025): > > > > > the same question > > > > > Attempting to migrate a pre-configured Dify instance (with installed plugins) and its persistent storage to an air-gapped internal network server. > > > > > Steps Taken: > > > > > Stopped the plugin container and deleted the entire plugin_daemon directory. > > > > > Restarted the container and attempted local plugin installation. Failed due to network restrictions (no external internet access in the isolated environment). > > > > > Stopped the container again, then manually copied the .venv folder to the corresponding CWD directory. > > > > > Restarted the container and successfully reinstalled plugins locally. > > > > > Observation: The workaround resolved the issue, though the exact root cause remains unclear. > > > > > > > > > > > > Offline SUCESS INSTALL ! ERROR AGAIN!!!! > > > > > > > > > 镜像的问题 重新打一个镜像吧 > > > > > > 我重新打了一个镜像 好了 可能docker 远程的镜像有问题 > > 感谢!!!你也是从机器A迁移到离线的机器B吗? > > 我试试,有消息回复 我也是一样的问题, 请问你解决了吗?我重新commit容器为一个新的镜像,而且把db和插件文件夹也打包到离线环境了,还是报一样的错
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#67