Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugins don't work unless the 'plugins' variable is set #48

Closed
yGuy opened this issue Jul 25, 2023 · 2 comments
Closed

Plugins don't work unless the 'plugins' variable is set #48

yGuy opened this issue Jul 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@yGuy
Copy link
Owner

yGuy commented Jul 25, 2023

In code the plugins environment variable is checked, however the Dockerfile uses PLUGINS as the default, so by default neither the image nor the graph plugin are enabled.

if(!process.env.plugins || process.env.plugins.indexOf('graph-plugin') === -1)

ENV PLUGINS=image-plugin,graph-plugin

We should be using the upper case names in the code, too.

Workaround for now is to use plugin as environment variable name.

@yGuy yGuy added the bug Something isn't working label Jul 25, 2023
@yGuy
Copy link
Owner Author

yGuy commented Jul 25, 2023

More specifically, the graph-plugin and the image-plugin use the wrong env.plugins code :-( so by default they are disabled.

@yGuy yGuy self-assigned this Jul 26, 2023
@yGuy
Copy link
Owner Author

yGuy commented Jul 26, 2023

OK - this has to do with the upgrade to node 18. MM and FormData don't like Node 18

I guess we'll just have to rollback to node 16.

form-data/form-data#533

@yGuy yGuy closed this as completed in 473b827 Jul 26, 2023
takuya-o pushed a commit to takuya-o/chatgpt-mattermost-bot that referenced this issue Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant