Skip to content

[plugins] Pin PLUGIN_FOLDER so install-plugin and gunicorn share it - #43

Open
frankrousseau wants to merge 1 commit into
cgwire:masterfrom
frankrousseau:fix-plugin-folder-env
Open

[plugins] Pin PLUGIN_FOLDER so install-plugin and gunicorn share it#43
frankrousseau wants to merge 1 commit into
cgwire:masterfrom
frankrousseau:fix-plugin-folder-env

Conversation

@frankrousseau

@frankrousseau frankrousseau commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Problem

  • PLUGIN_FOLDER defaults to $PWD/plugins; gunicorn runs with --chdir /opt/zou/zou while zou install-plugin runs from /opt/zou, so installed plugins land where the server never looks and their routes answer 404

Solution

  • Set PLUGIN_FOLDER=/opt/zou/plugins in the image environment

…me folder

PLUGIN_FOLDER defaults to the current working directory plus "plugins".
gunicorn runs with --chdir /opt/zou/zou while "zou install-plugin" runs
from WORKDIR /opt/zou, so an installed plugin lands in a folder the server
never reads and its routes answer 404.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FxXXyFAqwgagqnUxbBYR1v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant