Why the plugin exited with error: exit status 255 after pre-loaded ? /app/internal/db/pgsql.go:259 record not found --Dify 1.1.3/ dify-plugin-daemon0.0.6 #71

Closed
opened 2026-02-16 00:19:36 -05:00 by yindo · 2 comments
Owner

Originally created by @wx119140864 on GitHub (Mar 29, 2025).

2025-03-29T04:46:42.246219258Z 2025/03/29 04:46:42 environment_python.go:320: [INFO]pre-loaded the plugin langgenius/gpustack:0.0.5
2025-03-29T04:46:43.618255563Z 2025/03/29 04:46:43 run.go:143: [INFO]plugin langgenius/gpustack:0.0.5 started
2025-03-29T04:46:43.618785378Z
2025-03-29T04:46:43.618791146Z 2025/03/29 04:46:43 /app/internal/db/pgsql.go:259 record not found
2025-03-29T04:46:43.618793657Z [1.739ms] [rows:0] SELECT * FROM "plugin_installations" WHERE plugin_id = 'langgenius/gpustack' AND tenant_id = 'f5511f45-7054-4aea-8c62-1093497b61e3' ORDER BY "plugin_installations"."id" LIMIT 1
2025-03-29T04:46:43.620818458Z
2025-03-29T04:46:43.620831290Z 2025/03/29 04:46:43 /app/internal/db/pgsql.go:259 record not found
2025-03-29T04:46:43.620834362Z [1.295ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/gpustack:0.0.5@ce1760e62965f91af22a1e83818e5de4c9311a3f9fb1774cf48da90eea2c0dc4' AND plugin_id = 'langgenius/gpustack' AND install_type = 'local' ORDER BY "plugins"."id" LIMIT 1 FOR UPDATE
2025-03-29T04:46:44.848732310Z 2025/03/29 04:46:44 stdio_handle.go:128: [INFO]plugin langgenius/gpustack:0.0.5: Installed model: gpustack
2025-03-29T04:46:45.356286256Z 2025/03/29 04:46:45 run.go:131: [ERROR]plugin langgenius/gpustack:0.0.5 exited with error: exit status 255
2025-03-29T04:46:45.356306780Z
2025-03-29T04:46:45.356309436Z
2025-03-29T04:46:45.356311475Z 2025/03/29 04:46:45 run.go:186: [INFO]plugin langgenius/gpustack:0.0.5 stopped

Originally created by @wx119140864 on GitHub (Mar 29, 2025). 2025-03-29T04:46:42.246219258Z 2025/03/29 04:46:42 environment_python.go:320: [INFO]pre-loaded the plugin langgenius/gpustack:0.0.5 2025-03-29T04:46:43.618255563Z 2025/03/29 04:46:43 run.go:143: [INFO]plugin langgenius/gpustack:0.0.5 started 2025-03-29T04:46:43.618785378Z 2025-03-29T04:46:43.618791146Z 2025/03/29 04:46:43 /app/internal/db/pgsql.go:259 record not found 2025-03-29T04:46:43.618793657Z [1.739ms] [rows:0] SELECT * FROM "plugin_installations" WHERE plugin_id = 'langgenius/gpustack' AND tenant_id = 'f5511f45-7054-4aea-8c62-1093497b61e3' ORDER BY "plugin_installations"."id" LIMIT 1 2025-03-29T04:46:43.620818458Z 2025-03-29T04:46:43.620831290Z 2025/03/29 04:46:43 /app/internal/db/pgsql.go:259 record not found 2025-03-29T04:46:43.620834362Z [1.295ms] [rows:0] SELECT * FROM "plugins" WHERE plugin_unique_identifier = 'langgenius/gpustack:0.0.5@ce1760e62965f91af22a1e83818e5de4c9311a3f9fb1774cf48da90eea2c0dc4' AND plugin_id = 'langgenius/gpustack' AND install_type = 'local' ORDER BY "plugins"."id" LIMIT 1 FOR UPDATE 2025-03-29T04:46:44.848732310Z 2025/03/29 04:46:44 stdio_handle.go:128: [INFO]plugin langgenius/gpustack:0.0.5: Installed model: gpustack 2025-03-29T04:46:45.356286256Z 2025/03/29 04:46:45 run.go:131: [ERROR]plugin langgenius/gpustack:0.0.5 exited with error: exit status 255 2025-03-29T04:46:45.356306780Z 2025-03-29T04:46:45.356309436Z 2025-03-29T04:46:45.356311475Z 2025/03/29 04:46:45 run.go:186: [INFO]plugin langgenius/gpustack:0.0.5 stopped
yindo closed this issue 2026-02-16 00:19:36 -05:00
Author
Owner

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

You need to look into the plugin, it may fails due to its syntax/environment, but I'm not sure what's yours

@Yeuoly commented on GitHub (Mar 30, 2025): You need to look into the plugin, it may fails due to its syntax/environment, but I'm not sure what's yours
Author
Owner

@wx119140864 commented on GitHub (Apr 1, 2025):

@Yeuoly Thanks for your reply! I’ve solved the problem, after restoring default settings for the container dify-plugin-daemon0.0.6!

@wx119140864 commented on GitHub (Apr 1, 2025): @Yeuoly Thanks for your reply! I’ve solved the problem, after restoring default settings for the container dify-plugin-daemon0.0.6!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#71